html/webappapis/dynamic-markup-insertion/opening-the-input-stream/
177 / 179 WPT subtests passing
- Failed
- 2
- Timed out
- 0
- Not run
- 0
- Test files
- 52
- Blocking files
- 0
Chrome 171 / 179 WPT subtests passing on the same files, 6 blocking
Tests
52 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
002.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open during parsing
004.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Reuse of document object after document.open
006.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Cancelling error after document.open
011.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Timeout after document.open
012.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Timeout after document.open in load event
013.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Timeout after document.open in DOMContentLoaded event
014.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Timeout after document.open after document is completely loaded
015.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- global scope unchanged
- window object unchanged
- this is the window object
016.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Timeout on original window, scope
- Timeout on original window, this object
- Timeout on new window, scope
- Timeout on new window, this object
abort-refresh-immediate.window.js 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- document.open() aborts documents that are queued for navigation through <meta> refresh with timeout 0 (XMLHttpRequest)
- document.open() aborts documents that are queued for navigation through <meta> refresh with timeout 0 (fetch())
- document.open() aborts documents that are queued for navigation through <meta> refresh with timeout 0 (image loading)
- document.open() aborts documents that are queued for navigation through Refresh header with timeout 0 (XMLHttpRequest)
- document.open() aborts documents that are queued for navigation through Refresh header with timeout 0 (fetch())
- document.open() aborts documents that are queued for navigation through Refresh header with timeout 0 (image loading)
abort-refresh-multisecond-header.window.js 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- document.open() does NOT abort documents that are queued for navigation through Refresh header with 1-sec timeout (XMLHttpRequest)
- document.open() does NOT abort documents that are queued for navigation through Refresh header with 1-sec timeout (fetch())
- document.open() does NOT abort documents that are queued for navigation through Refresh header with 4-sec timeout (image loading)
abort-refresh-multisecond-meta.window.js 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- document.open() does NOT abort documents that are queued for navigation through <meta> refresh with 1-sec timeout (XMLHttpRequest)
- document.open() does NOT abort documents that are queued for navigation through <meta> refresh with 1-sec timeout (fetch())
- document.open() does NOT abort documents that are queued for navigation through <meta> refresh with 4-sec timeout (image loading)
abort.sub.window.js 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- document.open() does not abort documents that are not navigating (XMLHttpRequest)
- document.open() does not abort documents that are not navigating (fetch())
- document.open() does not abort documents that are not navigating (image loading)
- document.open() does not abort documents that are not navigating (establish a WebSocket connection)
- document.open() does not abort documents that are not navigating (already established WebSocket connection)
aborted-parser.window.js 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- document.open() after parser is aborted
- async document.open() after parser is aborted
active.window.js 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- document.open() removes the document's children (fully active document)
- document.open() removes the document's children (active but not fully active document)
- document.open() removes the document's children (non-active document with an associated Window object; frame is removed)
- document.open() removes the document's children (non-active document with an associated Window object; navigated away)
- document.open() removes the document's children (non-active document without an associated Window object; createHTMLDocument)
- document.open() removes the document's children (non-active document without an associated Window object; DOMParser)
- document.open() removes the document's children (non-active document without an associated Window object; XMLHttpRequest)
bailout-exception-vs-return-origin.sub.window.js 6 / 6 passingChrome 5 / 60 failedClean
6 passing subtests
- document.open should throw an InvalidStateError with XML document even if it is cross-origin
- document.open should throw an InvalidStateError when the throw-on-dynamic-markup-insertion counter is incremented even if the document is cross-origin
- document.open should throw a SecurityError with cross-origin document even when there is an active parser executing script
- document.open should throw a SecurityError with cross-origin document even when the ignore-opens-during-unload counter is greater than 0 (during beforeunload event)
- document.open should throw a SecurityError with cross-origin document even when the ignore-opens-during-unload counter is greater than 0 (during pagehide event)
- document.open should throw a SecurityError with cross-origin document even when the ignore-opens-during-unload counter is greater than 0 (during unload event)
bailout-exception-vs-return-xml.window.js 4 / 4 passingChrome 3 / 40 failedClean
4 passing subtests
- document.open should throw an InvalidStateError with XML document even when there is an active parser executing script
- document.open should throw an InvalidStateError with XML document even when the ignore-opens-during-unload counter is greater than 0 (during beforeunload event)
- document.open should throw an InvalidStateError with XML document even when the ignore-opens-during-unload counter is greater than 0 (during pagehide event)
- document.open should throw an InvalidStateError with XML document even when the ignore-opens-during-unload counter is greater than 0 (during unload event)
bailout-side-effects-ignore-opens-during-unload.window.js 3 / 3 passingChrome 2 / 30 failedClean
3 passing subtests
- document.open bailout should not have any side effects (ignore-opens-during-unload is greater than 0 during unload event)
- document.open bailout should not have any side effects (ignore-opens-during-unload is greater than 0 during beforeunload event)
- document.open bailout should not have any side effects (ignore-opens-during-unload is greater than 0 during pagehide event)
bailout-side-effects-same-origin-domain.sub.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open bailout should not have any side effects (same origin-domain (but not same origin) document)
bailout-side-effects-synchronous-script.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open bailout should not have any side effects (active parser whose script nesting level is greater than 0)
bailout-side-effects-xml.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open bailout should not have any side effects (XML document)
beforeunload.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open() should not fire a beforeunload event
crbug-583445-regression.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Regression test for crbug.com/583445
custom-element.window.js 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- document.open() works in custom element constructor for createElement()
- document.open() is forbidden in custom element constructor when creating element from parser
document.open-02.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- document.open should redirect to window.open when called with three arguments
- document.open should throw when it has no window and is called with three arguments
document.open-03.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open and no singleton replacement
encoding.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- doucment.open() and the document's encoding
event-listeners.window.js 18 / 18 passingChrome 18 / 180 failedClean
18 passing subtests
- Standard event listeners are to be removed
- Custom event listeners are to be removed
- Standard event listeners are to be removed from Window
- Standard event listeners are to be removed from Window for an active but not fully active document
- Standard event listeners are to be removed from Window for a non-active document that is the associated Document of a Window (frame is removed)
- Standard event listeners are NOT to be removed from Window for a Window-less document (createHTMLDocument)
- Standard event listeners are NOT to be removed from Window for a Window-less document (DOMParser)
- Standard event listeners are NOT to be removed from Window for a Window-less document (XMLHttpRequest)
- Custom event listeners are to be removed from Window
- Custom event listeners are to be removed from Window for an active but not fully active document
- Custom event listeners are to be removed from Window for a non-active document that is the associated Document of a Window (frame is removed)
- Custom event listeners are NOT to be removed from Window for a Window-less document (createHTMLDocument)
- Custom event listeners are NOT to be removed from Window for a Window-less document (DOMParser)
- Custom event listeners are NOT to be removed from Window for a Window-less document (XMLHttpRequest)
- IDL attribute event handlers are to be deactivated
- Content attribute event handlers are to be deactivated
- Event listeners are to be removed with immediate effect
- Event listeners are to be removed from shadow trees as well
form-control-state.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- textarea state
- input state
history-state.window.js 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- history.state is kept by document.open()
- history.state is kept by document.open() (with historical replace parameter set)
history.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open should not add an entry to the session history
ignore-opens-during-unload.window.js 11 / 12 passingChrome 9 / 121 failedWith failures
- ¶
FAILdocument.open should bail out when ignore-opens-during-unload is greater than 0 during beforeunload event (open(parent) while unloading parent and child)
assert_not_equals: got disallowed value 0
11 passing subtests
- document.open should bail out when ignore-opens-during-unload is greater than 0 during beforeunload event (in top-level browsing context)
- document.open should bail out when ignore-opens-during-unload is greater than 0 during beforeunload event (open(parent) while unloading child only)
- document.open should bail out when ignore-opens-during-unload is greater than 0 during pagehide event (in top-level browsing context)
- document.open should bail out when ignore-opens-during-unload is greater than 0 during pagehide event (open(parent) while unloading parent and child)
- document.open should bail out when ignore-opens-during-unload is greater than 0 during pagehide event (open(parent) while unloading child only)
- document.open should bail out when ignore-opens-during-unload is greater than 0 during unload event (in top-level browsing context)
- document.open should bail out when ignore-opens-during-unload is greater than 0 during unload event (open(parent) while unloading parent and child)
- document.open should bail out when ignore-opens-during-unload is greater than 0 during unload event (open(parent) while unloading child only)
- document.open should bail out when ignore-opens-during-unload is greater than 0 during visibilitychange event (in top-level browsing context)
- document.open should bail out when ignore-opens-during-unload is greater than 0 during visibilitychange event (open(parent) while unloading parent and child)
- document.open should bail out when ignore-opens-during-unload is greater than 0 during visibilitychange event (open(parent) while unloading child only)
location-set-and-document-open.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Location sets should cancel current navigation and prevent later document.open() from doing anything
mutation-observer.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open() should inform mutation observer of node removal
no-new-global.window.js 17 / 17 passingChrome 17 / 170 failedClean
17 passing subtests
- Obtaining a variable from a global whose document had open() invoked
- Document maintains object identity through open()
- Document maintains its prototype and properties through open()
- WindowProxy maintains object identity through open()
- WindowProxy maintains its prototype and properties through open()
- BarProp maintains object identity through open()
- BarProp maintains its prototype and properties through open()
- History maintains object identity through open()
- History maintains its prototype and properties through open()
- localStorage maintains object identity through open()
- localStorage maintains its prototype and properties through open()
- Location maintains object identity through open()
- Location maintains its prototype and properties through open()
- sessionStorage maintains object identity through open()
- sessionStorage maintains its prototype and properties through open()
- Navigator maintains object identity through open()
- Navigator maintains its prototype and properties through open()
open-with-defer-script-during-initial-about-blank-load.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open() with a deferred script during the initial about:blank load event must not crash or refire load
origin-check-in-document-open-basic.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- It should be possible to open same origin documents.
- It should be possible to implicitly open same origin documents.
origin-check-in-document-open-same-origin-domain.sub.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- It should not be possible to open same origin-domain (but not same origin) documents.
- It should not be possible to implicitly open same origin-domain (but not same origin) documents.
quirks.window.js 3 / 4 passingChrome 4 / 41 failedWith failures
- ¶
FAILdocument.open() sets document to no-quirks mode, not limited-quirks mode
assert_not_equals: got disallowed value "auto"
3 passing subtests
- document.open() sets document to no-quirks mode (write no doctype)
- document.open() sets document to no-quirks mode (write old doctype)
- document.open() sets document to no-quirks mode (write new doctype)
readiness.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open() and readiness
reload.window.js 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Reloading a document.open()'d page should reload the URL of the entry realm's responsible document
remove-initial-about-blankness.window.js 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- document.open() removes the initial about:blank-ness of the document
- Double-check: without document.open(), Window reuse indeed happens
tasks.window.js 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- tasks without document.open() (timeout)
- document.open() and tasks (timeout)
- tasks without document.open() (window message)
- document.open() and tasks (window message)
- tasks without document.open() (canvas.toBlob())
- document.open() and tasks (canvas.toBlob())
- tasks without document.open() (MessagePort)
- document.open() and tasks (MessagePort)
- tasks without document.open() (Promise rejection)
- document.open() and tasks (Promise rejection)
type-argument-plaintext.window.js 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- document.open() on plaintext document with type set to: replace (type argument is supposed to be ignored)
- document.open() on plaintext document with type set to: NOBODY (type argument is supposed to be ignored)
- document.open() on plaintext document with type set to: @ FD ; (type argument is supposed to be ignored)
- document.open() on plaintext document with type set to: it does not matter, you see ␌ (type argument is supposed to be ignored)
- document.open() on plaintext document with type set to: text/plain (type argument is supposed to be ignored)
- document.open() on plaintext document with type set to: text/xml (type argument is supposed to be ignored)
- document.open() on plaintext document with type set to: application/octet-stream (type argument is supposed to be ignored)
- document.open() on plaintext document with type set to: ␀ (type argument is supposed to be ignored)
type-argument.window.js 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- document.open() with type set to: replace (type argument is supposed to be ignored)
- document.open() with type set to: NOBODY (type argument is supposed to be ignored)
- document.open() with type set to: @ FD ; (type argument is supposed to be ignored)
- document.open() with type set to: it does not matter, you see ␌ (type argument is supposed to be ignored)
- document.open() with type set to: text/plain (type argument is supposed to be ignored)
- document.open() with type set to: text/xml (type argument is supposed to be ignored)
- document.open() with type set to: application/octet-stream (type argument is supposed to be ignored)
- document.open() with type set to: ␀ (type argument is supposed to be ignored)
unload.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open(): Do not fire pagehide, visibilitychange, or unload events
url-entry-document-sync-call.window.js 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- document.open() changes document's URL to the entry global object's associate document's (sync call)
- document.write() changes document's URL to the entry global object's associate document's (sync call)
- document.writeln() changes document's URL to the entry global object's associate document's (sync call)
url-entry-document.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open() changes document's URL to the entry settings object's responsible document's (through timeouts)
url-fragment.window.js 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- document.open() and document's URL containing a fragment (entry is not relevant)
- document.open() and document's URL containing a fragment (entry is relevant)
url.window.js 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- document.open() changes document's URL (fully active document)
- document.open() does not change document's URL (active but not fully active document)
- document.open() does not change document's URL (non-active document with an associated Window object; frame is removed)
- document.open() does not change document's URL (non-active document with an associated Window object; navigated away)
- document.open() does not change document's URL (non-active document without an associated Window object)