diff options
author | Servo WPT Sync <32481905+servo-wpt-sync@users.noreply.github.com> | 2024-02-05 01:17:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 06:17:23 +0000 |
commit | 29c206a7021d23d90303325505ec4e8888fc5387 (patch) | |
tree | 3ae1ac90e47e1d52d75225481e7f66cda11bcad6 /tests/wpt/meta/websockets/stream/tentative | |
parent | e588e93b3bd3bc6040750256b6902a4175dd74a2 (diff) | |
download | servo-29c206a7021d23d90303325505ec4e8888fc5387.tar.gz servo-29c206a7021d23d90303325505ec4e8888fc5387.zip |
Sync WPT with upstream (04-02-2024) (#31256)
* Update web-platform-tests to revision b'faa6d42ce21d126155dee771786ad7c74efbcba5'
* Update test expectation
---------
Co-authored-by: cybai <cyb.ai.815@gmail.com>
Diffstat (limited to 'tests/wpt/meta/websockets/stream/tentative')
-rw-r--r-- | tests/wpt/meta/websockets/stream/tentative/close.any.js.ini | 72 | ||||
-rw-r--r-- | tests/wpt/meta/websockets/stream/tentative/websocket-error.any.js.ini | 69 |
2 files changed, 141 insertions, 0 deletions
diff --git a/tests/wpt/meta/websockets/stream/tentative/close.any.js.ini b/tests/wpt/meta/websockets/stream/tentative/close.any.js.ini index cb09dbbe53b..e308a7fe944 100644 --- a/tests/wpt/meta/websockets/stream/tentative/close.any.js.ini +++ b/tests/wpt/meta/websockets/stream/tentative/close.any.js.ini @@ -261,6 +261,24 @@ [canceling the readable with a DOMException should be ignored] expected: FAIL + [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] + expected: FAIL + + [aborting the writable with a reason but no code should default the close code] + expected: FAIL + + [aborting the writable with a DOMException not set code or reason] + expected: FAIL + + [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] + expected: FAIL + + [canceling the readable with a reason but no code should default the close code] + expected: FAIL + + [canceling the readable with a DOMException not set code or reason] + expected: FAIL + [close.any.sharedworker.html?wpt_flags=h2] expected: ERROR @@ -350,6 +368,24 @@ [canceling the readable with a DOMException should be ignored] expected: FAIL + [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] + expected: FAIL + + [aborting the writable with a reason but no code should default the close code] + expected: FAIL + + [aborting the writable with a DOMException not set code or reason] + expected: FAIL + + [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] + expected: FAIL + + [canceling the readable with a reason but no code should default the close code] + expected: FAIL + + [canceling the readable with a DOMException not set code or reason] + expected: FAIL + [close.any.html?wss] [close code should be sent to server and reflected back] @@ -436,6 +472,24 @@ [canceling the readable with a DOMException should be ignored] expected: FAIL + [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] + expected: FAIL + + [aborting the writable with a reason but no code should default the close code] + expected: FAIL + + [aborting the writable with a DOMException not set code or reason] + expected: FAIL + + [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] + expected: FAIL + + [canceling the readable with a reason but no code should default the close code] + expected: FAIL + + [canceling the readable with a DOMException not set code or reason] + expected: FAIL + [close.any.serviceworker.html?wpt_flags=h2] expected: ERROR @@ -525,6 +579,24 @@ [canceling the readable with a DOMException should be ignored] expected: FAIL + [aborting the writable with attributes not wrapped in a WebSocketError should be ignored] + expected: FAIL + + [aborting the writable with a reason but no code should default the close code] + expected: FAIL + + [aborting the writable with a DOMException not set code or reason] + expected: FAIL + + [canceling the readable with attributes not wrapped in a WebSocketError should be ignored] + expected: FAIL + + [canceling the readable with a reason but no code should default the close code] + expected: FAIL + + [canceling the readable with a DOMException not set code or reason] + expected: FAIL + [close.any.serviceworker.html?wss] expected: ERROR diff --git a/tests/wpt/meta/websockets/stream/tentative/websocket-error.any.js.ini b/tests/wpt/meta/websockets/stream/tentative/websocket-error.any.js.ini new file mode 100644 index 00000000000..a7dd49c6863 --- /dev/null +++ b/tests/wpt/meta/websockets/stream/tentative/websocket-error.any.js.ini @@ -0,0 +1,69 @@ +[websocket-error.any.worker.html] + [WebSocketError defaults should be correct] + expected: FAIL + + [WebSocketError should be initialised from arguments] + expected: FAIL + + [new WebSocketError with invalid code 999 should throw] + expected: FAIL + + [new WebSocketError with invalid code 1001 should throw] + expected: FAIL + + [new WebSocketError with invalid code 2999 should throw] + expected: FAIL + + [new WebSocketError with invalid code 5000 should throw] + expected: FAIL + + [passing only close code to WebSocketError should work] + expected: FAIL + + [passing a non-empty reason should cause the close code to be set to 1000] + expected: FAIL + + [overlong reason should throw] + expected: FAIL + + [reason should be rejected based on utf-8 bytes, not character count] + expected: FAIL + + +[websocket-error.any.sharedworker.html] + expected: ERROR + +[websocket-error.any.html] + [WebSocketError defaults should be correct] + expected: FAIL + + [WebSocketError should be initialised from arguments] + expected: FAIL + + [new WebSocketError with invalid code 999 should throw] + expected: FAIL + + [new WebSocketError with invalid code 1001 should throw] + expected: FAIL + + [new WebSocketError with invalid code 2999 should throw] + expected: FAIL + + [new WebSocketError with invalid code 5000 should throw] + expected: FAIL + + [passing only close code to WebSocketError should work] + expected: FAIL + + [passing a non-empty reason should cause the close code to be set to 1000] + expected: FAIL + + [overlong reason should throw] + expected: FAIL + + [reason should be rejected based on utf-8 bytes, not character count] + expected: FAIL + + +[websocket-error.any.serviceworker.html] + expected: ERROR |