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

Side by Side Diff: LayoutTests/http/tests/websocket/invalid-subprotocols-expected.txt

Issue 111373003: Migrate bindings constructors to the new ExceptionState model. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
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: The subprotocol 'a b ' is invalid.. 5 PASS new WebSocket(url, 'a b') threw exception SyntaxError: Failed to construct 'WebSocket': The subprotocol 'a b' is invalid..
6 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 construct 'WebSocket': The subprotocol 'a,b' is invalid..
7 PASS new WebSocket(url, 'a\0b') threw exception SyntaxError: The subprotocol 'a\ u0000b' is invalid.. 7 PASS new WebSocket(url, 'a\0b') threw exception SyntaxError: Failed to construct 'WebSocket': The subprotocol 'a\u0000b' is invalid..
8 PASS new WebSocket(url, '\u3042') threw exception SyntaxError: The subprotocol ' \u3042' is invalid.. 8 PASS new WebSocket(url, '\u3042') threw exception SyntaxError: Failed to constru ct 'WebSocket': The subprotocol '\u3042' is invalid..
9 PASS new WebSocket(url, ['a', 'b', 'c d']) threw exception SyntaxError: The subp rotocol 'c d' is invalid.. 9 PASS new WebSocket(url, ['a', 'b', 'c d']) threw exception SyntaxError: Failed t o construct 'WebSocket': The subprotocol 'c d' is invalid..
10 PASS new WebSocket(url, ['a', 'b', 'c', 'a']) threw exception SyntaxError: The s ubprotocol 'a' is duplicated.. 10 PASS new WebSocket(url, ['a', 'b', 'c', 'a']) threw exception SyntaxError: Faile d to construct 'WebSocket': The subprotocol 'a' is duplicated..
11 PASS successfullyParsed is true 11 PASS successfullyParsed is true
12 12
13 TEST COMPLETE 13 TEST COMPLETE
14 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698