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

Side by Side Diff: LayoutTests/platform/win/websocket/tests/bad-sub-protocol-control-chars-expected.txt

Issue 265843006: Remove stale platform-specific expectations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Script bug: do not delete chunked-progress-event-expectedLength-expected.txt Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 CONSOLE MESSAGE: Wrong protocol for WebSocket '\u0000'
2 CONSOLE MESSAGE: Wrong protocol for WebSocket '\u0009'
3 CONSOLE MESSAGE: Wrong protocol for WebSocket '\u001B'
4 Test WebSocket bad sub-protocol names by control characters.
5
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
7
8 PASS new WebSocket("ws://127.0.0.1:8880/simple", "\0") threw exception Error: SY NTAX_ERR: DOM Exception 12.
9 PASS new WebSocket("ws://127.0.0.1:8880/simple", " ") threw exception Error : SYNTAX_ERR: DOM Exception 12.
10 PASS new WebSocket("ws://127.0.0.1:8880/simple", "
11 ") threw exception SyntaxError: Unexpected token ILLEGAL.
12 PASS new WebSocket("ws://127.0.0.1:8880/simple", "
13 ") threw exception SyntaxError: Unexpected token ILLEGAL.
14 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception Error: SYN TAX_ERR: DOM Exception 12.
15 PASS successfullyParsed is true
16
17 TEST COMPLETE
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698