| OLD | NEW |
| 1 Test WebSocket bad sub-protocol names by non-ASCII chars. | 1 Test WebSocket bad sub-protocol names by non-ASCII chars. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxErro
r: The subprotocol '\u007F' is invalid.. | 5 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxErro
r: Failed to construct 'WebSocket': The subprotocol '\u007F' is invalid.. |
| 6 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxErro
r: The subprotocol '\u0080' is invalid.. | 6 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxErro
r: Failed to construct 'WebSocket': The subprotocol '\u0080' is invalid.. |
| 7 PASS new WebSocket("ws://127.0.0.1:8880/simple", "あ") threw exception SyntaxErro
r: The subprotocol '\u3042' is invalid.. | 7 PASS new WebSocket("ws://127.0.0.1:8880/simple", "あ") threw exception SyntaxErro
r: Failed to construct 'WebSocket': The subprotocol '\u3042' is invalid.. |
| 8 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxErro
r: The subprotocol '\uFFFF' is invalid.. | 8 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxErro
r: Failed to construct 'WebSocket': The subprotocol '\uFFFF' is invalid.. |
| 9 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxErro
r: The subprotocol '\uFEFF' is invalid.. | 9 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxErro
r: Failed to construct 'WebSocket': The subprotocol '\uFEFF' is invalid.. |
| 10 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxErro
r: The subprotocol '\uFFFE' is invalid.. | 10 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxErro
r: Failed to construct 'WebSocket': The subprotocol '\uFFFE' is invalid.. |
| 11 PASS new WebSocket("ws://127.0.0.1:8880/simple", "𠀋") threw exception SyntaxErro
r: The subprotocol '\uD840\uDC0B' is invalid.. | 11 PASS new WebSocket("ws://127.0.0.1:8880/simple", "𠀋") threw exception SyntaxErro
r: Failed to construct 'WebSocket': The subprotocol '\uD840\uDC0B' is invalid.. |
| 12 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
| 13 | 13 |
| 14 TEST COMPLETE | 14 TEST COMPLETE |
| 15 | 15 |
| OLD | NEW |