[wpt-sync] Sync PR 63961 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328274
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63961 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63961
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328274
WebKit export from bug: A frame that a replace navigation moves to another process has no navigation API entries
<pre>
A frame that a replace navigation moves to another process has no navigation API entriesWith site isolation, a subframe navigation that doesn't add a session history entry, such as one
from location.replace(), updates the frame's current history item. When the navigation moves the
frame to another process, that process has no history item for the frame, and as the frame's parent
is in another process, it doesn't create one either. So the new document's navigation.entries() was
empty and navigation.activation was null. Since <a href="https://commits.webkit.org/324264@main">324264@main</a> this also happens for
navigation.navigate() with history: "replace".For a main frame, the UI process gives the new process the current history item before such a load,
with a SetCurrentHistoryItemForReattach message. For a subframe it now passes the item in the
LoadParameters of the load, so the load updates the frame's item as it does when the frame stays in
its process. Using LoadParameters for the main frame will happen in subsequent change.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=328274">https://bugs.webkit.org/show_bug.cgi?id=328274</a>
</pre>
| Assignee | ||
Comment 1•1 month ago
|
||
PR 63961 applied with additional changes from upstream: 02f5da61b96a03debc12e3c6d37614ac504fd2d2, ee314e68f97daf421fcefd2448968efa77512014
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=112266
| Assignee | ||
Comment 3•1 month ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 227 tests
Status Summary
Firefox
OK : 2[GitHub] 217[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 218[Gecko-android-em-14-x86_64-debug-geckoview] 219[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 7[GitHub] 529[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] 530[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 2[GitHub] 100[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 101[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 2
NOTRUN : 5
Chrome
OK : 3
PASS : 12
FAIL : 3
Safari
OK : 3
PASS : 12
FAIL : 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /html/browsers/history/the-location-interface/location-replace-cross-site.html [wpt.fyi]:
TIMEOUT- location.replace() of a popup by its cross-site child:
TIMEOUT - location.replace() of a cross-site popup:
NOTRUN - location.replace() of a popup by the cross-site popup it opened:
NOTRUN - Setting location.href of a cross-site iframe:
NOTRUN - Setting location.href of a cross-site popup:
NOTRUN
- location.replace() of a popup by its cross-site child:
New Tests That Don't Pass
- /html/browsers/history/the-location-interface/location_replace_session_history.html [wpt.fyi]:
SKIP - /html/document-isolation-policy/reporting-cache-storage-corp.tentative.https.html [wpt.fyi]:
SKIP - /html/document-isolation-policy/reporting-subresource-corp.tentative.https.html [wpt.fyi]:
SKIP - /html/document-isolation-policy/service-worker-coep-credentialless-proxy.https.tentative.window.html [wpt.fyi]:
SKIP - /html/document-isolation-policy/service-worker-coep-none-proxy.https.tentative.window.html [wpt.fyi]:
SKIP - /navigation-api/navigation-methods/traverseTo-navigates-multiple-iframes.html [wpt.fyi]:
SKIP - /html/browsers/history/the-location-interface/location-ancestor-origins-referrerpolicy-unsupported-elements.html [wpt.fyi]
- <object> with referrerpolicy='no-referrer' ancestorOrigins must strictly equal [window.origin]:
FAIL
- <object> with referrerpolicy='no-referrer' ancestorOrigins must strictly equal [window.origin]:
- /html/browsers/history/the-location-interface/location-replace-cross-site.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:OK)- location.replace() of a popup by its cross-site child:
TIMEOUT(Chrome:PASS, Safari:PASS) - location.replace() of a cross-site popup:
NOTRUN(Chrome:PASS, Safari:PASS) - location.replace() of a popup by the cross-site popup it opened:
NOTRUN(Chrome:PASS, Safari:PASS) - Setting location.href of a cross-site iframe:
NOTRUN(Chrome:PASS, Safari:PASS) - Setting location.href of a cross-site popup:
NOTRUN(Chrome:PASS, Safari:PASS) - Setting location.href of a cross-site iframe that is not completely loaded:
NOTRUN(Chrome:FAIL, Safari:PASS)
- location.replace() of a popup by its cross-site child:
- /html/browsers/history/the-location-interface/no-browsing-context.window.html [wpt.fyi]
- Setting
hreftohttps://example.com/of aLocationobject sans browsing context is a no-op:FAIL - Setting
hrefto/of aLocationobject sans browsing context is a no-op:FAIL - Setting
hreftohttp://test:test/of aLocationobject sans browsing context is a no-op:FAIL - Setting
hreftotest testof aLocationobject sans browsing context is a no-op:FAIL - Setting
hreftotest:testof aLocationobject sans browsing context is a no-op:FAIL - Setting
hreftochrome:failof aLocationobject sans browsing context is a no-op:FAIL - Setting
protocoltohttpof aLocationobject sans browsing context is a no-op:FAIL - Setting
protocoltoaboutof aLocationobject sans browsing context is a no-op:FAIL - Setting
protocoltotestof aLocationobject sans browsing context is a no-op:FAIL - Setting
pathnameto/of aLocationobject sans browsing context is a no-op:FAIL - Setting
pathnametoxof aLocationobject sans browsing context is a no-op:FAIL - Setting
searchtotestof aLocationobject sans browsing context is a no-op:FAIL - Getting
originof aLocationobject sans browsing context should be "null":FAIL - Invoking
assignwithabout:blankon aLocationobject sans browsing context is a no-op:FAIL - Invoking
assignwithhttps://example.com/on aLocationobject sans browsing context is a no-op:FAIL - Invoking
assignwith/on aLocationobject sans browsing context is a no-op:FAIL - Invoking
assignwithhttp://test:test/on aLocationobject sans browsing context is a no-op:FAIL - Invoking
assignwithtest teston aLocationobject sans browsing context is a no-op:FAIL - Invoking
assignwithtest:teston aLocationobject sans browsing context is a no-op:FAIL - Invoking
assignwithchrome:failon aLocationobject sans browsing context is a no-op:FAIL - Invoking
replacewithabout:blankon aLocationobject sans browsing context is a no-op:FAIL - Invoking
replacewithhttps://example.com/on aLocationobject sans browsing context is a no-op:FAIL - Invoking
replacewith/on aLocationobject sans browsing context is a no-op:FAIL - Invoking
replacewithhttp://test:test/on aLocationobject sans browsing context is a no-op:FAIL - Invoking
replacewithtest teston aLocationobject sans browsing context is a no-op:FAIL - Invoking
replacewithtest:teston aLocationobject sans browsing context is a no-op:FAIL - Invoking
replacewithchrome:failon aLocationobject sans browsing context is a no-op:FAIL - Invoking
reloadwithabout:blankon aLocationobject sans browsing context is a no-op:FAIL - Invoking
reloadwithhttps://example.com/on aLocationobject sans browsing context is a no-op:FAIL - Invoking
reloadwith/on aLocationobject sans browsing context is a no-op:FAIL - Invoking
reloadwithhttp://test:test/on aLocationobject sans browsing context is a no-op:FAIL - Invoking
reloadwithtest teston aLocationobject sans browsing context is a no-op:FAIL - Invoking
reloadwithtest:teston aLocationobject sans browsing context is a no-op:FAIL - Invoking
reloadwithchrome:failon aLocationobject sans browsing context is a no-op:FAIL
- Setting
- /html/browsers/history/the-location-interface/per-global.window.html [wpt.fyi]
- Navigating from the initial about:blank must not replace window.location:
FAIL
- Navigating from the initial about:blank must not replace window.location:
- /html/browsers/history/the-location-interface/reload_document_write_onload.html [wpt.fyi]
- Reload document with document.written content written in load event:
FAIL
- Reload document with document.written content written in load event:
- /html/browsers/history/the-location-interface/scripted_click_location_assign_during_load.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview]- location.assign with click during load:
FAIL
- location.assign with click during load:
- /html/browsers/history/the-location-interface/security_location_0.htm [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[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] - /html/document-isolation-policy/agent-cluster.tentative.https.html [wpt.fyi]
- A document without a policy and a same-origin frame with one cannot access each other:
FAIL - A document with a policy cannot access a same-origin frame without one:
FAIL - An about:blank frame created by a document with a policy inherits it and can be accessed:
FAIL - Navigating the initial about:blank document of a popup to a same-origin document with a policy does not reuse its Window:
FAIL - A document without a policy and a same-origin popup with one cannot access each other:
FAIL - A document with a policy is in an origin-keyed agent cluster:
FAIL - A document without a policy cannot run a javascript: URL in a same-origin frame with one:
FAIL - A navigate event in a same-origin frame without a policy does not expose a link of a document with one as its sourceElement:
FAIL - A fragment navigation during a reload of a same-origin frame with a policy does not move the reloaded document into another agent cluster:
FAIL - Posting a WebAssembly.Module to a same-origin frame with a policy fails:
FAIL - A frame with a policy that is cross origin with a cross-origin isolated top-level document is not in the agent cluster of same-origin documents without one:
FAIL - A popup with a policy keeps it when its response switches browsing context groups:
FAIL
- A document without a policy and a same-origin frame with one cannot access each other:
- /html/document-isolation-policy/blob-document-inherits-policy.tentative.https.html [wpt.fyi]
- A blob: document created by a document with a policy inherits it:
FAIL - A blob: document created by a sandboxed document with a policy inherits it:
FAIL
- A blob: document created by a document with a policy inherits it:
- /html/document-isolation-policy/credentialless-cache-storage-from-credentialless.https.tentative.window.html?document [wpt.fyi]
- [document] isolate-and-credentialless => isolate-and-require-corp:
FAIL
- [document] isolate-and-credentialless => isolate-and-require-corp:
- /html/document-isolation-policy/credentialless-cache-storage-from-credentialless.https.tentative.window.html?dedicated_worker [wpt.fyi]
- [dedicated_worker] isolate-and-credentialless => isolate-and-require-corp:
FAIL
- [dedicated_worker] isolate-and-credentialless => isolate-and-require-corp:
- /html/document-isolation-policy/credentialless-cache-storage-from-credentialless.https.tentative.window.html?shared_worker [wpt.fyi]
- [shared_worker] isolate-and-credentialless => isolate-and-require-corp:
FAIL
- [shared_worker] isolate-and-credentialless => isolate-and-require-corp:
- /html/document-isolation-policy/credentialless-cache-storage-from-credentialless.https.tentative.window.html?service_worker [wpt.fyi]
- [service_worker] isolate-and-credentialless => isolate-and-require-corp:
FAIL
- [service_worker] isolate-and-credentialless => isolate-and-require-corp:
- /html/document-isolation-policy/credentialless-cache-storage-from-none.https.tentative.window.html?dedicated_worker [wpt.fyi]
- [dedicated_worker] none => isolate-and-credentialless:
FAIL - [dedicated_worker] none => isolate-and-require-corp:
FAIL - [dedicated_worker] none => isolate-and-require-corp (omit):
FAIL
- [dedicated_worker] none => isolate-and-credentialless:
- /html/document-isolation-policy/credentialless-cache-storage-from-none.https.tentative.window.html?service_worker [wpt.fyi]
- [service_worker] none => isolate-and-credentialless:
FAIL - [service_worker] none => isolate-and-require-corp:
FAIL - [service_worker] none => isolate-and-require-corp (omit):
FAIL
- [service_worker] none => isolate-and-credentialless:
- /html/document-isolation-policy/credentialless-cache-storage-from-none.https.tentative.window.html?shared_worker [wpt.fyi]
- [shared_worker] none => isolate-and-credentialless:
FAIL - [shared_worker] none => isolate-and-require-corp:
FAIL - [shared_worker] none => isolate-and-require-corp (omit):
FAIL
- [shared_worker] none => isolate-and-credentialless:
- /html/document-isolation-policy/credentialless-cache-storage-from-none.https.tentative.window.html?document [wpt.fyi]
- [document] none => isolate-and-credentialless:
FAIL - [document] none => isolate-and-require-corp:
FAIL - [document] none => isolate-and-require-corp (omit):
FAIL
- [document] none => isolate-and-credentialless:
- /html/document-isolation-policy/credentialless-cache.tentative.window.html [wpt.fyi]
- The HTTP cache must not be used:
FAIL
- The HTTP cache must not be used:
- /html/document-isolation-policy/credentialless-cross-origin-isolated.tentative.window.html [wpt.fyi]
- Main crossOriginIsolated case::
FAIL - Report-only + enforced::
FAIL
- Main crossOriginIsolated case::
- /html/document-isolation-policy/credentialless-dedicated-worker.https.tentative.window.html [wpt.fyi]
- fetch cross-origin + credentialless worker:
FAIL
- fetch cross-origin + credentialless worker:
- /html/document-isolation-policy/credentialless-fetch.https.tentative.window.html [wpt.fyi]
- fetch cross-origin + no-cors + credentials:include:
FAIL
- fetch cross-origin + no-cors + credentials:include:
- /html/document-isolation-policy/credentialless-link.https.tentative.window.html [wpt.fyi]
- link cross-origin + undefined:
FAIL
- link cross-origin + undefined:
- /html/document-isolation-policy/credentialless-redirect.tentative.window.html [wpt.fyi]
- same-origin -> cross-origin:
FAIL - cross-origin -> same-origin:
FAIL - cross-origin -> cross-origin:
FAIL
- same-origin -> cross-origin:
- /html/document-isolation-policy/credentialless-script.https.tentative.window.html [wpt.fyi]
- script cross-origin + undefined:
FAIL
- script cross-origin + undefined:
- /html/document-isolation-policy/credentialless-service-worker.https.tentative.window.html [wpt.fyi]
- fetch cross-origin + credentialless worker:
FAIL
- fetch cross-origin + credentialless worker:
- /html/document-isolation-policy/credentialless-shared-worker.https.tentative.window.html?request_origin=cross_origin&worker_dip=credentialless&window_dip=credentialless [wpt.fyi]
- credentialless-shared-worker:
FAIL
- credentialless-shared-worker:
- /html/document-isolation-policy/credentialless-shared-worker.https.tentative.window.html?request_origin=cross_origin&worker_dip=credentialless&window_dip=none [wpt.fyi]
- credentialless-shared-worker:
FAIL
- credentialless-shared-worker:
- /html/document-isolation-policy/credentialless-video.https.tentative.window.html [wpt.fyi]
- video cross-origin + undefined:
FAIL
- video cross-origin + undefined:
- /html/document-isolation-policy/header-parsing.tentative.https.html [wpt.fyi]
- policy applied for ["isolate-and-require-corp"]:
FAIL - policy applied for [" isolate-and-require-corp "]:
FAIL - policy applied for ["\tisolate-and-require-corp\t"]:
FAIL - policy applied for [" \tisolate-and-require-corp"]:
FAIL - policy applied for ["isolate-and-require-corp\t "]:
FAIL - policy applied for ["isolate-and-require-corp; foo=bar"]:
FAIL - policy applied for ["isolate-and-require-corp;isolate-and-require-corp"]:
FAIL - policy applied for ["isolate-and-require-corp; report-to="endpoint""]:
FAIL
- policy applied for ["isolate-and-require-corp"]:
- /html/document-isolation-policy/isolate-and-require-corp-load-from-cache-storage.tentative.https.html [wpt.fyi]
- Fetch cross-origin no-cors cors-disabled corp-undefined from network and CacheStorage.:
FAIL - Fetch cross-origin no-cors cors-enabled corp-undefined from network and CacheStorage.:
FAIL
- Fetch cross-origin no-cors cors-disabled corp-undefined from network and CacheStorage.:
- /html/document-isolation-policy/isolate-and-require-corp.tentative.https.html [wpt.fyi]
- "isolate-and-require-corp" top-level: fetch() to cross-origin response without CORP should fail:
FAIL
- "isolate-and-require-corp" top-level: fetch() to cross-origin response without CORP should fail:
- /html/document-isolation-policy/location-replace-keeps-entry.tentative.https.html [wpt.fyi]
- A frame's document replaced by a same-origin one with a policy keeps the session history entry:
FAIL(Chrome:FAIL, Safari:FAIL) - A popup's document replaced by a same-origin one with a policy keeps the session history entry:
FAIL(Chrome:FAIL, Safari:FAIL)
- A frame's document replaced by a same-origin one with a policy keeps the session history entry:
- /html/document-isolation-policy/shared-workers.tentative.https.html [wpt.fyi]
- "isolate-and-require-corp" (derived from response):
FAIL - isolate-and-require-corp (derived from blob URL creator):
FAIL - "isolate-and-require-corp" (derived from owner set due to use of local scheme - blob URL):
FAIL - "isolate-and-require-corp" (derived from owner set due to use of local scheme - data URL):
FAIL
- "isolate-and-require-corp" (derived from response):
- /navigation-api/navigation-methods/forward-to-pruned-entry.html [wpt.fyi]
- If forward pruning clobbers the target of a traverse, abort:
FAIL
- If forward pruning clobbers the target of a traverse, abort:
- /navigation-api/navigation-methods/reload-service-worker-fetch-event.html [wpt.fyi]
- reload() appears as a reload to service worker fetch event handlers:
FAIL
- reload() appears as a reload to service worker fetch event handlers:
Tests Disabled in Gecko Infrastructure
- /html/browsers/history/the-location-interface/location_replace_session_history.html [wpt.fyi]:
SKIP - /html/document-isolation-policy/reporting-cache-storage-corp.tentative.https.html [wpt.fyi]:
SKIP - /html/document-isolation-policy/reporting-subresource-corp.tentative.https.html [wpt.fyi]:
SKIP - /html/document-isolation-policy/service-worker-coep-credentialless-proxy.https.tentative.window.html [wpt.fyi]:
SKIP - /html/document-isolation-policy/service-worker-coep-none-proxy.https.tentative.window.html [wpt.fyi]:
SKIP - /navigation-api/navigation-methods/traverseTo-navigates-multiple-iframes.html [wpt.fyi]:
SKIP - /html/browsers/history/the-location-interface/scripted_click_location_assign_during_load.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /html/browsers/history/the-location-interface/security_location_0.htm [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[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]
Comment 5•24 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c2c90a4d0bc3
https://hg.mozilla.org/mozilla-central/rev/96cdc84dbc23
Description
•