html/browsers/browsing-the-web/unloading-documents/
52 / 52 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 29
- Blocking files
- 0
Chrome 40 / 51 WPT subtests passing on the same files, 12 blocking
Tests
2 directories, 15 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
prompt/ | 4 / 4 | 2 / 3 | 4 | none blocking |
unload/ | 10 / 10 | 5 / 10 | 10 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
001.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- document.open in unload
002.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- document.open in unload
003.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- document.open in beforeunload with link
005.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- document.open in pagehide in iframe
beforeunload-canceling.html 22 / 22 passingChrome 22 / 220 failedClean
22 passing subtests
- Returning a string must not cancel the event: CustomEvent, non-cancelable
- Returning a string must not cancel the event: CustomEvent, cancelable
- Returning false must not cancel the event, because it's coerced to the DOMString "false" which does not cancel CustomEvents: CustomEvent, cancelable
- Returning a string must not cancel the event: BeforeUnloadEvent with type "click", cancelable
- Returning null with a real iframe unloading
- Returning undefined with a real iframe unloading
- Returning with a real iframe unloading
- Returning false with a real iframe unloading
- Returning true with a real iframe unloading
- Returning 0 with a real iframe unloading
- Returning null with a real iframe unloading; setting returnValue to foo
- Returning undefined with a real iframe unloading; setting returnValue to foo
- Returning with a real iframe unloading; setting returnValue to foo
- Returning false with a real iframe unloading; setting returnValue to foo
- Returning true with a real iframe unloading; setting returnValue to foo
- Returning 0 with a real iframe unloading; setting returnValue to foo
- Returning undefined with a real iframe unloading; setting returnValue to
- Returning undefined with a real iframe unloading; calling preventDefault()
- Returning undefined with a real iframe unloading; setting returnValue to foo; calling preventDefault()
- Returning foo with a real iframe unloading; calling preventDefault()
- Returning foo with a real iframe unloading; setting returnValue to foo; calling preventDefault()
- Returning true with a real iframe unloading; setting returnValue to ; calling preventDefault()
beforeunload-on-history-back.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- beforeunload event fires on history navigation back
beforeunload-sticky-activation-iframe.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Beforeunload must be gated behind sticky activation: nested browsing context
beforeunload-sticky-activation-popup.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Beforeunload must be gated behind sticky activation: auxiliary browsing context
beforeunload-synchronous.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- beforeunload event is emitted synchronously
pagehide-on-history-forward.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- pagehide event fires on history navigation forward
prompt-and-unload-script-closeable.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- beforeunload and unload events fire after window.close() in script-closeable browsing context
prompt-and-unload-script-uncloseable.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- beforeunload and unload events do not fire after window.close() in script-uncloseable browsing context