[wpt-sync] Sync PR 63109 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325799
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63109 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63109
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325799
WebKit export from bug: Origin-Agent-Cluster should be ignored in non-secure contexts
<pre>
Origin-Agent-Cluster should be ignored in non-secure contextsA document can only request an origin-keyed agent cluster when the reserved
environment of its navigation is a secure context, which depends on the
environment's top-level creation URL. We only checked the response URL, so an
HTTPS document in an HTTP page was origin-keyed when it asked for it:
window.originAgentCluster returned true while window.isSecureContext returned
false, and document.domain did nothing.With site isolation, a document that loads in another process is created in
the WebFrame's provisional frame, which WebFrame::didReceivePolicyDecision()
skipped, so it was never origin-keyed.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=325799">https://bugs.webkit.org/show_bug.cgi?id=325799</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=99188
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 70 tests and 13 subtests
Status Summary
Firefox
OK : 3[GitHub] 67[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 4[GitHub] 369[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 3
Chrome
OK : 3
PASS: 3
FAIL: 4
Safari
OK : 3
PASS: 5
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/browsers/origin/origin-keyed-agent-clusters/regression-1399759.https.sub.html?pipe=header(Origin-Agent-Cluster,%3F1) [wpt.fyi]:
SKIP - /html/browsers/origin/origin-keyed-agent-clusters/regression-1399759.https.sub.html?pipe=header(Origin-Agent-Cluster,%3F0) [wpt.fyi]:
SKIP - /html/browsers/origin/origin-keyed-agent-clusters/insecure-http-parent-https-children.sub.html [wpt.fyi]
- setting document.domain must give sync access:
FAIL(Chrome:FAIL, Safari:PASS) - child1: originAgentCluster must equal false:
FAIL(Chrome:FAIL, Safari:PASS) - child2: originAgentCluster must equal false:
FAIL(Chrome:FAIL, Safari:PASS)
- setting document.domain must give sync access:
Tests Disabled in Gecko Infrastructure
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/78231ddcde50
https://hg.mozilla.org/mozilla-central/rev/c48f1bf1e947
Description
•