Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: LayoutTests/http/tests/websocket/tests/hybi/workers/close-code-and-reason-expected.txt

Issue 14657008: Make websocket error messages look better at the devtools console. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE MESSAGE: WebSocket connection to 'ws://127.0.0.1:8880/websocket/tests/hy bi/echo' failed: WebSocket is closed before the connection is established. 1 CONSOLE MESSAGE: line 31: WebSocket connection to 'ws://127.0.0.1:8880/websocket /tests/hybi/echo' failed: WebSocket is closed before the connection is establish ed.
2 CONSOLE MESSAGE: WebSocket connection to 'ws://127.0.0.1:8880/websocket/tests/hy bi/close-code-and-reason' failed: Received a broken close frame containing an in valid size body. 2 CONSOLE MESSAGE: line 73: WebSocket connection to 'ws://127.0.0.1:8880/websocket /tests/hybi/close-code-and-reason' failed: Received a broken close frame contain ing an invalid size body.
3 CONSOLE MESSAGE: WebSocket connection to 'ws://127.0.0.1:8880/websocket/tests/hy bi/close-code-and-reason' failed: Received a broken close frame containing a res erved status code. 3 CONSOLE MESSAGE: line 73: WebSocket connection to 'ws://127.0.0.1:8880/websocket /tests/hybi/close-code-and-reason' failed: Received a broken close frame contain ing a reserved status code.
4 CONSOLE MESSAGE: WebSocket connection to 'ws://127.0.0.1:8880/websocket/tests/hy bi/close-code-and-reason' failed: Received a broken close frame containing a res erved status code. 4 CONSOLE MESSAGE: line 73: WebSocket connection to 'ws://127.0.0.1:8880/websocket /tests/hybi/close-code-and-reason' failed: Received a broken close frame contain ing a reserved status code.
5 CONSOLE MESSAGE: WebSocket connection to 'ws://127.0.0.1:8880/websocket/tests/hy bi/close-code-and-reason' failed: Received a broken close frame containing a res erved status code. 5 CONSOLE MESSAGE: line 73: WebSocket connection to 'ws://127.0.0.1:8880/websocket /tests/hybi/close-code-and-reason' failed: Received a broken close frame contain ing a reserved status code.
6 Test CloseEvent code and reason property in Worker. 6 Test CloseEvent code and reason property in Worker.
7 7
8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
9 9
10 ws.onclose() was called. 10 ws.onclose() was called.
11 PASS PASS: worker: event.wasClean is false 11 PASS PASS: worker: event.wasClean is false
12 PASS PASS: worker: event.code is codeAbnormalClosure 12 PASS PASS: worker: event.code is codeAbnormalClosure
13 PASS PASS: worker: event.reason is emptyString 13 PASS PASS: worker: event.reason is emptyString
14 WebSocketTest.onopen() was called with testId = 0. 14 WebSocketTest.onopen() was called with testId = 0.
15 WebSocketTest.onclose() was called with testId = 0. 15 WebSocketTest.onclose() was called with testId = 0.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 PASS PASS: worker: event.code is 65535 65 PASS PASS: worker: event.code is 65535
66 PASS PASS: worker: event.reason is good bye 66 PASS PASS: worker: event.reason is good bye
67 PASS PASS: worker: event.wasClean is true 67 PASS PASS: worker: event.wasClean is true
68 PASS PASS: worker: event.code is 65535 68 PASS PASS: worker: event.code is 65535
69 PASS PASS: worker: event.reason is good bye 69 PASS PASS: worker: event.reason is good bye
70 DONE 70 DONE
71 PASS successfullyParsed is true 71 PASS successfullyParsed is true
72 72
73 TEST COMPLETE 73 TEST COMPLETE
74 74
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698