dom/nodes/insertion-removing-steps/

31 / 38 WPT subtests passing

Failed
7
Timed out
0
Not run
0
Test files
22
Blocking files
0

Chrome 33 / 38 WPT subtests passing on the same files, 1 blocking

Tests

22 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
Node-append-form-and-script-from-fragment.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. When adding a script+form in a fragment and the form matches an associated element, the script that checks whether the button is associated to the form should run after inserting the form
Node-append-meta-referrer-and-script-from-fragment.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <meta name=referrer> gets processed and applied in the post-insertion steps
Node-appendChild-script-and-button-from-div.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Script inserted before a form-associated button can observe the button's form, because by the time the script executes, the DOM insertion that associates the button with the form is already done
Node-appendChild-script-and-custom-from-fragment.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. An earlier-inserted script can upgrade a later-inserted custom element, whose upgrading is synchronously observable to the script, since DOM insertion has been completed by the time it runs
Node-appendChild-script-and-default-style-meta-from-fragment.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Inserting <meta> that uses alternate stylesheets, applies the style during DOM post-insertion steps
Node-appendChild-script-and-div-from-fragment.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Earlier-inserted scripts can observe the parentNode of later-inserted nodes, because script runs after DOM insertion completes
Node-appendChild-script-and-iframe.html3 / 4 passingChrome 4 / 41 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
  1. FAILA 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
    assert_equals: expected "contentWindow is null" but got "iframe with content window"
3 passing subtests
  1. Script inserted after an iframe in the same appendChild() call can observe the iframe's non-null contentWindow
  2. 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
  3. 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
Node-appendChild-script-and-source-from-fragment.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Empty <source> immediately sets media.networkState during DOM insertion, so that an earlier-running script can observe networkState
Node-appendChild-script-and-style.html2 / 5 passingChrome 5 / 53 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
  1. FAILEarlier-inserted <script> (via a DocumentFragment) synchronously observes a later-inserted <link rel=stylesheet>'s CSSStyleSheet creation
    assert_array_equals: expected property 0 to be "sheet" but got null (expected array ["sheet"] got [null])
  2. FAILEarlier-inserted <script> (via a div) synchronously observes a later-inserted <link rel=stylesheet>'s CSSStyleSheet creation
    assert_array_equals: expected property 0 to be "sheet" but got null (expected array ["sheet"] got [null])
  3. FAILEarlier-inserted <script> (via a append()) synchronously observes a later-inserted <link rel=stylesheet>'s CSSStyleSheet creation
    assert_array_equals: expected property 0 to be "sheet" but got null (expected array ["sheet"] got [null])
2 passing subtests
  1. An earlier-inserted <script> synchronously observes a later-inserted <style> (via a div) being applied
  2. An earlier-inserted <script> synchronously observes a later-inserted <style> (via a DocumentFragment) being applied
Node-appendChild-script-in-script.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. An outer script whose preparation/execution gets triggered by the insertion of a 'nested'/'inner' script, executes *before* the inner script executes
Node-appendChild-script-with-mutation-observer-takeRecords.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. An inserted script should be able to observe its own mutation record with takeRecords
Node-appendChild-text-and-script-in-style.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. All style rules appended to a <style> element are inserted and script-observable to scripts inserted in the `<style>` element, by the time scripts execute after DOM insertions.
Node-appendChild-text-in-script.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Node.appendChild: inserting two text nodes in an empty script
Node-appendChild-three-scripts-from-fragment.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Node.appendChild: inserting three scripts from a document fragment
Node-appendChild-three-scripts.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Node.appendChild: inserting three scripts from a div
blur-event.window.js2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. <input> element does not fire blur event upon DOM removal
  2. <button> element does not fire blur/focusout events upon DOM removal
change-event.window.js2 / 2 passingChrome 0 / 20 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. <input> element does not fire change event upon DOM removal
  2. <textarea> element does not fire change event upon DOM removal
frame-post-connection-steps.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. A script before frame and iframe elements observes post-connection order
  2. A script after frame and iframe elements observes post-connection order
  3. Both frames and iframes create a child window when connected inside a shadow tree
  4. Neither frames nor iframes create a child window in a document without a browsing context
insertion-removing-steps-iframe.window.js1 / 4 passingChrome 1 / 43 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 1 / 4 WPT subtests passing runner status OK
  1. FAILRemoving steps (innerHTML): script does not run synchronously during iframe destruction
    assert_false: iframe1 pagehide did not fire expected false got true
  2. FAILRemoving steps (replaceChildren): script does not run synchronously during iframe destruction
    assert_false: iframe1 pagehide did not fire expected false got true
  3. FAILRemoving steps (remove): script does not run synchronously during iframe destruction
    assert_false: iframe1 pagehide did not fire expected false got true
1 passing subtest
  1. Insertion steps: load event fires synchronously *after* iframe DOM insertion, as part of the iframe element's insertion steps
insertion-removing-steps-script.window.js1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Script execution happens after all batched DOM insertions complete through post-connection steps
later-script-removed-by-earlier-script.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. A later-inserted script removed by an earlier-inserted script in the same document fragment should not run
  2. A later-inserted script removed by an earlier-inserted script in the same append() call should not run
script-does-not-run-on-child-removal.window.js1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Script execution is never triggered on child removals

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.