Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add web platform tests for WebExtensions API in WebDriver Classic #49786

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elijahsawyers
Copy link

This patch adds web platform tests for the new WebExtensions API to be introduced in WebDriver classic.

These tests cover both loading and unloading web extensions, including success and error cases.

WebKit Bugzilla Bug: https://bugs.webkit.org/show_bug.cgi?id=284922

This patch adds web platform tests for the new WebExtensions API to be
introduced in WebDriver classic.

These tests cover both loading and unloading web extensions, including
success and error cases.

WebKit Bugzilla Bug: https://bugs.webkit.org/show_bug.cgi?id=284922
kiaraarose added a commit to kiaraarose/webdriver that referenced this pull request Dec 19, 2024
…sic.

This is a pre-requisite to adding support for cross browser testing for web extensions.
PR to test these new commands in WPT: web-platform-tests/wpt#49786
@@ -0,0 +1 @@
console.log("Hello, world!");
Copy link

@xeenon xeenon Dec 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is minor, but it might be better to use the browser.test.log method — as we plan to use the rest of the test namespace in these test extensions.

Suggested change
console.log("Hello, world!");
browser.test.log("Hello, world!");

kiaraarose added a commit to kiaraarose/webdriver that referenced this pull request Dec 19, 2024
…sic.

This is a pre-requisite to adding support for cross browser testing for web extensions.
PR to test these new commands in WPT: web-platform-tests/wpt#49786
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants