OLD | NEW |
| (Empty) |
1 WebSocket should fail if subprotocol contains a forbidden character. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 PASS new WebSocket(url, "\u0000") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0000' is invalid.. | |
6 PASS new WebSocket(url, "\u0001") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0001' is invalid.. | |
7 PASS new WebSocket(url, "\u0002") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0002' is invalid.. | |
8 PASS new WebSocket(url, "\u0003") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0003' is invalid.. | |
9 PASS new WebSocket(url, "\u0004") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0004' is invalid.. | |
10 PASS new WebSocket(url, "\u0005") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0005' is invalid.. | |
11 PASS new WebSocket(url, "\u0006") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0006' is invalid.. | |
12 PASS new WebSocket(url, "\u0007") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0007' is invalid.. | |
13 PASS new WebSocket(url, "\u0008") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0008' is invalid.. | |
14 PASS new WebSocket(url, "\u0009") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0009' is invalid.. | |
15 PASS new WebSocket(url, "\u000a") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u000A' is invalid.. | |
16 PASS new WebSocket(url, "\u000b") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u000B' is invalid.. | |
17 PASS new WebSocket(url, "\u000c") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u000C' is invalid.. | |
18 PASS new WebSocket(url, "\u000d") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u000D' is invalid.. | |
19 PASS new WebSocket(url, "\u000e") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u000E' is invalid.. | |
20 PASS new WebSocket(url, "\u000f") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u000F' is invalid.. | |
21 PASS new WebSocket(url, "\u0010") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0010' is invalid.. | |
22 PASS new WebSocket(url, "\u0011") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0011' is invalid.. | |
23 PASS new WebSocket(url, "\u0012") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0012' is invalid.. | |
24 PASS new WebSocket(url, "\u0013") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0013' is invalid.. | |
25 PASS new WebSocket(url, "\u0014") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0014' is invalid.. | |
26 PASS new WebSocket(url, "\u0015") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0015' is invalid.. | |
27 PASS new WebSocket(url, "\u0016") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0016' is invalid.. | |
28 PASS new WebSocket(url, "\u0017") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0017' is invalid.. | |
29 PASS new WebSocket(url, "\u0018") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0018' is invalid.. | |
30 PASS new WebSocket(url, "\u0019") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u0019' is invalid.. | |
31 PASS new WebSocket(url, "\u001a") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u001A' is invalid.. | |
32 PASS new WebSocket(url, "\u001b") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u001B' is invalid.. | |
33 PASS new WebSocket(url, "\u001c") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u001C' is invalid.. | |
34 PASS new WebSocket(url, "\u001d") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u001D' is invalid.. | |
35 PASS new WebSocket(url, "\u001e") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u001E' is invalid.. | |
36 PASS new WebSocket(url, "\u001f") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u001F' is invalid.. | |
37 PASS new WebSocket(url, "\u0020") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol ' ' is invalid.. | |
38 PASS WebSocket correctly accepted subprotocol "\u0021" | |
39 PASS new WebSocket(url, "\u0022") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '"' is invalid.. | |
40 PASS WebSocket correctly accepted subprotocol "\u0023" | |
41 PASS WebSocket correctly accepted subprotocol "\u0024" | |
42 PASS WebSocket correctly accepted subprotocol "\u0025" | |
43 PASS WebSocket correctly accepted subprotocol "\u0026" | |
44 PASS WebSocket correctly accepted subprotocol "\u0027" | |
45 PASS new WebSocket(url, "\u0028") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '(' is invalid.. | |
46 PASS new WebSocket(url, "\u0029") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol ')' is invalid.. | |
47 PASS WebSocket correctly accepted subprotocol "\u002a" | |
48 PASS WebSocket correctly accepted subprotocol "\u002b" | |
49 PASS new WebSocket(url, "\u002c") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol ',' is invalid.. | |
50 PASS WebSocket correctly accepted subprotocol "\u002d" | |
51 PASS WebSocket correctly accepted subprotocol "\u002e" | |
52 PASS new WebSocket(url, "\u002f") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '/' is invalid.. | |
53 PASS WebSocket correctly accepted subprotocol "\u0030" | |
54 PASS WebSocket correctly accepted subprotocol "\u0031" | |
55 PASS WebSocket correctly accepted subprotocol "\u0032" | |
56 PASS WebSocket correctly accepted subprotocol "\u0033" | |
57 PASS WebSocket correctly accepted subprotocol "\u0034" | |
58 PASS WebSocket correctly accepted subprotocol "\u0035" | |
59 PASS WebSocket correctly accepted subprotocol "\u0036" | |
60 PASS WebSocket correctly accepted subprotocol "\u0037" | |
61 PASS WebSocket correctly accepted subprotocol "\u0038" | |
62 PASS WebSocket correctly accepted subprotocol "\u0039" | |
63 PASS new WebSocket(url, "\u003a") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol ':' is invalid.. | |
64 PASS new WebSocket(url, "\u003b") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol ';' is invalid.. | |
65 PASS new WebSocket(url, "\u003c") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '<' is invalid.. | |
66 PASS new WebSocket(url, "\u003d") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '=' is invalid.. | |
67 PASS new WebSocket(url, "\u003e") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '>' is invalid.. | |
68 PASS new WebSocket(url, "\u003f") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '?' is invalid.. | |
69 PASS new WebSocket(url, "\u0040") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '@' is invalid.. | |
70 PASS WebSocket correctly accepted subprotocol "\u0041" | |
71 PASS WebSocket correctly accepted subprotocol "\u0042" | |
72 PASS WebSocket correctly accepted subprotocol "\u0043" | |
73 PASS WebSocket correctly accepted subprotocol "\u0044" | |
74 PASS WebSocket correctly accepted subprotocol "\u0045" | |
75 PASS WebSocket correctly accepted subprotocol "\u0046" | |
76 PASS WebSocket correctly accepted subprotocol "\u0047" | |
77 PASS WebSocket correctly accepted subprotocol "\u0048" | |
78 PASS WebSocket correctly accepted subprotocol "\u0049" | |
79 PASS WebSocket correctly accepted subprotocol "\u004a" | |
80 PASS WebSocket correctly accepted subprotocol "\u004b" | |
81 PASS WebSocket correctly accepted subprotocol "\u004c" | |
82 PASS WebSocket correctly accepted subprotocol "\u004d" | |
83 PASS WebSocket correctly accepted subprotocol "\u004e" | |
84 PASS WebSocket correctly accepted subprotocol "\u004f" | |
85 PASS WebSocket correctly accepted subprotocol "\u0050" | |
86 PASS WebSocket correctly accepted subprotocol "\u0051" | |
87 PASS WebSocket correctly accepted subprotocol "\u0052" | |
88 PASS WebSocket correctly accepted subprotocol "\u0053" | |
89 PASS WebSocket correctly accepted subprotocol "\u0054" | |
90 PASS WebSocket correctly accepted subprotocol "\u0055" | |
91 PASS WebSocket correctly accepted subprotocol "\u0056" | |
92 PASS WebSocket correctly accepted subprotocol "\u0057" | |
93 PASS WebSocket correctly accepted subprotocol "\u0058" | |
94 PASS WebSocket correctly accepted subprotocol "\u0059" | |
95 PASS WebSocket correctly accepted subprotocol "\u005a" | |
96 PASS new WebSocket(url, "\u005b") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '[' is invalid.. | |
97 PASS new WebSocket(url, "\u005c") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\\' is invalid.. | |
98 PASS new WebSocket(url, "\u005d") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol ']' is invalid.. | |
99 PASS WebSocket correctly accepted subprotocol "\u005e" | |
100 PASS WebSocket correctly accepted subprotocol "\u005f" | |
101 PASS WebSocket correctly accepted subprotocol "\u0060" | |
102 PASS WebSocket correctly accepted subprotocol "\u0061" | |
103 PASS WebSocket correctly accepted subprotocol "\u0062" | |
104 PASS WebSocket correctly accepted subprotocol "\u0063" | |
105 PASS WebSocket correctly accepted subprotocol "\u0064" | |
106 PASS WebSocket correctly accepted subprotocol "\u0065" | |
107 PASS WebSocket correctly accepted subprotocol "\u0066" | |
108 PASS WebSocket correctly accepted subprotocol "\u0067" | |
109 PASS WebSocket correctly accepted subprotocol "\u0068" | |
110 PASS WebSocket correctly accepted subprotocol "\u0069" | |
111 PASS WebSocket correctly accepted subprotocol "\u006a" | |
112 PASS WebSocket correctly accepted subprotocol "\u006b" | |
113 PASS WebSocket correctly accepted subprotocol "\u006c" | |
114 PASS WebSocket correctly accepted subprotocol "\u006d" | |
115 PASS WebSocket correctly accepted subprotocol "\u006e" | |
116 PASS WebSocket correctly accepted subprotocol "\u006f" | |
117 PASS WebSocket correctly accepted subprotocol "\u0070" | |
118 PASS WebSocket correctly accepted subprotocol "\u0071" | |
119 PASS WebSocket correctly accepted subprotocol "\u0072" | |
120 PASS WebSocket correctly accepted subprotocol "\u0073" | |
121 PASS WebSocket correctly accepted subprotocol "\u0074" | |
122 PASS WebSocket correctly accepted subprotocol "\u0075" | |
123 PASS WebSocket correctly accepted subprotocol "\u0076" | |
124 PASS WebSocket correctly accepted subprotocol "\u0077" | |
125 PASS WebSocket correctly accepted subprotocol "\u0078" | |
126 PASS WebSocket correctly accepted subprotocol "\u0079" | |
127 PASS WebSocket correctly accepted subprotocol "\u007a" | |
128 PASS new WebSocket(url, "\u007b") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '{' is invalid.. | |
129 PASS WebSocket correctly accepted subprotocol "\u007c" | |
130 PASS new WebSocket(url, "\u007d") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '}' is invalid.. | |
131 PASS WebSocket correctly accepted subprotocol "\u007e" | |
132 PASS new WebSocket(url, "\u007f") threw exception SyntaxError: Failed to constru
ct 'WebSocket': The subprotocol '\u007F' is invalid.. | |
133 PASS successfullyParsed is true | |
134 | |
135 TEST COMPLETE | |
136 | |
OLD | NEW |