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

Unified Diff: net/data/websocket/connect_to.html

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/data/websocket/connect_check.html ('k') | net/data/websocket/count-connection_wsh.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/websocket/connect_to.html
diff --git a/net/data/websocket/connect_to.html b/net/data/websocket/connect_to.html
deleted file mode 100644
index 05c653fc5d2ab9a333efea5b4c5eee83a03bbe07..0000000000000000000000000000000000000000
--- a/net/data/websocket/connect_to.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title>test ws connection</title>
-<script type="text/javascript">
-
-var href = window.location.href;
-var queryBegin = href.indexOf('?url=');
-if (queryBegin == -1) {
- console.log("Failed to find ?url= in URL");
- document.title = 'FAIL';
- throw "FAILURE";
-}
-var url = href.slice(queryBegin + 5);
-
-// Do connection test.
-var ws = new WebSocket(url);
-
-ws.onopen = function()
-{
- // Set document title to 'PASS'. The test observer catches this title changes
- // to know the result.
- document.title = 'PASS';
-}
-
-ws.onclose = function()
-{
- // Set document title to 'FAIL'.
- document.title = 'FAIL';
-}
-
-</script>
-</head>
-</html>
« no previous file with comments | « net/data/websocket/connect_check.html ('k') | net/data/websocket/count-connection_wsh.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698