Index: LayoutTests/http/tests/websocket/invalid-subprotocol-characters-expected.txt |
diff --git a/LayoutTests/http/tests/websocket/invalid-subprotocol-characters-expected.txt b/LayoutTests/http/tests/websocket/invalid-subprotocol-characters-expected.txt |
index 09440fa7ee018096a3e7c34f8e5d914d6c454f62..3a9845081b5aa27c8e89119a7b1b7a2612f148ef 100644 |
--- a/LayoutTests/http/tests/websocket/invalid-subprotocol-characters-expected.txt |
+++ b/LayoutTests/http/tests/websocket/invalid-subprotocol-characters-expected.txt |
@@ -2,54 +2,54 @@ WebSocket should fail if subprotocol contains a forbidden character. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS new WebSocket(url, "\u0000") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0000' is invalid.. |
-PASS new WebSocket(url, "\u0001") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0001' is invalid.. |
-PASS new WebSocket(url, "\u0002") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0002' is invalid.. |
-PASS new WebSocket(url, "\u0003") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0003' is invalid.. |
-PASS new WebSocket(url, "\u0004") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0004' is invalid.. |
-PASS new WebSocket(url, "\u0005") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0005' is invalid.. |
-PASS new WebSocket(url, "\u0006") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0006' is invalid.. |
-PASS new WebSocket(url, "\u0007") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0007' is invalid.. |
-PASS new WebSocket(url, "\u0008") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0008' is invalid.. |
-PASS new WebSocket(url, "\u0009") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0009' is invalid.. |
-PASS new WebSocket(url, "\u000a") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u000A' is invalid.. |
-PASS new WebSocket(url, "\u000b") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u000B' is invalid.. |
-PASS new WebSocket(url, "\u000c") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u000C' is invalid.. |
-PASS new WebSocket(url, "\u000d") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u000D' is invalid.. |
-PASS new WebSocket(url, "\u000e") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u000E' is invalid.. |
-PASS new WebSocket(url, "\u000f") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u000F' is invalid.. |
-PASS new WebSocket(url, "\u0010") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0010' is invalid.. |
-PASS new WebSocket(url, "\u0011") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0011' is invalid.. |
-PASS new WebSocket(url, "\u0012") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0012' is invalid.. |
-PASS new WebSocket(url, "\u0013") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0013' is invalid.. |
-PASS new WebSocket(url, "\u0014") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0014' is invalid.. |
-PASS new WebSocket(url, "\u0015") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0015' is invalid.. |
-PASS new WebSocket(url, "\u0016") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0016' is invalid.. |
-PASS new WebSocket(url, "\u0017") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0017' is invalid.. |
-PASS new WebSocket(url, "\u0018") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0018' is invalid.. |
-PASS new WebSocket(url, "\u0019") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0019' is invalid.. |
-PASS new WebSocket(url, "\u001a") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u001A' is invalid.. |
-PASS new WebSocket(url, "\u001b") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u001B' is invalid.. |
-PASS new WebSocket(url, "\u001c") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u001C' is invalid.. |
-PASS new WebSocket(url, "\u001d") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u001D' is invalid.. |
-PASS new WebSocket(url, "\u001e") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u001E' is invalid.. |
-PASS new WebSocket(url, "\u001f") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u001F' is invalid.. |
-PASS new WebSocket(url, "\u0020") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol ' ' is invalid.. |
+PASS new WebSocket(url, "\u0000") threw exception SyntaxError: The subprotocol '\u0000' is invalid.. |
+PASS new WebSocket(url, "\u0001") threw exception SyntaxError: The subprotocol '\u0001' is invalid.. |
+PASS new WebSocket(url, "\u0002") threw exception SyntaxError: The subprotocol '\u0002' is invalid.. |
+PASS new WebSocket(url, "\u0003") threw exception SyntaxError: The subprotocol '\u0003' is invalid.. |
+PASS new WebSocket(url, "\u0004") threw exception SyntaxError: The subprotocol '\u0004' is invalid.. |
+PASS new WebSocket(url, "\u0005") threw exception SyntaxError: The subprotocol '\u0005' is invalid.. |
+PASS new WebSocket(url, "\u0006") threw exception SyntaxError: The subprotocol '\u0006' is invalid.. |
+PASS new WebSocket(url, "\u0007") threw exception SyntaxError: The subprotocol '\u0007' is invalid.. |
+PASS new WebSocket(url, "\u0008") threw exception SyntaxError: The subprotocol '\u0008' is invalid.. |
+PASS new WebSocket(url, "\u0009") threw exception SyntaxError: The subprotocol '\u0009' is invalid.. |
+PASS new WebSocket(url, "\u000a") threw exception SyntaxError: The subprotocol '\u000A' is invalid.. |
+PASS new WebSocket(url, "\u000b") threw exception SyntaxError: The subprotocol '\u000B' is invalid.. |
+PASS new WebSocket(url, "\u000c") threw exception SyntaxError: The subprotocol '\u000C' is invalid.. |
+PASS new WebSocket(url, "\u000d") threw exception SyntaxError: The subprotocol '\u000D' is invalid.. |
+PASS new WebSocket(url, "\u000e") threw exception SyntaxError: The subprotocol '\u000E' is invalid.. |
+PASS new WebSocket(url, "\u000f") threw exception SyntaxError: The subprotocol '\u000F' is invalid.. |
+PASS new WebSocket(url, "\u0010") threw exception SyntaxError: The subprotocol '\u0010' is invalid.. |
+PASS new WebSocket(url, "\u0011") threw exception SyntaxError: The subprotocol '\u0011' is invalid.. |
+PASS new WebSocket(url, "\u0012") threw exception SyntaxError: The subprotocol '\u0012' is invalid.. |
+PASS new WebSocket(url, "\u0013") threw exception SyntaxError: The subprotocol '\u0013' is invalid.. |
+PASS new WebSocket(url, "\u0014") threw exception SyntaxError: The subprotocol '\u0014' is invalid.. |
+PASS new WebSocket(url, "\u0015") threw exception SyntaxError: The subprotocol '\u0015' is invalid.. |
+PASS new WebSocket(url, "\u0016") threw exception SyntaxError: The subprotocol '\u0016' is invalid.. |
+PASS new WebSocket(url, "\u0017") threw exception SyntaxError: The subprotocol '\u0017' is invalid.. |
+PASS new WebSocket(url, "\u0018") threw exception SyntaxError: The subprotocol '\u0018' is invalid.. |
+PASS new WebSocket(url, "\u0019") threw exception SyntaxError: The subprotocol '\u0019' is invalid.. |
+PASS new WebSocket(url, "\u001a") threw exception SyntaxError: The subprotocol '\u001A' is invalid.. |
+PASS new WebSocket(url, "\u001b") threw exception SyntaxError: The subprotocol '\u001B' is invalid.. |
+PASS new WebSocket(url, "\u001c") threw exception SyntaxError: The subprotocol '\u001C' is invalid.. |
+PASS new WebSocket(url, "\u001d") threw exception SyntaxError: The subprotocol '\u001D' is invalid.. |
+PASS new WebSocket(url, "\u001e") threw exception SyntaxError: The subprotocol '\u001E' is invalid.. |
+PASS new WebSocket(url, "\u001f") threw exception SyntaxError: The subprotocol '\u001F' is invalid.. |
+PASS new WebSocket(url, "\u0020") threw exception SyntaxError: The subprotocol ' ' is invalid.. |
PASS WebSocket correctly accepted subprotocol "\u0021" |
-PASS new WebSocket(url, "\u0022") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '"' is invalid.. |
+PASS new WebSocket(url, "\u0022") threw exception SyntaxError: The subprotocol '"' is invalid.. |
PASS WebSocket correctly accepted subprotocol "\u0023" |
PASS WebSocket correctly accepted subprotocol "\u0024" |
PASS WebSocket correctly accepted subprotocol "\u0025" |
PASS WebSocket correctly accepted subprotocol "\u0026" |
PASS WebSocket correctly accepted subprotocol "\u0027" |
-PASS new WebSocket(url, "\u0028") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '(' is invalid.. |
-PASS new WebSocket(url, "\u0029") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol ')' is invalid.. |
+PASS new WebSocket(url, "\u0028") threw exception SyntaxError: The subprotocol '(' is invalid.. |
+PASS new WebSocket(url, "\u0029") threw exception SyntaxError: The subprotocol ')' is invalid.. |
PASS WebSocket correctly accepted subprotocol "\u002a" |
PASS WebSocket correctly accepted subprotocol "\u002b" |
-PASS new WebSocket(url, "\u002c") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol ',' is invalid.. |
+PASS new WebSocket(url, "\u002c") threw exception SyntaxError: The subprotocol ',' is invalid.. |
PASS WebSocket correctly accepted subprotocol "\u002d" |
PASS WebSocket correctly accepted subprotocol "\u002e" |
-PASS new WebSocket(url, "\u002f") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '/' is invalid.. |
+PASS new WebSocket(url, "\u002f") threw exception SyntaxError: The subprotocol '/' is invalid.. |
PASS WebSocket correctly accepted subprotocol "\u0030" |
PASS WebSocket correctly accepted subprotocol "\u0031" |
PASS WebSocket correctly accepted subprotocol "\u0032" |
@@ -60,13 +60,13 @@ PASS WebSocket correctly accepted subprotocol "\u0036" |
PASS WebSocket correctly accepted subprotocol "\u0037" |
PASS WebSocket correctly accepted subprotocol "\u0038" |
PASS WebSocket correctly accepted subprotocol "\u0039" |
-PASS new WebSocket(url, "\u003a") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol ':' is invalid.. |
-PASS new WebSocket(url, "\u003b") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol ';' is invalid.. |
-PASS new WebSocket(url, "\u003c") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '<' is invalid.. |
-PASS new WebSocket(url, "\u003d") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '=' is invalid.. |
-PASS new WebSocket(url, "\u003e") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '>' is invalid.. |
-PASS new WebSocket(url, "\u003f") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '?' is invalid.. |
-PASS new WebSocket(url, "\u0040") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '@' is invalid.. |
+PASS new WebSocket(url, "\u003a") threw exception SyntaxError: The subprotocol ':' is invalid.. |
+PASS new WebSocket(url, "\u003b") threw exception SyntaxError: The subprotocol ';' is invalid.. |
+PASS new WebSocket(url, "\u003c") threw exception SyntaxError: The subprotocol '<' is invalid.. |
+PASS new WebSocket(url, "\u003d") threw exception SyntaxError: The subprotocol '=' is invalid.. |
+PASS new WebSocket(url, "\u003e") threw exception SyntaxError: The subprotocol '>' is invalid.. |
+PASS new WebSocket(url, "\u003f") threw exception SyntaxError: The subprotocol '?' is invalid.. |
+PASS new WebSocket(url, "\u0040") threw exception SyntaxError: The subprotocol '@' is invalid.. |
PASS WebSocket correctly accepted subprotocol "\u0041" |
PASS WebSocket correctly accepted subprotocol "\u0042" |
PASS WebSocket correctly accepted subprotocol "\u0043" |
@@ -93,9 +93,9 @@ PASS WebSocket correctly accepted subprotocol "\u0057" |
PASS WebSocket correctly accepted subprotocol "\u0058" |
PASS WebSocket correctly accepted subprotocol "\u0059" |
PASS WebSocket correctly accepted subprotocol "\u005a" |
-PASS new WebSocket(url, "\u005b") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '[' is invalid.. |
-PASS new WebSocket(url, "\u005c") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\\' is invalid.. |
-PASS new WebSocket(url, "\u005d") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol ']' is invalid.. |
+PASS new WebSocket(url, "\u005b") threw exception SyntaxError: The subprotocol '[' is invalid.. |
+PASS new WebSocket(url, "\u005c") threw exception SyntaxError: The subprotocol '\\' is invalid.. |
+PASS new WebSocket(url, "\u005d") threw exception SyntaxError: The subprotocol ']' is invalid.. |
PASS WebSocket correctly accepted subprotocol "\u005e" |
PASS WebSocket correctly accepted subprotocol "\u005f" |
PASS WebSocket correctly accepted subprotocol "\u0060" |
@@ -125,11 +125,11 @@ PASS WebSocket correctly accepted subprotocol "\u0077" |
PASS WebSocket correctly accepted subprotocol "\u0078" |
PASS WebSocket correctly accepted subprotocol "\u0079" |
PASS WebSocket correctly accepted subprotocol "\u007a" |
-PASS new WebSocket(url, "\u007b") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '{' is invalid.. |
+PASS new WebSocket(url, "\u007b") threw exception SyntaxError: The subprotocol '{' is invalid.. |
PASS WebSocket correctly accepted subprotocol "\u007c" |
-PASS new WebSocket(url, "\u007d") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '}' is invalid.. |
+PASS new WebSocket(url, "\u007d") threw exception SyntaxError: The subprotocol '}' is invalid.. |
PASS WebSocket correctly accepted subprotocol "\u007e" |
-PASS new WebSocket(url, "\u007f") threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u007F' is invalid.. |
+PASS new WebSocket(url, "\u007f") threw exception SyntaxError: The subprotocol '\u007F' is invalid.. |
PASS successfullyParsed is true |
TEST COMPLETE |