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

Unified Diff: chrome/test/data/http/tests/ws.html

Issue 11085039: WebSocket test server migration on browser_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: protected -> private Created 8 years, 2 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 | « chrome/test/data/http/tests/websocket/tests/echo_wsh.py ('k') | chrome/test/data/ssl/wss_close.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/http/tests/ws.html
diff --git a/chrome/test/data/http/tests/ws.html b/chrome/test/data/http/tests/ws.html
deleted file mode 100644
index 9eb84ed9f218e7318205e03b8c2f78c87187bf2d..0000000000000000000000000000000000000000
--- a/chrome/test/data/http/tests/ws.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title>test ws connection</title>
-<script type="text/javascript">
-
-var href = window.location.href;
-var portBegin = href.lastIndexOf(':') + 1;
-var portEnd = href.lastIndexOf('/');
-var port = href.slice(portBegin, portEnd);
-var scheme = href.indexOf('https') >= 0 ? 'wss' : 'ws';
-var url = scheme + '://localhost:' + port + '/websocket/tests/echo';
-
-// 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 | « chrome/test/data/http/tests/websocket/tests/echo_wsh.py ('k') | chrome/test/data/ssl/wss_close.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698