67.10websockets/unload-a-document/

7 / 11 WPT subtests passing

Failed
4
Timed out
0
Not run
0
Test files
5
Blocking files
0

Chrome 7 / 11 WPT subtests passing on the same files, none blocking

Tests

5 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
001.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK

/websockets/unload-a-document/001.html?default OK 1 / 1

1 passing subtest
  1. WebSockets: navigating top-level browsing context

/websockets/unload-a-document/001.html?wpt_flags=h2 OK 1 / 1

1 passing subtest
  1. WebSockets: navigating top-level browsing context

/websockets/unload-a-document/001.html?wss OK 1 / 1

1 passing subtest
  1. WebSockets: navigating top-level browsing context
002.html0 / 3 passingChrome 0 / 33 failedExempt
Standing
Exempt runner status OK
Chrome
Exempt 0 / 3 WPT subtests passing runner status OK

Exempt from the 0.1 gate: Crane follows the browser majority

after its WebSocket closes the popup navigates away and history.back() returns; Crane, Chrome and Firefox load the page again instead of restoring it from the back/forward cache, so each variant fails "assert_unreached: document was discarded" in all three (the ?wpt_flags=h2 variant too since lane net3's WebSockets over HTTP/2); Safari restores it

Crane matches
Chrome, Firefox
Chrome
wpt.fyi run 4786307730243584: 0/3 (Chrome 157, 2358bd4835; default, wss and h2 variants)
Firefox
wpt.fyi run 4877168468033536: 0/3 (Firefox 160, 2358bd4835)
Safari
wpt.fyi run 6479119966273536: 3/3 (Safari 27.2, 2358bd4835)
Revisit
when Chrome or Firefox changes its result on a newer aligned wpt.fyi run, or Crane's result moves

/websockets/unload-a-document/002.html?default OK 0 / 1

  1. FAILWebSockets: navigating top-level browsing context with closed websocket
    assert_unreached: document was discarded Reached unreachable code

/websockets/unload-a-document/002.html?wpt_flags=h2 OK 0 / 1

  1. FAILWebSockets: navigating top-level browsing context with closed websocket
    assert_unreached: document was discarded Reached unreachable code

/websockets/unload-a-document/002.html?wss OK 0 / 1

  1. FAILWebSockets: navigating top-level browsing context with closed websocket
    assert_unreached: document was discarded Reached unreachable code
003.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. WebSockets: navigating nested browsing context
004.html0 / 1 passingChrome 0 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Exempt 0 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate: Crane follows the browser majority

navigating the nested browsing context whose WebSocket was closed discards its document before the test's check ("document was discarded"), exactly as in Chrome and Firefox; Safari fails the same subtest but ends in a harness ERROR (a failed cleanup)

Crane matches
Chrome, Firefox
Chrome
wpt.fyi run 4786307730243584: 0/1 (Chrome 157, 2358bd4835)
Firefox
wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
Safari
wpt.fyi run 6479119966273536: 0/1 ERROR (Safari 27.2, 2358bd4835)
Revisit
when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
  1. FAILWebSockets: navigating nested browsing context with closed websocket
    assert_unreached: document was discarded Reached unreachable code
005.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK

/websockets/unload-a-document/005.html?default OK 1 / 1

1 passing subtest
  1. WebSockets: navigating nested browsing context with a websocket in top-level

/websockets/unload-a-document/005.html?wpt_flags=h2 OK 1 / 1

1 passing subtest
  1. WebSockets: navigating nested browsing context with a websocket in top-level

/websockets/unload-a-document/005.html?wss OK 1 / 1

1 passing subtest
  1. WebSockets: navigating nested browsing context with a websocket in top-level

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.