- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 06 Jan 2010 04:50:10 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv24587
Modified Files:
Overview.html
Log Message:
Shut down WebSocket when a document is unloaded. Add a hook for XHR to do the same. (whatwg r4501)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3600
retrieving revision 1.3601
diff -u -d -r1.3600 -r1.3601
--- Overview.html 6 Jan 2010 03:52:28 -0000 1.3600
+++ Overview.html 6 Jan 2010 04:50:06 -0000 1.3601
@@ -48207,7 +48207,17 @@
<li><p>Empty the <code>Document</code>'s <code><a href="#window">Window</a></code>'s
<a href="#list-of-active-timeouts">list of active timeouts</a> and its <a href="#list-of-active-intervals">list of active
- intervals</a>.</li>
+ intervals</a>.</li> <!-- should this affect var
+ title="">salvageable</var>? -->
+
+ <li><p><span>Close the Web Socket connection</span> of any
+ <code>WebSocket</code> objects that were created by the <code title="dom-WebSocket">WebSocket()</code> constructor visible on the
+ <code>Document</code>'s <code><a href="#window">Window</a></code> object. If this
+ affected any <code>WebSocket</code> objects, set <var title="">salvageable</var> to false.</li>
+
+ <li><p>Run any <dfn id="unloading-document-cleanup-steps">unloading document cleanup steps</dfn> for
+ <code>Document</code> that are defined by any other relevant
+ specifications.</li>
<li><p>If this algorithm was invoked by another instance of the
"unload a document" algorithm (i.e. through the steps below that
Received on Wednesday, 6 January 2010 04:50:11 UTC