[html5] r7374 - [giow] (2) Be explicit about how to cancel 'navigate' when you're running unload [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Sep 18 16:06:43 PDT 2012


Author: ianh
Date: 2012-09-18 16:06:42 -0700 (Tue, 18 Sep 2012)
New Revision: 7374

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Be explicit about how to cancel 'navigate' when you're running unload.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-09-18 22:18:34 UTC (rev 7373)
+++ complete.html	2012-09-18 23:06:42 UTC (rev 7374)
@@ -70629,6 +70629,8 @@
 
    <li>
 
+    <!-- ******************** ASYNC BOUNDARY ******************** -->
+
     <p>At this point, unless this step has already been reached once
     before in the execution of this instance of the algorithm, the
     user agents must return to whatever algorithm invoked the
@@ -70950,11 +70952,23 @@
   <code><a href=#document>Document</a></code> object of the <a href=#current-entry>current entry</a>, not
   the new one) to run the following steps:</p>
 
-  <ol><li><p><a href=#unload-a-document title="unload a document">Unload</a> the
-   <code><a href=#document>Document</a></code> object of the <a href=#current-entry>current entry</a>,
-   with the <var title="">recycle</var> parameter set to
-   false.</li>
+  <ol><li>
 
+    <p><a href=#unload-a-document title="unload a document">Unload</a> the
+    <code><a href=#document>Document</a></code> object of the <a href=#current-entry>current entry</a>,
+    with the <var title="">recycle</var> parameter set to false.</p>
+
+    <p>If this instance of the <a href=#navigate title=navigate>navigation</a> algorithm is canceled while
+    this step is running the <a href=#unload-a-document>unload a document</a> algorithm,
+    then the <a href=#unload-a-document>unload a document</a> algorithm must be allowed
+    to run to completion, but this instance of the <a href=#navigate title=navigate>navigation</a> algorithm must not run beyond
+    this step. (In particular, for instance, the cancelation of this
+    algorithm does not abort any event dispatch or script execution
+    occurring as part of unloading the document or its
+    descendants.)</p>
+
+   </li>
+
    <li>
 
     <dl><dt>If the navigation was initiated for <dfn id=entry-update>entry update</dfn> of

Modified: index
===================================================================
--- index	2012-09-18 22:18:34 UTC (rev 7373)
+++ index	2012-09-18 23:06:42 UTC (rev 7374)
@@ -70629,6 +70629,8 @@
 
    <li>
 
+    <!-- ******************** ASYNC BOUNDARY ******************** -->
+
     <p>At this point, unless this step has already been reached once
     before in the execution of this instance of the algorithm, the
     user agents must return to whatever algorithm invoked the
@@ -70950,11 +70952,23 @@
   <code><a href=#document>Document</a></code> object of the <a href=#current-entry>current entry</a>, not
   the new one) to run the following steps:</p>
 
-  <ol><li><p><a href=#unload-a-document title="unload a document">Unload</a> the
-   <code><a href=#document>Document</a></code> object of the <a href=#current-entry>current entry</a>,
-   with the <var title="">recycle</var> parameter set to
-   false.</li>
+  <ol><li>
 
+    <p><a href=#unload-a-document title="unload a document">Unload</a> the
+    <code><a href=#document>Document</a></code> object of the <a href=#current-entry>current entry</a>,
+    with the <var title="">recycle</var> parameter set to false.</p>
+
+    <p>If this instance of the <a href=#navigate title=navigate>navigation</a> algorithm is canceled while
+    this step is running the <a href=#unload-a-document>unload a document</a> algorithm,
+    then the <a href=#unload-a-document>unload a document</a> algorithm must be allowed
+    to run to completion, but this instance of the <a href=#navigate title=navigate>navigation</a> algorithm must not run beyond
+    this step. (In particular, for instance, the cancelation of this
+    algorithm does not abort any event dispatch or script execution
+    occurring as part of unloading the document or its
+    descendants.)</p>
+
+   </li>
+
    <li>
 
     <dl><dt>If the navigation was initiated for <dfn id=entry-update>entry update</dfn> of

Modified: source
===================================================================
--- source	2012-09-18 22:18:34 UTC (rev 7373)
+++ source	2012-09-18 23:06:42 UTC (rev 7374)
@@ -82564,6 +82564,8 @@
 
    <li>
 
+    <!-- ******************** ASYNC BOUNDARY ******************** -->
+
     <p>At this point, unless this step has already been reached once
     before in the execution of this instance of the algorithm, the
     user agents must return to whatever algorithm invoked the
@@ -82936,11 +82938,25 @@
 
   <ol>
 
-   <li><p><span title="unload a document">Unload</span> the
-   <code>Document</code> object of the <span>current entry</span>,
-   with the <var title="">recycle</var> parameter set to
-   false.</p></li>
+   <li>
 
+    <p><span title="unload a document">Unload</span> the
+    <code>Document</code> object of the <span>current entry</span>,
+    with the <var title="">recycle</var> parameter set to false.</p>
+
+    <p>If this instance of the <span
+    title="navigate">navigation</span> algorithm is canceled while
+    this step is running the <span>unload a document</span> algorithm,
+    then the <span>unload a document</span> algorithm must be allowed
+    to run to completion, but this instance of the <span
+    title="navigate">navigation</span> algorithm must not run beyond
+    this step. (In particular, for instance, the cancelation of this
+    algorithm does not abort any event dispatch or script execution
+    occurring as part of unloading the document or its
+    descendants.)</p>
+
+   </li>
+
    <li>
 
     <dl>




More information about the Commit-Watchers mailing list