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 hereEach 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.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- 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.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <meta name=referrer> gets processed and applied in the post-insertion steps
Node-appendChild-script-and-button-from-div.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- 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.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- 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.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Inserting <meta> that uses alternate stylesheets, applies the style during DOM post-insertion steps
Node-appendChild-script-and-div-from-fragment.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Earlier-inserted scripts can observe the parentNode of later-inserted nodes, because script runs after DOM insertion completes
Node-appendChild-script-and-iframe.html 3 / 4 passingChrome 4 / 41 failedWith failures
- ¶
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
- Script inserted after an iframe in the same appendChild() call can observe the iframe's non-null contentWindow
- 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
- 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.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Empty <source> immediately sets media.networkState during DOM insertion, so that an earlier-running script can observe networkState
Node-appendChild-script-and-style.html 2 / 5 passingChrome 5 / 53 failedWith failures
- ¶
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])
- ¶
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])
- ¶
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
- An earlier-inserted <script> synchronously observes a later-inserted <style> (via a div) being applied
- An earlier-inserted <script> synchronously observes a later-inserted <style> (via a DocumentFragment) being applied
Node-appendChild-script-in-script.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- 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.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- An inserted script should be able to observe its own mutation record with takeRecords
Node-appendChild-text-and-script-in-style.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- 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.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Node.appendChild: inserting two text nodes in an empty script
Node-appendChild-three-scripts-from-fragment.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Node.appendChild: inserting three scripts from a document fragment
Node-appendChild-three-scripts.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Node.appendChild: inserting three scripts from a div
blur-event.window.js 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- <input> element does not fire blur event upon DOM removal
- <button> element does not fire blur/focusout events upon DOM removal
change-event.window.js 2 / 2 passingChrome 0 / 20 failedClean
2 passing subtests
- <input> element does not fire change event upon DOM removal
- <textarea> element does not fire change event upon DOM removal
frame-post-connection-steps.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- A script before frame and iframe elements observes post-connection order
- A script after frame and iframe elements observes post-connection order
- Both frames and iframes create a child window when connected inside a shadow tree
- Neither frames nor iframes create a child window in a document without a browsing context
insertion-removing-steps-iframe.window.js 1 / 4 passingChrome 1 / 43 failedWith failures
- ¶
FAILRemoving steps (innerHTML): script does not run synchronously during iframe destruction
assert_false: iframe1 pagehide did not fire expected false got true
- ¶
FAILRemoving steps (replaceChildren): script does not run synchronously during iframe destruction
assert_false: iframe1 pagehide did not fire expected false got true
- ¶
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
- Insertion steps: load event fires synchronously *after* iframe DOM insertion, as part of the iframe element's insertion steps
insertion-removing-steps-script.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Script execution happens after all batched DOM insertions complete through post-connection steps
later-script-removed-by-earlier-script.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- A later-inserted script removed by an earlier-inserted script in the same document fragment should not run
- 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.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Script execution is never triggered on child removals