[html5] r7488 - [giow] (0) Abort was a little over-enthusiastic. Fixing https://www.w3.org/Bugs/ [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Oct 29 16:58:56 PDT 2012


Author: ianh
Date: 2012-10-29 16:58:55 -0700 (Mon, 29 Oct 2012)
New Revision: 7488

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Abort was a little over-enthusiastic.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18413
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-10-29 23:48:21 UTC (rev 7487)
+++ complete.html	2012-10-29 23:58:55 UTC (rev 7488)
@@ -72031,22 +72031,22 @@
   document">aborted</dfn>, the user agent must run the following
   steps:</p>
 
-  <ol><li><p><a href=#abort-a-document title="abort a document">Abort</a> the <a href=#active-document title="active document">active documents</a> of every
-   <a href=#child-browsing-context>child browsing context</a>.</li>
+  <ol><li><p><a href=#abort-a-document title="abort a document">Abort</a> the <a href=#active-document title="active document">active
+   documents</a> of every <a href=#child-browsing-context>child browsing context</a>. If this results in any of those
+   <code><a href=#document>Document</a></code> objects having their <var title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></var> state set to false, then set this
+   <code><a href=#document>Document</a></code>'s <var title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></var> state to
+   false also.</li>
 
-   <li><p>Cancel any instances of the <a href=#fetch title=fetch>fetch</a>
-   algorithm in the context of this <code><a href=#document>Document</a></code>, discarding
-   any <a href=#concept-task title=concept-task>tasks</a> <a href=#queue-a-task title="queue a
-   task">queued</a> for them, and discarding any further data
-   received from the network for them.</li>
+   <li><p>Cancel any instances of the <a href=#fetch title=fetch>fetch</a> algorithm in the context of
+   this <code><a href=#document>Document</a></code>, discarding any <a href=#concept-task title=concept-task>tasks</a> <a href=#queue-a-task title="queue a task">queued</a> for them, and discarding any further data received from the
+   network for them. If this resulted in any any instances of the <a href=#fetch title=fetch>fetch</a>
+   algorithm being canceled or any <a href=#queue-a-task title="queue a task">queued</a> <a href=#concept-task title=concept-task>tasks</a> or any network data getting discarded, then set the
+   <code><a href=#document>Document</a></code>'s <var title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></var> state to
+   false.</li>
 
-   <li><p>If the <code><a href=#document>Document</a></code> has an <a href=#active-parser>active
-   parser</a>, then <a href=#abort-a-parser title="abort a parser">abort that
-   parser</a>.</li>
+   <li><p>If the <code><a href=#document>Document</a></code> has an <a href=#active-parser>active parser</a>, then <a href=#abort-a-parser title="abort a
+   parser">abort that parser</a> and set the <code><a href=#document>Document</a></code>'s <var title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></var> state to false.</li>
 
-   <li><p>Set the <code><a href=#document>Document</a></code>'s <var title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></var> state to
-   false.</li>
-
    <!-- we could also stop all script, or stop animations -->
 
   </ol><p>User agents may allow users to explicitly invoke the <a href=#abort-a-document title="abort a document">abort a document</a> algorithm for a

Modified: index
===================================================================
--- index	2012-10-29 23:48:21 UTC (rev 7487)
+++ index	2012-10-29 23:58:55 UTC (rev 7488)
@@ -72031,22 +72031,22 @@
   document">aborted</dfn>, the user agent must run the following
   steps:</p>
 
-  <ol><li><p><a href=#abort-a-document title="abort a document">Abort</a> the <a href=#active-document title="active document">active documents</a> of every
-   <a href=#child-browsing-context>child browsing context</a>.</li>
+  <ol><li><p><a href=#abort-a-document title="abort a document">Abort</a> the <a href=#active-document title="active document">active
+   documents</a> of every <a href=#child-browsing-context>child browsing context</a>. If this results in any of those
+   <code><a href=#document>Document</a></code> objects having their <var title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></var> state set to false, then set this
+   <code><a href=#document>Document</a></code>'s <var title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></var> state to
+   false also.</li>
 
-   <li><p>Cancel any instances of the <a href=#fetch title=fetch>fetch</a>
-   algorithm in the context of this <code><a href=#document>Document</a></code>, discarding
-   any <a href=#concept-task title=concept-task>tasks</a> <a href=#queue-a-task title="queue a
-   task">queued</a> for them, and discarding any further data
-   received from the network for them.</li>
+   <li><p>Cancel any instances of the <a href=#fetch title=fetch>fetch</a> algorithm in the context of
+   this <code><a href=#document>Document</a></code>, discarding any <a href=#concept-task title=concept-task>tasks</a> <a href=#queue-a-task title="queue a task">queued</a> for them, and discarding any further data received from the
+   network for them. If this resulted in any any instances of the <a href=#fetch title=fetch>fetch</a>
+   algorithm being canceled or any <a href=#queue-a-task title="queue a task">queued</a> <a href=#concept-task title=concept-task>tasks</a> or any network data getting discarded, then set the
+   <code><a href=#document>Document</a></code>'s <var title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></var> state to
+   false.</li>
 
-   <li><p>If the <code><a href=#document>Document</a></code> has an <a href=#active-parser>active
-   parser</a>, then <a href=#abort-a-parser title="abort a parser">abort that
-   parser</a>.</li>
+   <li><p>If the <code><a href=#document>Document</a></code> has an <a href=#active-parser>active parser</a>, then <a href=#abort-a-parser title="abort a
+   parser">abort that parser</a> and set the <code><a href=#document>Document</a></code>'s <var title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></var> state to false.</li>
 
-   <li><p>Set the <code><a href=#document>Document</a></code>'s <var title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></var> state to
-   false.</li>
-
    <!-- we could also stop all script, or stop animations -->
 
   </ol><p>User agents may allow users to explicitly invoke the <a href=#abort-a-document title="abort a document">abort a document</a> algorithm for a

Modified: source
===================================================================
--- source	2012-10-29 23:48:21 UTC (rev 7487)
+++ source	2012-10-29 23:58:55 UTC (rev 7488)
@@ -84314,24 +84314,26 @@
 
   <ol>
 
-   <li><p><span title="abort a document">Abort</span> the <span
-   title="active document">active documents</span> of every
-   <span>child browsing context</span>.</p></li>
+   <li><p><span title="abort a document">Abort</span> the <span title="active document">active
+   documents</span> of every <span>child browsing context</span>. If this results in any of those
+   <code>Document</code> objects having their <var
+   title="concept-document-salvageable">salvageable</var> state set to false, then set this
+   <code>Document</code>'s <var title="concept-document-salvageable">salvageable</var> state to
+   false also.</p></li>
 
-   <li><p>Cancel any instances of the <span title="fetch">fetch</span>
-   algorithm in the context of this <code>Document</code>, discarding
-   any <span title="concept-task">tasks</span> <span title="queue a
-   task">queued</span> for them, and discarding any further data
-   received from the network for them.</p></li>
+   <li><p>Cancel any instances of the <span title="fetch">fetch</span> algorithm in the context of
+   this <code>Document</code>, discarding any <span title="concept-task">tasks</span> <span
+   title="queue a task">queued</span> for them, and discarding any further data received from the
+   network for them. If this resulted in any any instances of the <span title="fetch">fetch</span>
+   algorithm being canceled or any <span title="queue a task">queued</span> <span
+   title="concept-task">tasks</span> or any network data getting discarded, then set the
+   <code>Document</code>'s <var title="concept-document-salvageable">salvageable</var> state to
+   false.</p></li>
 
-   <li><p>If the <code>Document</code> has an <span>active
-   parser</span>, then <span title="abort a parser">abort that
-   parser</span>.</p></li>
+   <li><p>If the <code>Document</code> has an <span>active parser</span>, then <span title="abort a
+   parser">abort that parser</span> and set the <code>Document</code>'s <var
+   title="concept-document-salvageable">salvageable</var> state to false.</p></li>
 
-   <li><p>Set the <code>Document</code>'s <var
-   title="concept-document-salvageable">salvageable</var> state to
-   false.</p></li>
-
    <!-- we could also stop all script, or stop animations -->
 
   </ol>




More information about the Commit-Watchers mailing list