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

Side by Side Diff: LayoutTests/http/tests/websocket/invalid-subprotocols-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 WebSocket should fail if invalid subprotocols are specified 1 WebSocket should fail if invalid subprotocols are specified
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(url, 'a b') threw exception SyntaxError: Failed to execute 'c onnect' on 'WebSocket': The subprotocol 'a b' is invalid.. 5 PASS new WebSocket(url, 'a b') threw exception SyntaxError: The subprotocol 'a b ' is invalid..
6 PASS new WebSocket(url, 'a,b') threw exception SyntaxError: Failed to execute 'c onnect' on 'WebSocket': The subprotocol 'a,b' is invalid.. 6 PASS new WebSocket(url, 'a,b') threw exception SyntaxError: The subprotocol 'a,b ' is invalid..
7 PASS new WebSocket(url, 'a\0b') threw exception SyntaxError: Failed to execute ' connect' on 'WebSocket': The subprotocol 'a\u0000b' is invalid.. 7 PASS new WebSocket(url, 'a\0b') threw exception SyntaxError: The subprotocol 'a\ u0000b' is invalid..
8 PASS new WebSocket(url, '\u3042') threw exception SyntaxError: Failed to execute 'connect' on 'WebSocket': The subprotocol '\u3042' is invalid.. 8 PASS new WebSocket(url, '\u3042') threw exception SyntaxError: The subprotocol ' \u3042' is invalid..
9 PASS new WebSocket(url, ['a', 'b', 'c d']) threw exception SyntaxError: Failed t o execute 'connect' on 'WebSocket': The subprotocol 'c d' is invalid.. 9 PASS new WebSocket(url, ['a', 'b', 'c d']) threw exception SyntaxError: The subp rotocol 'c d' is invalid..
10 PASS new WebSocket(url, ['a', 'b', 'c', 'a']) threw exception SyntaxError: Faile d to execute 'connect' on 'WebSocket': The subprotocol 'a' is duplicated.. 10 PASS new WebSocket(url, ['a', 'b', 'c', 'a']) threw exception SyntaxError: The s ubprotocol 'a' is duplicated..
11 PASS successfullyParsed is true 11 PASS successfullyParsed is true
12 12
13 TEST COMPLETE 13 TEST COMPLETE
14 14
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/websocket/invalid-subprotocols.html ('k') | LayoutTests/http/tests/websocket/url-parsing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698