| CONSOLE MESSAGE: line 0: Invalid url for WebSocket ws://javascript:a/ |
| CONSOLE MESSAGE: line 0: Wrong url scheme for WebSocket http://127.0.0.1:8880/applet |
| CONSOLE MESSAGE: line 0: Wrong url scheme for WebSocket javascript:a |
| CONSOLE MESSAGE: line 0: WebSocket port 25 blocked |
| CONSOLE MESSAGE: line 0: URL has fragment component ws://127.0.0.1/path# |
| CONSOLE MESSAGE: line 0: URL has fragment component ws://127.0.0.1/path#fragment |
| Test WebSocket URL parsing. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| PASS new WebSocket("ws://javascript:a") threw exception Error: SYNTAX_ERR: DOM Exception 12. |
| PASS new WebSocket("/applet") threw exception Error: SYNTAX_ERR: DOM Exception 12. |
| PASS new WebSocket("javascript:a") threw exception Error: SYNTAX_ERR: DOM Exception 12. |
| PASS new WebSocket("ws://127.0.0.1:25/") threw exception Error: SECURITY_ERR: DOM Exception 18. |
| PASS (new WebSocket("ws://127.0.0.1:8880/a/../websocket/tests/simple")).URL is "ws://127.0.0.1:8880/websocket/tests/simple" |
| PASS (new WebSocket("ws://127.0.0.1:8880/websocket/tests/simple?")).URL is "ws://127.0.0.1:8880/websocket/tests/simple?" |
| 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" |
| PASS new WebSocket("ws://127.0.0.1/path#") threw exception Error: SYNTAX_ERR: DOM Exception 12. |
| PASS new WebSocket("ws://127.0.0.1/path#fragment") threw exception Error: SYNTAX_ERR: DOM Exception 12. |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |