[html5] r8201 - [giow] (3) Make the parser not execute scripts pending for the document after do [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Oct 1 11:46:51 PDT 2013


Author: ianh
Date: 2013-10-01 11:46:50 -0700 (Tue, 01 Oct 2013)
New Revision: 8201

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Make the parser not execute scripts pending for the document after document.open() has been called on it.
Affected topics: HTML Syntax and Parsing

Modified: complete.html
===================================================================
--- complete.html	2013-09-27 22:16:36 UTC (rev 8200)
+++ complete.html	2013-10-01 18:46:50 UTC (rev 8201)
@@ -256,7 +256,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 27 September 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 1 October 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -91738,6 +91738,17 @@
        <a href=#has-no-style-sheet-that-is-blocking-scripts>has no style sheet that is blocking scripts</a> and <var title="">the script</var>'s
        <a href=#ready-to-be-parser-executed>"ready to be parser-executed"</a> flag is set.</li>
 
+       <li>
+
+        <p>If this <a href=#abort-a-parser title="abort a parser">parser has been aborted</a> in the meantime,
+        abort these steps.</p>
+
+        <p class=note>This could happen if, e.g., while the <a href=#spin-the-event-loop>spin the event loop</a>
+        algorithm is running, the <a href=#browsing-context>browsing context</a> gets closed, or the <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> method gets invoked on the
+        <code>Documnet</code>.</p>
+
+       </li>
+
        <li><p>Unblock the <a href=#tokenization title=tokenization>tokenizer</a> for this instance of the
        <a href=#html-parser>HTML parser</a>, such that <a href=#concept-task title=concept-task>tasks</a> that invoke the
        <a href=#tokenization title=tokenization>tokenizer</a> can again be run.</li>

Modified: index
===================================================================
--- index	2013-09-27 22:16:36 UTC (rev 8200)
+++ index	2013-10-01 18:46:50 UTC (rev 8201)
@@ -256,7 +256,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 27 September 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 1 October 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -91738,6 +91738,17 @@
        <a href=#has-no-style-sheet-that-is-blocking-scripts>has no style sheet that is blocking scripts</a> and <var title="">the script</var>'s
        <a href=#ready-to-be-parser-executed>"ready to be parser-executed"</a> flag is set.</li>
 
+       <li>
+
+        <p>If this <a href=#abort-a-parser title="abort a parser">parser has been aborted</a> in the meantime,
+        abort these steps.</p>
+
+        <p class=note>This could happen if, e.g., while the <a href=#spin-the-event-loop>spin the event loop</a>
+        algorithm is running, the <a href=#browsing-context>browsing context</a> gets closed, or the <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> method gets invoked on the
+        <code>Documnet</code>.</p>
+
+       </li>
+
        <li><p>Unblock the <a href=#tokenization title=tokenization>tokenizer</a> for this instance of the
        <a href=#html-parser>HTML parser</a>, such that <a href=#concept-task title=concept-task>tasks</a> that invoke the
        <a href=#tokenization title=tokenization>tokenizer</a> can again be run.</li>

Modified: source
===================================================================
--- source	2013-09-27 22:16:36 UTC (rev 8200)
+++ source	2013-10-01 18:46:50 UTC (rev 8201)
@@ -102473,6 +102473,18 @@
        <span>has no style sheet that is blocking scripts</span> and <var title="">the script</var>'s
        <span>"ready to be parser-executed"</span> flag is set.</p></li>
 
+       <li>
+
+        <p>If this <span title="abort a parser">parser has been aborted</span> in the meantime,
+        abort these steps.</p>
+
+        <p class="note">This could happen if, e.g., while the <span>spin the event loop</span>
+        algorithm is running, the <span>browsing context</span> gets closed, or the <code
+        title="dom-document-open">document.open()</code> method gets invoked on the
+        <code>Documnet</code>.</p>
+
+       </li>
+
        <li><p>Unblock the <span title="tokenization">tokenizer</span> for this instance of the
        <span>HTML parser</span>, such that <span title="concept-task">tasks</span> that invoke the
        <span title="tokenization">tokenizer</span> can again be run.</p></li>




More information about the Commit-Watchers mailing list