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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/data/websocket/count_connection.html ('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/counted_connection.html
diff --git a/net/data/websocket/counted_connection.html b/net/data/websocket/counted_connection.html
new file mode 100644
index 0000000000000000000000000000000000000000..bb53ec1fa925b07486e3c8d268bf6b4004f1d4c0
--- /dev/null
+++ b/net/data/websocket/counted_connection.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<html>
+<head>
+<title>Connect to a WebSocket server</title>
+<script type="text/javascript">
+var protocol = location.protocol.replace('http', 'ws');
+var url = protocol + '//' + location.host + '/count-connection';
+var ws = new WebSocket(url);
+
+ws.onopen = function() {
+ document.title = 'CONNECTED';
+};
+
+ws.onclose = function() {
+ document.title = 'CLOSED';
+};
+</script>
+</head>
+</html>
« no previous file with comments | « net/data/websocket/count_connection.html ('k') | net/data/websocket/split_packet_check.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698