[html5] r4850 - [giow] (1) Make <script async> not delay DOMContentLoaded.

whatwg at whatwg.org whatwg at whatwg.org
Tue Mar 16 15:29:37 PDT 2010


Author: ianh
Date: 2010-03-16 15:29:36 -0700 (Tue, 16 Mar 2010)
New Revision: 4850

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Make <script async> not delay DOMContentLoaded.

Modified: complete.html
===================================================================
--- complete.html	2010-03-16 09:00:44 UTC (rev 4849)
+++ complete.html	2010-03-16 22:29:36 UTC (rev 4850)
@@ -79536,14 +79536,17 @@
 
     </ol></li>
 
-   <li><p><a href=#spin-the-event-loop>Spin the event loop</a> until the <a href=#list-of-scripts-that-will-execute-as-soon-as-possible>list of
-   scripts that will execute as soon as possible</a> is
-   empty.</li>
-
    <li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
    event</a> named <code title=event-DOMContentLoaded>DOMContentLoaded</code> at the
    <code><a href=#document>Document</a></code>.</li>
 
+   <li><p><a href=#spin-the-event-loop>Spin the event loop</a> until the <a href=#list-of-scripts-that-will-execute-as-soon-as-possible>list of
+   scripts that will execute as soon as possible</a> is
+   empty.</li> <!-- this step is redundant with the next one,
+   really, since all those scripts also delay the load event. It's
+   here in case we add an event between this step and the next or if
+   we move the previous step (DOMContentLoaded) down again. -->
+
    <li><p><a href=#spin-the-event-loop>Spin the event loop</a> until there is nothing that
    <dfn id=delay-the-load-event title="delay the load event">delays the load event</dfn> in
    the <code><a href=#document>Document</a></code>.</li>
@@ -90602,6 +90605,7 @@
   Brett Zamir,
   Brian Campbell,
   Brian Korver,
+  Brian Kuhn,
   Brian Ryner,
   Brian Smith,
   Brian Wilson,

Modified: index
===================================================================
--- index	2010-03-16 09:00:44 UTC (rev 4849)
+++ index	2010-03-16 22:29:36 UTC (rev 4850)
@@ -72942,14 +72942,17 @@
 
     </ol></li>
 
-   <li><p><a href=#spin-the-event-loop>Spin the event loop</a> until the <a href=#list-of-scripts-that-will-execute-as-soon-as-possible>list of
-   scripts that will execute as soon as possible</a> is
-   empty.</li>
-
    <li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
    event</a> named <code title=event-DOMContentLoaded>DOMContentLoaded</code> at the
    <code><a href=#document>Document</a></code>.</li>
 
+   <li><p><a href=#spin-the-event-loop>Spin the event loop</a> until the <a href=#list-of-scripts-that-will-execute-as-soon-as-possible>list of
+   scripts that will execute as soon as possible</a> is
+   empty.</li> <!-- this step is redundant with the next one,
+   really, since all those scripts also delay the load event. It's
+   here in case we add an event between this step and the next or if
+   we move the previous step (DOMContentLoaded) down again. -->
+
    <li><p><a href=#spin-the-event-loop>Spin the event loop</a> until there is nothing that
    <dfn id=delay-the-load-event title="delay the load event">delays the load event</dfn> in
    the <code><a href=#document>Document</a></code>.</li>
@@ -84163,6 +84166,7 @@
   Brett Zamir,
   Brian Campbell,
   Brian Korver,
+  Brian Kuhn,
   Brian Ryner,
   Brian Smith,
   Brian Wilson,

Modified: source
===================================================================
--- source	2010-03-16 09:00:44 UTC (rev 4849)
+++ source	2010-03-16 22:29:36 UTC (rev 4850)
@@ -90709,15 +90709,18 @@
 
    </li>
 
-   <li><p><span>Spin the event loop</span> until the <span>list of
-   scripts that will execute as soon as possible</span> is
-   empty.</p></li>
-
    <li><p><span>Queue a task</span> to <span>fire a simple
    event</span> named <code
    title="event-DOMContentLoaded">DOMContentLoaded</code> at the
    <code>Document</code>.</p></li>
 
+   <li><p><span>Spin the event loop</span> until the <span>list of
+   scripts that will execute as soon as possible</span> is
+   empty.</p></li> <!-- this step is redundant with the next one,
+   really, since all those scripts also delay the load event. It's
+   here in case we add an event between this step and the next or if
+   we move the previous step (DOMContentLoaded) down again. -->
+
    <li><p><span>Spin the event loop</span> until there is nothing that
    <dfn title="delay the load event">delays the load event</dfn> in
    the <code>Document</code>.</p></li>
@@ -101525,6 +101528,7 @@
   Brett Zamir,
   Brian Campbell,
   Brian Korver,
+  Brian Kuhn,
   Brian Ryner,
   Brian Smith,
   Brian Wilson,




More information about the Commit-Watchers mailing list