| 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>
|
|
|