Closed Bug 1880890 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 44658 - Weird insertion

Categories

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

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 44658 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/44658
Details from upstream follow.

Anthony Ramine <n.oxyde@gmail.com> wrote:

Weird insertion

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

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 12 tests and 1 subtests

Status Summary

Firefox

OK : 12
PASS: 10
FAIL: 9

Chrome

OK : 12
PASS: 17
FAIL: 2

Safari

OK : 12
PASS: 6
FAIL: 13

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /dom/nodes/insertion-removing-steps/Node-appendChild-script-and-iframe.tentative.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
  • /dom/nodes/insertion-removing-steps/Node-appendChild-script-and-style.tentative.html [wpt.fyi]
    • An earlier-inserted <script> synchronously observes a later-inserted <style> (via a div) being applied: FAIL

New Tests That Don't Pass

  • /dom/nodes/insertion-removing-steps/Node-appendChild-script-and-default-style-meta-from-fragment.tentative.html [wpt.fyi]
    • Inserting <meta> that uses alternate stylesheets, applies the style during DOM insertion, and before script runs as a result of any atomic insertions: FAIL (Chrome: FAIL, Safari: FAIL)
  • /dom/nodes/insertion-removing-steps/Node-appendChild-script-and-iframe.tentative.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 (Chrome: PASS, Safari: PASS)
    • 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 (Chrome: PASS, Safari: PASS)
    • 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 (Chrome: PASS, Safari: PASS)
  • /dom/nodes/insertion-removing-steps/Node-appendChild-script-and-style.tentative.html [wpt.fyi]
    • An earlier-inserted <script> synchronously observes a later-inserted <style> (via a div) being applied: FAIL (Chrome: PASS, Safari: PASS)
    • An earlier-inserted <script> synchronously observes a later-inserted <style> (via a DocumentFragment) being applied: FAIL (Chrome: PASS, Safari: FAIL)
    • Earlier-inserted <script> (via a DocumentFragment) synchronously observes a later-inserted <link rel=stylesheet>'s CSSStyleSheet creation: FAIL (Chrome: PASS, Safari: FAIL)
    • Earlier-inserted <script> (via a div) synchronously observes a later-inserted <link rel=stylesheet>'s CSSStyleSheet creation: FAIL (Chrome: PASS, Safari: FAIL)
    • Earlier-inserted <script> (via a append()) synchronously observes a later-inserted <link rel=stylesheet>'s CSSStyleSheet creation: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/da8d6ac0ea4c [wpt PR 44658] - DOM: Added a few batch-insertion scenarios that are incompatible across engines, a=testonly https://hg.mozilla.org/integration/autoland/rev/81057f5a8410 [wpt PR 44658] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.