Closed Bug 2076809 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63109 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325799

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
159 Branch
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 contexts

A 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>

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

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

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
You need to log in before you can comment on or make changes to this bug.