| OLD | NEW |
| (Empty) |
| 1 CONSOLE ERROR: line 28: WebSocket connection to 'ws://localhost:8880/deflate-fra
me-invalid-parameter?x-foo' failed: Error during WebSocket handshake: Error in x
-webkit-deflate-frame: Received unexpected deflate-frame parameter | |
| 2 CONSOLE ERROR: line 28: WebSocket connection to 'ws://localhost:8880/deflate-fra
me-invalid-parameter?max_window_bits=7' failed: Error during WebSocket handshake
: Error in x-webkit-deflate-frame: Received invalid max_window_bits parameter | |
| 3 CONSOLE ERROR: line 28: WebSocket connection to 'ws://localhost:8880/deflate-fra
me-invalid-parameter?max_window_bits=16' failed: Error during WebSocket handshak
e: Error in x-webkit-deflate-frame: Received invalid max_window_bits parameter | |
| 4 CONSOLE ERROR: line 28: WebSocket connection to 'ws://localhost:8880/deflate-fra
me-invalid-parameter?no_context_takeover=foo' failed: Error during WebSocket han
dshake: Error in x-webkit-deflate-frame: Received invalid no_context_takeover pa
rameter | |
| 5 CONSOLE ERROR: line 28: WebSocket connection to 'ws://localhost:8880/deflate-fra
me-invalid-parameter?max_window_bits=8;%20no_context_takeover;%20x-foo' failed:
Error during WebSocket handshake: Error in x-webkit-deflate-frame: Received unex
pected deflate-frame parameter | |
| 6 Test whether WebSocket rejects invalid deflate-frame parameters. | |
| 7 | |
| 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 9 | |
| 10 Testing parameter: "x-foo" | |
| 11 onclose() was called. | |
| 12 PASS closeEvent.wasClean is false | |
| 13 Testing parameter: "max_window_bits=7" | |
| 14 onclose() was called. | |
| 15 PASS closeEvent.wasClean is false | |
| 16 Testing parameter: "max_window_bits=16" | |
| 17 onclose() was called. | |
| 18 PASS closeEvent.wasClean is false | |
| 19 Testing parameter: "no_context_takeover=foo" | |
| 20 onclose() was called. | |
| 21 PASS closeEvent.wasClean is false | |
| 22 Testing parameter: "max_window_bits=8; no_context_takeover; x-foo" | |
| 23 onclose() was called. | |
| 24 PASS closeEvent.wasClean is false | |
| 25 PASS successfullyParsed is true | |
| 26 | |
| 27 TEST COMPLETE | |
| 28 | |
| OLD | NEW |