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

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

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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 Test WebSocket bad sub-protocol names by control characters. 1 Test WebSocket bad sub-protocol names by control characters.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 PASS new WebSocket("ws://127.0.0.1:8880/simple", "\0") threw exception SyntaxErr or: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0000' is inva lid.. 5 PASS new WebSocket("ws://127.0.0.1:8880/simple", "\0") threw exception SyntaxErr or: The subprotocol '\u0000' is invalid..
6 PASS new WebSocket("ws://127.0.0.1:8880/simple", "» ") threw exception Synta xError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u0009' is invalid.. 6 PASS new WebSocket("ws://127.0.0.1:8880/simple", "» ") threw exception Synta xError: The subprotocol '\u0009' is invalid..
7 PASS new WebSocket("ws://127.0.0.1:8880/simple", " 7 PASS new WebSocket("ws://127.0.0.1:8880/simple", "
8 ") threw exception SyntaxError: Unexpected token ILLEGAL. 8 ") threw exception SyntaxError: Unexpected token ILLEGAL.
9 PASS new WebSocket("ws://127.0.0.1:8880/simple", " 9 PASS new WebSocket("ws://127.0.0.1:8880/simple", "
10 ") threw exception SyntaxError: Unexpected token ILLEGAL. 10 ") threw exception SyntaxError: Unexpected token ILLEGAL.
11 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxErro r: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u001B' is inval id.. 11 PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception SyntaxErro r: The subprotocol '\u001B' is invalid..
12 PASS successfullyParsed is true 12 PASS successfullyParsed is true
13 13
14 TEST COMPLETE 14 TEST COMPLETE
15 15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698