Add Web Platform Tests (WPT) for the browser.publicSuffix WebExtensions APIs
Categories
(WebExtensions :: General, task, P3)
Tracking
(firefox163 fixed)
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: kzar, Assigned: kzar)
References
Details
(Whiteboard: [addons-jira], [wptsync upstream])
Attachments
(1 external file)
The browser.publicSuffix WebExtensions API is now available for Chrome and Firefox, and we have already found a few inconsistencies between the implementations. Let's add Web Platform Tests (WPT) based on the examples in the API proposal document to help avoid further differences.
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Several inconsistencies between the Chromium and Firefox implementation of the
browser.publicSuffix WebExtensions API have come up at this point, it seems
worth adding some WPT now that those are fixed.
Depends on D330807
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
For reference, I ran these tests against Firefox and Chrome with the following commands:
# Firefox
./mach wpt --headless testing/web-platform/tests/web-extensions/browser.publicSuffix.extension.js
# Chrome
./mach wpt --headless --product chrome --binary "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" testing/web-platform/tests/web-extensions/browser.publicSuffix.extension.js
That only resulted in one failure, for the [".example.com", "Dot in front"] case, on Chrome. That's expected, since the fix in Chromium only landed recently and hasn't made it to stable versions of Chrome yet.
Comment 4•3 days ago
|
||
| bugherder | ||
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/65564 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Description
•