[Origin API] .from() should throw on <a> and <area>.
#56522
Community-TC (pull_request)
Verify that all tests affected by a pull request are stable when executed in firefox.
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2025-12-05T12:50:48.787Z
Resolved: 2025-12-05T12:52:54.128Z
Task Execution Time: 2 minutes, 5 seconds, 341 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
WPT Command: python3 ./wpt run --channel=nightly --verify --verify-no-chaos-mode --verify-repeat-loop=0 --verify-repeat-restart=10 --github-checks-text-file=/home/test/artifacts/checkrun.md --affected base_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 2025-12-05 12:50:48.858Z] Task ID: UdfYvIavRW-KKAl7RDAe-w
[taskcluster 2025-12-05 12:50:48.858Z] Worker ID: 3002670218773034943
[taskcluster 2025-12-05 12:50:48.858Z] Worker Group: us-central1-a
[taskcluster 2025-12-05 12:50:48.858Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2025-12-05 12:50:48.858Z] Worker Pool: proj-wpt/ci
[taskcluster 2025-12-05 12:50:48.858Z] Worker Version: 46.1.0
[taskcluster 2025-12-05 12:50:48.858Z] Public IP: 136.119.66.101
[taskcluster 2025-12-05 12:50:48.858Z] Hostname: proj-wpt-ci-aelij7xetcainfmxl5znog
[taskcluster 2025-12-05 12:50:49.786Z] === 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
...(30847 lines hidden)...
FAIL Origin.from(<area href="ws://ws.example">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:48: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-htmlhyperlinkelementutils.window.js:45:7
FAIL Origin.from(<a href="wss://wss.example">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:39: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-htmlhyperlinkelementutils.window.js:36:7
FAIL Origin.from(<area href="wss://wss.example">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:48: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-htmlhyperlinkelementutils.window.js:45:7
FAIL Origin.from(<a href="https://trailing.slash/">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:39: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-htmlhyperlinkelementutils.window.js:36:7
FAIL Origin.from(<area href="https://trailing.slash/">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:48: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-htmlhyperlinkelementutils.window.js:45:7
FAIL Origin.from(<a href="https://user:pass@site.example">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:39: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-htmlhyperlinkelementutils.window.js:36:7
FAIL Origin.from(<area href="https://user:pass@site.example">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:48: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-htmlhyperlinkelementutils.window.js:45:7
FAIL Origin.from(<a href="https://has.a.port:1234/and/path">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:39: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-htmlhyperlinkelementutils.window.js:36:7
FAIL Origin.from(<area href="https://has.a.port:1234/and/path">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:48: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-htmlhyperlinkelementutils.window.js:45:7
FAIL Origin.from(<a href="https://ümlauted.example">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:39: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-htmlhyperlinkelementutils.window.js:36:7
FAIL Origin.from(<area href="https://ümlauted.example">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:48: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-htmlhyperlinkelementutils.window.js:45:7
FAIL Origin.from(<a href="file:///path/to/a/file.txt">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:39: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-htmlhyperlinkelementutils.window.js:36:7
FAIL Origin.from(<area href="file:///path/to/a/file.txt">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:48: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-htmlhyperlinkelementutils.window.js:45:7
FAIL Origin.from(<a href="blob:https://example.com/some-guid">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:39: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-htmlhyperlinkelementutils.window.js:36:7
FAIL Origin.from(<area href="blob:https://example.com/some-guid">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:48: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-htmlhyperlinkelementutils.window.js:45:7
FAIL Origin.from(<a href="ftp://example.com/">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:39: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-htmlhyperlinkelementutils.window.js:36:7
FAIL Origin.from(<area href="ftp://example.com/">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:48: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-htmlhyperlinkelementutils.window.js:45:7
FAIL Origin.from(<a href="https://example.com/path?query#fragment">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:39: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-htmlhyperlinkelementutils.window.js:36:7
FAIL Origin.from(<area href="https://example.com/path?query#fragment">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:48: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-htmlhyperlinkelementutils.window.js:45:7
FAIL Origin.from(<a href="https://127.0.0.1/">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:39: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-htmlhyperlinkelementutils.window.js:36:7
FAIL Origin.from(<area href="https://127.0.0.1/">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:48: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-htmlhyperlinkelementutils.window.js:45:7
FAIL Origin.from(<a href="https://[::1]/">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:39: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-htmlhyperlinkelementutils.window.js:36:7
FAIL Origin.from(<area href="https://[::1]/">) returns a tuple origin. - Origin is not defined
@http://web-platform.test:8000/html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.js:48: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-htmlhyperlinkelementutils.window.js:45:7
0:56.48 INFO Got 10 unexpected results, with 0 unexpected passes
0:56.48 wptserve INFO Stopped http server on 127.0.0.1:8000
0:56.48 wptserve INFO Stopped http server on 127.0.0.1:8001
0:56.48 wptserve INFO Stopped http server on 127.0.0.1:8003
0:56.48 wptserve INFO Stopped http server on 127.0.0.1:8002
0:56.48 wptserve INFO Stopped http server on 127.0.0.1:8445
0:56.48 wptserve INFO Stopped http server on 127.0.0.1:8444
0:56.49 wptserve INFO Stopped http server on 127.0.0.1:8443
0:56.49 wptserve INFO Stopped http server on 127.0.0.1:8446
0:56.49 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
0:56.49 wptserve INFO Stopped http server on 127.0.0.1:9000
0:56.79 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:56.80 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:56.84 INFO Removed font: Ahem.ttf
0:56.86 INFO Closing logging queue
0:56.86 INFO queue closed
0:56.87 INFO ::: Ran 10 of expected 10 iterations.
0:56.87 INFO ## All results ##
0:56.87 INFO ### /html/browsers/origin/api/origin-from-htmlhyperlinkelementutils.window.html ###
0:56.87 INFO | Subtest | Results | Messages |
0:56.87 INFO |---------------------------------------------------------------------------------------------------------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
0:56.87 INFO | | OK | |
0:56.87 INFO | `Origin.from(<a>) throws.` | FAIL | `assert_throws_js: function "_ => Origin.from(invalid)" threw object "ReferenceError: Origin is not defined" ("ReferenceError") expected instance of function "function TypeError() {\n [native code]\n}" ("TypeError")` |
0:56.87 INFO | `Origin.from(<area>) throws.` | FAIL | `assert_throws_js: function "_ => Origin.from(invalid)" threw object "ReferenceError: Origin is not defined" ("ReferenceError") expected instance of function "function TypeError() {\n [native code]\n}" ("TypeError")` |
0:56.87 INFO | `Origin.from(<a href="about:blank">) returns an opaque origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="about:blank">) returns an opaque origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="data:text/plain,opaque">) returns an opaque origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="data:text/plain,opaque">) returns an opaque origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="weird-protocol:whatever">) returns an opaque origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="weird-protocol:whatever">) returns an opaque origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="blob:weird-protocol:whatever">) returns an opaque origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="blob:weird-protocol:whatever">) returns an opaque origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="blob:weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="blob:weird-hierarchical-protocol://host/path?etc">) returns an opaque origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="http://site.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="http://site.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="https://site.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="https://site.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="https://site.example:123">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="https://site.example:123">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="http://sub.site.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="http://sub.site.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="https://sub.site.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="https://sub.site.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="https://sub.site.example:123">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="https://sub.site.example:123">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="https://xn--mlauted-m2a.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="https://xn--mlauted-m2a.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="ftp://ftp.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="ftp://ftp.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="ws://ws.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="ws://ws.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="wss://wss.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="wss://wss.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="https://trailing.slash/">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="https://trailing.slash/">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="https://user:pass@site.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="https://user:pass@site.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="https://has.a.port:1234/and/path">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="https://has.a.port:1234/and/path">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="https://ümlauted.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="https://ümlauted.example">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="file:///path/to/a/file.txt">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="file:///path/to/a/file.txt">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="blob:https://example.com/some-guid">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<area href="blob:https://example.com/some-guid">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.87 INFO | `Origin.from(<a href="ftp://example.com/">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.88 INFO | `Origin.from(<area href="ftp://example.com/">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.88 INFO | `Origin.from(<a href="https://example.com/path?query#fragment">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.88 INFO | `Origin.from(<area href="https://example.com/path?query#fragment">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.88 INFO | `Origin.from(<a href="https://127.0.0.1/">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.88 INFO | `Origin.from(<area href="https://127.0.0.1/">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.88 INFO | `Origin.from(<a href="https://[::1]/">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.88 INFO | `Origin.from(<area href="https://[::1]/">) returns a tuple origin.` | FAIL | `Origin is not defined` |
0:56.88 INFO
0:56.88 INFO ::: Running tests in a loop with restarts 10 times : PASS
0:56.88 INFO :::
0:56.88 INFO ::: Test verification PASS
0:56.88 INFO :::
[taskcluster 2025-12-05 12:52:52.499Z] === Task Finished ===
[taskcluster 2025-12-05 12:52:52.876Z] Successful task run with exit code: 0 completed in 124.018 seconds