[Origin API] Add more test coverage for opaque origin comparison #56922
Community-TC (pull_request)
Collect results for all tests affected by a pull request in firefox but without the changes in the PR.
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-01-08T14:59:06.373Z
Resolved: 2026-01-08T15:01:48.069Z
Task Execution Time: 2 minutes, 41 seconds, 696 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
- public/results/wpt_report.json.gz
- public/results/wpt_screenshot.txt.gz
WPT Command: python3 ./wpt run --channel=nightly --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected task_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --verify-log-full --no-headless --binary=/home/test/build/firefox/firefox firefox
[taskcluster 2026-01-08 14:59:06.439Z] Task ID: LyqZpWafQvCWqv8cok_8uw
[taskcluster 2026-01-08 14:59:06.439Z] Worker ID: 4480558273374940501
[taskcluster 2026-01-08 14:59:06.439Z] Worker Group: us-east1-c
[taskcluster 2026-01-08 14:59:06.439Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2026-01-08 14:59:06.439Z] Worker Pool: proj-wpt/ci
[taskcluster 2026-01-08 14:59:06.439Z] Worker Version: 46.1.0
[taskcluster 2026-01-08 14:59:06.439Z] Public IP: 34.75.145.159
[taskcluster 2026-01-08 14:59:06.439Z] Hostname: proj-wpt-ci-dw4lk7hcs-yqttheuk0pwa
[taskcluster 2026-01-08 14:59:07.507Z] === Task Starting ===
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/01-locale-fix.sh ']'
+ . /etc/profile.d/01-locale-fix.sh
+++ /usr/bin/locale-check C.UTF-8
++ eval
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/apps-bin-path.sh ']'
+ . /etc/profile.d/apps-bin-path.sh
...(2845 lines hidden)...
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:11:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("weird-hierarchical-protocol://host/path?etc") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:12:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:11:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("blob:weird-protocol:whatever") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:12:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:11:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("blob:weird-hierarchical-protocol://host/path?etc") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:12:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:11:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("http://site.example") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("https://site.example") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("https://site.example:123") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("http://sub.site.example") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("https://sub.site.example") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("https://sub.site.example:123") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("https://xn--mlauted-m2a.example") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("ftp://ftp.example") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("ws://ws.example") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("wss://wss.example") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("https://trailing.slash/") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("https://user:pass@site.example") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("https://has.a.port:1234/and/path") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("https://ümlauted.example") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("file:///path/to/a/file.txt") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("blob:https://example.com/some-guid") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("ftp://example.com/") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("https://example.com/path?query#fragment") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("https://127.0.0.1/") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
FAIL Origin.from("https://[::1]/") is an opaque origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:20:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.js:19:7
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-url.any.worker.js:10:14
/html/browsers/origin/api/origin-from-window.window.html
FAIL Origin.from(window) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-window.window.js:5:18
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-window.window.js:4:5
FAIL Origin.from(Window) returns a tuple origin for same-origin frames. - Origin is not defined
el.onload<@http://web-platform.test:8000/html/browsers/origin/api/origin-from-window.window.js:15:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
Test.prototype.step_func_done/<@http://web-platform.test:8000/resources/testharness.js:2944:32
FAIL Origin.from(Window) throws for cross-origin frames. - assert_throws_js: function "_ => Origin.from(el.contentWindow)" threw object "ReferenceError: Origin is not defined" ("ReferenceError") expected instance of function "function TypeError() {
[native code]
}" ("TypeError")
el.onload<@http://web-platform.test:8000/html/browsers/origin/api/origin-from-window.window.js:27:21
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
Test.prototype.step_func_done/<@http://web-platform.test:8000/resources/testharness.js:2944:32
FAIL Origin.from(Window) throws for sandboxed frames. - assert_throws_js: function "_ => Origin.from(el.contentWindow)" threw object "ReferenceError: Origin is not defined" ("ReferenceError") expected instance of function "function TypeError() {
[native code]
}" ("TypeError")
el.onload<@http://web-platform.test:8000/html/browsers/origin/api/origin-from-window.window.js:37:21
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
Test.prototype.step_func_done/<@http://web-platform.test:8000/resources/testharness.js:2944:32
FAIL Origin.from(Window) returns a tuple origin for same-origin windows. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-window.window.js:47:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:2916:35
FAIL Origin.from(Window) throws for cross-origin windows. - assert_throws_js: function "_ => Origin.from(w)" threw object "ReferenceError: Origin is not defined" ("ReferenceError") expected instance of function "function TypeError() {
[native code]
}" ("TypeError")
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-window.window.js:60:23
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2869:25
Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:2916:35
/html/browsers/origin/api/origin-from.any.worker.html
ERROR /html/browsers/origin/api/origin-from.any.worker.html - ReferenceError: Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from.any.js:15:3
@http://web-platform.test:8000/html/browsers/origin/api/origin-from.any.worker.js:10:14
/html/browsers/origin/api/origin-from.any.html
ERROR /html/browsers/origin/api/origin-from.any.html - ReferenceError: Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from.any.js:15:3
1:22.33 INFO Got 12 unexpected results, with 0 unexpected passes
1:22.34 wptserve INFO Stopped http server on 127.0.0.1:8002
1:22.34 wptserve INFO Stopped http server on 127.0.0.1:8003
1:22.34 wptserve INFO Stopped http server on 127.0.0.1:8443
1:22.35 wptserve INFO Stopped http server on 127.0.0.1:8000
1:22.35 wptserve INFO Stopped http server on 127.0.0.1:8001
1:22.35 wptserve INFO Stopped http server on 127.0.0.1:8444
1:22.35 wptserve INFO Stopped http server on 127.0.0.1:8446
1:22.35 wptserve INFO Stopped http server on 127.0.0.1:8445
1:22.35 wptserve INFO Stopped http server on 127.0.0.1:9000
1:22.35 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
1:22.68 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
1:22.68 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
1:22.74 INFO Removed font: Ahem.ttf
1:22.77 INFO Closing logging queue
1:22.78 INFO queue closed
1:22.78 INFO Tolerating 12 unexpected results
[taskcluster 2026-01-08 15:01:45.023Z] === Task Finished ===
[taskcluster 2026-01-08 15:01:46.115Z] Successful task run with exit code: 0 completed in 159.677 seconds