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>
This commit is contained in:
Servo WPT Sync 2024-02-05 01:17:23 -05:00 committed by GitHub
parent e588e93b3b
commit 29c206a702
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
446 changed files with 10836 additions and 3899 deletions

View file

@ -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