Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / platform / win / websocket / tests / url-parsing-expected.txt
1 CONSOLE MESSAGE: Wrong url scheme for WebSocket http://127.0.0.1:8000/websocket/tests/hybi/null
2 CONSOLE MESSAGE: Invalid url for WebSocket ws://javascript:a/
3 CONSOLE MESSAGE: Wrong url scheme for WebSocket http://127.0.0.1:8880/applet
4 CONSOLE MESSAGE: Wrong url scheme for WebSocket javascript:a
5 CONSOLE MESSAGE: WebSocket port 25 blocked
6 CONSOLE MESSAGE: URL has fragment component ws://127.0.0.1/path#
7 CONSOLE MESSAGE: URL has fragment component ws://127.0.0.1/path#fragment
8 Test WebSocket URL parsing.
9
10 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
11
12 PASS new WebSocket(null) threw exception Error: SyntaxError: DOM Exception 12.
13 PASS new WebSocket("ws://javascript:a") threw exception Error: SyntaxError: DOM Exception 12.
14 PASS new WebSocket("/applet") threw exception Error: SyntaxError: DOM Exception 12.
15 PASS new WebSocket("javascript:a") threw exception Error: SyntaxError: DOM Exception 12.
16 PASS new WebSocket("ws://127.0.0.1:25/") threw exception Error: SecurityError: DOM Exception 18.
17 PASS (new WebSocket("ws://127.0.0.1:8880/a/../websocket/tests/simple")).URL is "ws://127.0.0.1:8880/websocket/tests/simple"
18 PASS (new WebSocket("ws://127.0.0.1:8880/websocket/tests/simple?")).URL is "ws://127.0.0.1:8880/websocket/tests/simple?"
19 PASS (new WebSocket("ws://127.0.0.1:8880/websocket/tests/simple?k=v")).URL is "ws://127.0.0.1:8880/websocket/tests/simple?k=v"
20 PASS new WebSocket("ws://127.0.0.1/path#") threw exception Error: SyntaxError: DOM Exception 12.
21 PASS new WebSocket("ws://127.0.0.1/path#fragment") threw exception Error: SyntaxError: DOM Exception 12.
22 PASS successfullyParsed is true
23
24 TEST COMPLETE