[wpt-sync] Sync PR 62622 - Test frame post-connection behavior
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62622 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62622
Details from upstream follow.
Domenic Denicola <d@domenic.me> wrote:
Test frame post-connection behavior
Check child-window creation order when frames and iframes are inserted atomically with scripts, including indexed access to their windows. Cover connection inside shadow trees and documents without browsing contexts.
Shadow tree behavior matches all browsers. Timing matches Chromium and WebKit. This has an accompanying spec PR coming soon.
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=94853
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 22 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 22[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: 3[GitHub] 20[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: 1[GitHub] 18[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]
Chrome
OK : 1
PASS: 4
Safari
OK : 1
PASS: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /dom/nodes/insertion-removing-steps/frame-post-connection-steps.html [wpt.fyi]
- A script before frame and iframe elements observes post-connection order:
FAIL
- A script before frame and iframe elements observes post-connection order:
New Tests That Don't Pass
- /dom/nodes/insertion-removing-steps/Node-append-meta-referrer-and-script-from-fragment.html [wpt.fyi]
- <meta name=referrer> gets processed and applied in the post-insertion steps:
FAIL
- <meta name=referrer> gets processed and applied in the post-insertion steps:
- /dom/nodes/insertion-removing-steps/Node-appendChild-script-and-default-style-meta-from-fragment.html [wpt.fyi]
- Inserting <meta> that uses alternate stylesheets, applies the style during DOM post-insertion steps:
FAIL
- Inserting <meta> that uses alternate stylesheets, applies the style during DOM post-insertion steps:
- /dom/nodes/insertion-removing-steps/Node-appendChild-script-and-iframe.html [wpt.fyi]
- A script inserted atomically before an iframe (using a div) does not observe the iframe's contentWindow, since the 'script running' and 'iframe setup' both happen in order, after DOM insertion completes:
FAIL - A script inserted atomically before an iframe (using a DocumentFragment) does not observe the iframe's contentWindow, since the 'script running' and 'iframe setup' both happen in order, after DOM insertion completes:
FAIL - A script inserted atomically before an iframe (using a append() with multiple arguments) does not observe the iframe's contentWindow, since the 'script running' and 'iframe setup' both happen in order, after DOM insertion completes:
FAIL
- A script inserted atomically before an iframe (using a div) does not observe the iframe's contentWindow, since the 'script running' and 'iframe setup' both happen in order, after DOM insertion completes:
- /dom/nodes/insertion-removing-steps/Node-appendChild-script-and-style.html [wpt.fyi]
- An earlier-inserted <script> synchronously observes a later-inserted <style> (via a div) being applied:
FAIL - An earlier-inserted <script> synchronously observes a later-inserted <style> (via a DocumentFragment) being applied:
FAIL - Earlier-inserted <script> (via a DocumentFragment) synchronously observes a later-inserted <link rel=stylesheet>'s CSSStyleSheet creation:
FAIL - Earlier-inserted <script> (via a div) synchronously observes a later-inserted <link rel=stylesheet>'s CSSStyleSheet creation:
FAIL - Earlier-inserted <script> (via a append()) synchronously observes a later-inserted <link rel=stylesheet>'s CSSStyleSheet creation:
FAIL
- An earlier-inserted <script> synchronously observes a later-inserted <style> (via a div) being applied:
- /dom/nodes/insertion-removing-steps/Node-appendChild-script-in-script.html [wpt.fyi]
- An outer script whose preparation/execution gets triggered by the insertion of a 'nested'/'inner' script, executes before the inner script executes:
FAIL
- An outer script whose preparation/execution gets triggered by the insertion of a 'nested'/'inner' script, executes before the inner script executes:
- /dom/nodes/insertion-removing-steps/frame-post-connection-steps.html [wpt.fyi]
- A script before frame and iframe elements observes post-connection order:
FAIL(Chrome:PASS, Safari:PASS)
- A script before frame and iframe elements observes post-connection order:
- /dom/nodes/insertion-removing-steps/insertion-removing-steps-iframe.window.html [wpt.fyi]
- Insertion steps: load event fires synchronously after iframe DOM insertion, as part of the iframe element's insertion steps:
FAIL - Removing steps (innerHTML): script does not run synchronously during iframe destruction:
FAIL - Removing steps (replaceChildren): script does not run synchronously during iframe destruction:
FAIL - Removing steps (remove): script does not run synchronously during iframe destruction:
FAIL
- Insertion steps: load event fires synchronously after iframe DOM insertion, as part of the iframe element's insertion steps:
- /dom/nodes/insertion-removing-steps/later-script-removed-by-earlier-script.html [wpt.fyi]
- A later-inserted script removed by an earlier-inserted script in the same document fragment should not run:
FAIL - A later-inserted script removed by an earlier-inserted script in the same append() call should not run:
FAIL
- A later-inserted script removed by an earlier-inserted script in the same document fragment should not run:
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5ec2fe8192ff
https://hg.mozilla.org/mozilla-central/rev/34ed42b435d3
Description
•