Index: LayoutTests/http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars-expected.txt |
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars-expected.txt b/LayoutTests/http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars-expected.txt |
index 7586ca600babb6560aefc09307adf1d0111c393a..be4b9d3f031eb520e5bcb7ffd4b6db4df0d08dae 100644 |
--- a/LayoutTests/http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars-expected.txt |
+++ b/LayoutTests/http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars-expected.txt |
@@ -5,13 +5,13 @@ Test WebSocket bad sub-protocol names by control characters. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS new WebSocket("ws://127.0.0.1:8880/simple", "\0") threw exception Error: SyntaxError: DOM Exception 12. |
-PASS new WebSocket("ws://127.0.0.1:8880/simple", " ") threw exception Error: SyntaxError: DOM Exception 12. |
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "\0") threw exception SyntaxError: An invalid or illegal string was specified.. |
+PASS new WebSocket("ws://127.0.0.1:8880/simple", " ") threw exception SyntaxError: An invalid or illegal string was specified.. |
PASS new WebSocket("ws://127.0.0.1:8880/simple", " |
") threw exception SyntaxError: Unexpected token ILLEGAL. |
PASS new WebSocket("ws://127.0.0.1:8880/simple", " |
") threw exception SyntaxError: Unexpected token ILLEGAL. |
-PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception Error: SyntaxError: DOM Exception 12. |
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxError: An invalid or illegal string was specified.. |
PASS successfullyParsed is true |
TEST COMPLETE |