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

Unified Diff: net/data/websocket/proxied_request_check.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/protocol-test_wsh.py ('k') | net/data/websocket/split_packet_check.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/websocket/proxied_request_check.html
diff --git a/net/data/websocket/proxied_request_check.html b/net/data/websocket/proxied_request_check.html
deleted file mode 100644
index 9d6d64edbe1ab769395e852a7163ae46a5f4dc1a..0000000000000000000000000000000000000000
--- a/net/data/websocket/proxied_request_check.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<head>
-<title>test proxied ws connection</title>
-</head>
-<script type="text/javascript">
-// Do connection test and check the headers arrive at the WebSocket.
-
-var protocol = location.protocol.replace('http', 'ws');
-var url = protocol + '//' + location.host + '/echo-request-headers';
-var ws = new WebSocket(url);
-
-ws.onmessage = function(evt)
-{
- var headers = JSON.parse(evt.data);
- for (var name in headers) {
- // The keys in the serialized data are lower cased.
- if (name.startsWith('proxy-')) {
- document.title = 'FAIL';
- return;
- }
- }
-
- // Set document title to 'PASS'. The test observer catches this title changes
- // to know the result.
- document.title = 'PASS';
-}
-
-ws.onclose = function()
-{
- document.title = 'FAIL';
-}
-</script>
« no previous file with comments | « net/data/websocket/protocol-test_wsh.py ('k') | net/data/websocket/split_packet_check.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698