Index: LayoutTests/http/tests/websocket/tests/hybi/url-parsing.html |
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/url-parsing.html b/LayoutTests/http/tests/websocket/tests/hybi/url-parsing.html |
deleted file mode 100644 |
index b30a61b4ea2419bd02a98ae09125a15a1e93dc84..0000000000000000000000000000000000000000 |
--- a/LayoutTests/http/tests/websocket/tests/hybi/url-parsing.html |
+++ /dev/null |
@@ -1,44 +0,0 @@ |
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
-<html> |
-<head> |
-<script src="/js-test-resources/js-test.js"></script> |
-</head> |
-<body> |
-<div id="description"></div> |
-<div id="console"></div> |
-<script type="text/javascript"> |
-description("Test WebSocket URL parsing."); |
- |
-// Not enough arguments. |
-shouldThrow('new WebSocket()'); |
- |
-// Null URL |
-shouldThrow('new WebSocket(null)'); |
- |
-// Invalid url will fail to be parsed. |
-shouldThrow('new WebSocket("ws://javascript:a")'); |
- |
-// Can't use relative URLs - because spec says so, and because the scheme is different anyway. |
-shouldThrow('new WebSocket("/applet")'); |
- |
-// Non ws URL is not allowed. |
-shouldThrow('new WebSocket("javascript:a")'); |
- |
-// UA is allowed to block access to some ports, which we do. |
-shouldThrow('new WebSocket("ws://127.0.0.1:25/")'); |
- |
-// Resolve the url string using the resolve a Web address algorithm. |
-// Use 127.0.0.1:8880 and existing ws handler to make sure we don't receive unexpected response (so no console message appears) |
-shouldBe('(new WebSocket("ws://127.0.0.1:8880/a/../simple")).URL', '"ws://127.0.0.1:8880/simple"'); |
-shouldBe('(new WebSocket("ws://127.0.0.1:8880/simple?")).URL', '"ws://127.0.0.1:8880/simple?"'); |
-shouldBe('(new WebSocket("ws://127.0.0.1:8880/simple?k=v")).URL', '"ws://127.0.0.1:8880/simple?k=v"'); |
- |
-// The WebSocket API specification says If /url/ has a <fragment> |
-// component, then fail the parsing WebSocket URLs, so throw a SYNTAX_ERR |
-// exception. |
-shouldThrow('new WebSocket("ws://127.0.0.1/path#")'); |
-shouldThrow('new WebSocket("ws://127.0.0.1/path#fragment")'); |
- |
-</script> |
-</body> |
-</html> |