W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2009

html5/spec Overview.html,1.2407,1.2408

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 15 Jun 2009 22:55:16 +0000
To: public-html-commits@w3.org
Message-Id: <E1MGL5A-0005y1-Gj@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv22923

Modified Files:
	Overview.html 
Log Message:
Make document.open() handle timeouts and database transactions more cleanly. (whatwg r3260)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2407
retrieving revision 1.2408
diff -u -d -r1.2407 -r1.2408
--- Overview.html	15 Jun 2009 22:30:51 -0000	1.2407
+++ Overview.html	15 Jun 2009 22:55:13 -0000	1.2408
@@ -7528,20 +7528,6 @@
    document to be unloaded</a>, then these steps must be
    aborted.</li>
 
-   <!-- XXX should some task sources be emptied here? e.g. what about
-   timeouts that fired after this algorithm started but before the
-   list of timeouts was cleared in the previous step? or database
-   transaction callbacks that were queued after the task that started
-   this algorithm?
-
-   This is what the 'discard a document' algorithm does:
-
-     "any <span title="concept-task">tasks</span> associated with the
-     <code>Document</code> in any <span>task source</span> must be
-     removed without being run"
-
-    -->
-
    <li><p>If the document has an <a href="#active-parser">active parser</a>, then
    abort that parser, and throw away any pending content in the input
    stream. <span class="XXX">what about if it doesn't, because it's
@@ -7552,6 +7538,12 @@
    <li><p>Unregister all event listeners registered on the
    <code>Document</code> node and its descendants.</p>
 
+   <li><p>Remove any <a href="#concept-task" title="concept-task">tasks</a>
+   associated with the <code>Document</code> in any <a href="#task-source">task
+   source</a>.</li> <!-- removes callbacks that fired between
+   this algorithm starting and the times and databases being aborted
+   in the "unload" step above -->
+
    <li><p>Remove all child nodes of the document, without firing any
    mutation events.</li> <!-- as of 2009-03-30, only WebKit fired
    mutation events here. -->
Received on Monday, 15 June 2009 22:55:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 15 June 2009 22:55:22 GMT