| OLD | NEW |
| 1 PASS successfullyParsed is true | 1 PASS successfullyParsed is true |
| 2 | 2 |
| 3 TEST COMPLETE | 3 TEST COMPLETE |
| 4 onopen | 4 onopen |
| 5 Tests that WebSocket handshake information is passed to Web Inspector. | 5 Tests that WebSocket handshake information is passed to Web Inspector. |
| 6 | 6 |
| 7 log: | |
| 8 log: requestMethod: GET | 7 log: requestMethod: GET |
| 9 log: requestHeaders | 8 log: requestHeaders |
| 10 log: Accept-Encoding: gzip, deflate | 9 log: Accept-Encoding: gzip, deflate |
| 11 log: Accept-Language: en-us,en | 10 log: Accept-Language: en-us,en |
| 12 log: Cache-Control: no-cache | 11 log: Cache-Control: no-cache |
| 13 log: Connection: Upgrade | 12 log: Connection: Upgrade |
| 14 log: Host: localhost:8880 | 13 log: Host: localhost:8880 |
| 15 log: Origin: http://127.0.0.1:8000 | 14 log: Origin: http://127.0.0.1:8000 |
| 16 log: Pragma: no-cache | 15 log: Pragma: no-cache |
| 17 log: Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits | 16 log: Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits |
| 18 log: Sec-WebSocket-Key: *** | 17 log: Sec-WebSocket-Key: *** |
| 19 log: Sec-WebSocket-Version: 13 | 18 log: Sec-WebSocket-Version: 13 |
| 20 log: Upgrade: websocket | 19 log: Upgrade: websocket |
| 21 log: User-Agent: *** | 20 log: User-Agent: *** |
| 22 log: requestHeadersText (first line): GET ws://localhost:8880/duplicated-headers
HTTP/1.1 | 21 log: requestHeadersText (first line): GET ws://localhost:8880/duplicated-headers
HTTP/1.1 |
| 23 log: statusCode: 101 | 22 log: statusCode: 101 |
| 24 log: statusText: Switching Protocols | 23 log: statusText: Switching Protocols |
| 25 log: responseHeaders | 24 log: responseHeaders |
| 26 log: Connection: Upgrade | 25 log: Connection: Upgrade |
| 27 log: Sec-WebSocket-Accept: *** | 26 log: Sec-WebSocket-Accept: *** |
| 28 log: Upgrade: websocket | 27 log: Upgrade: websocket |
| 29 log: foo: FUGA | 28 log: foo: FUGA |
| 30 log: foo: bar, baz | 29 log: foo: bar, baz |
| 31 log: foo: hoge | 30 log: foo: hoge |
| 32 log: xxx: yyy | 31 log: xxx: yyy |
| 33 log: responseHeadersText (first line): HTTP/1.1 101 Switching Protocols | 32 log: responseHeadersText (first line): HTTP/1.1 101 Switching Protocols |
| 34 | 33 |
| OLD | NEW |