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

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

Issue 101143002: Remove hybi sub directory for WebSocket layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
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 execute 'c onnect' on 'WebSocket': 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..
7 PASS new WebSocket(url, 'a\0b') threw exception SyntaxError: Failed to execute ' connect' on 'WebSocket': 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..
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..
10 PASS new WebSocket(url, ['a', 'b', 'c', 'a']) threw exception SyntaxError: Faile d to execute 'connect' on '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