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

Side by Side Diff: net/data/websocket/connect_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 unified diff | Download patch
« no previous file with comments | « net/data/websocket/close_wsh.py ('k') | net/data/websocket/connect_to.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>test ws connection</title>
5 <script type="text/javascript">
6 var protocol = location.protocol.replace('http', 'ws');
7 var url = protocol + '//' + location.host + '/echo-with-no-extension';
8 // Do connection test.
9 var ws = new WebSocket(url);
10
11 ws.onopen = function()
12 {
13 // Set document title to 'PASS'. The test observer catches this title changes
14 // to know the result.
15 document.title = 'PASS';
16 }
17
18 ws.onclose = function()
19 {
20 // Set document title to 'FAIL'.
21 document.title = 'FAIL';
22 }
23
24 </script>
25 </head>
26 </html>
OLDNEW
« no previous file with comments | « net/data/websocket/close_wsh.py ('k') | net/data/websocket/connect_to.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698