Closed Bug 2077286 Opened 1 month ago Closed 3 days ago

Add Web Platform Tests (WPT) for the browser.publicSuffix WebExtensions APIs

Categories

(WebExtensions :: General, task, P3)

task

Tracking

(firefox163 fixed)

RESOLVED FIXED
163 Branch
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.

Depends on: 2077408

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

Severity: -- → N/A
Priority: -- → P3

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.

Status: NEW → RESOLVED
Closed: 3 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/65564 for changes under testing/web-platform/tests

Whiteboard: [addons-jira] → [addons-jira], [wptsync upstream]

Upstream PR merged by moz-wptsync-bot

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: