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/virtual/stable/http/tests/websocket/invalid-subprotocols-expected.txt

Issue 317843002: Turn on the new WebSocket implementation by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove layout tests of old WebSocket implementation. Created 6 years, 6 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
(Empty)
1 WebSocket should fail if invalid subprotocols are specified
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
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: Failed to construct 'WebSocket': The subprotocol 'a,b' 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: Failed to constru ct 'WebSocket': The subprotocol '\u3042' 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: Faile d to construct 'WebSocket': The subprotocol 'a' is duplicated..
11 PASS successfullyParsed is true
12
13 TEST COMPLETE
14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698