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/counted-connection.html

Issue 390773002: [WebSocket] Send a close frame when the renderer process is gone. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <title>Connect to a WebSocket server</title>
5 <script type="text/javascript">
6 var scheme = location.protocol.replace('http', 'ws');
7 var url = scheme + location.host + '/count-connection';
8 var ws = new WebSocket(url);
9
10 ws.onopen = function() {
11 document.title = 'CONNECTED';
12 };
13
14 ws.onclose = function() {
15 document.title = 'CLOSED';
16 };
17 </script>
18 </head>
19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698