[html5] r8169 - [giow] (3) Maintain the stack of incumbent scripts across calls to showModalDial [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Sep 3 13:43:52 PDT 2013


Author: ianh
Date: 2013-09-03 13:43:50 -0700 (Tue, 03 Sep 2013)
New Revision: 8169

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Maintain the stack of incumbent scripts across calls to showModalDialog(), but empty it while that call is running, since showModalDialog() can resume out of order (you can call window.close() on a 'parent' modal window). (Untested.)
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-09-03 20:28:34 UTC (rev 8168)
+++ complete.html	2013-09-03 20:43:50 UTC (rev 8169)
@@ -72036,6 +72036,15 @@
   <ol><li><p>Let <var title="">task source</var> be the <a href=#task-source>task source</a> of the currently
    running <a href=#concept-task title=concept-task>task</a>.</li>
 
+   <li><p>Let <var title="">old stack of incumbent scripts</var> be a copy of the <a href=#stack-of-incumbent-scripts>stack of
+   incumbent scripts</a>.</li>
+
+   <li><p>Empty the <a href=#stack-of-incumbent-scripts>stack of incumbent scripts</a>.</li>
+
+   <li><p><a href=#run-the-global-script-clean-up-jobs>Run the global script clean-up jobs</a>.</li>
+
+   <li><p><a href=#perform-a-microtask-checkpoint>Perform a microtask checkpoint</a>.</li>
+
    <li>
 
     <p>Stop the currently running <a href=#concept-task title=concept-task>task</a>, allowing the <a href=#event-loop>event
@@ -72052,6 +72061,9 @@
    source</a> <var title="">task source</var>. Wait until this task runs before continuing these
    steps.</li>
 
+   <li><p>Replace the <a href=#stack-of-incumbent-scripts>stack of incumbent scripts</a> with the <var title="">old stack of
+   incumbent scripts</var>.</li>
+
    <li><p>Return to the caller.</li>
 
   </ol><hr><p>Some of the algorithms in this specification, for historical reasons, require the user agent to

Modified: index
===================================================================
--- index	2013-09-03 20:28:34 UTC (rev 8168)
+++ index	2013-09-03 20:43:50 UTC (rev 8169)
@@ -72036,6 +72036,15 @@
   <ol><li><p>Let <var title="">task source</var> be the <a href=#task-source>task source</a> of the currently
    running <a href=#concept-task title=concept-task>task</a>.</li>
 
+   <li><p>Let <var title="">old stack of incumbent scripts</var> be a copy of the <a href=#stack-of-incumbent-scripts>stack of
+   incumbent scripts</a>.</li>
+
+   <li><p>Empty the <a href=#stack-of-incumbent-scripts>stack of incumbent scripts</a>.</li>
+
+   <li><p><a href=#run-the-global-script-clean-up-jobs>Run the global script clean-up jobs</a>.</li>
+
+   <li><p><a href=#perform-a-microtask-checkpoint>Perform a microtask checkpoint</a>.</li>
+
    <li>
 
     <p>Stop the currently running <a href=#concept-task title=concept-task>task</a>, allowing the <a href=#event-loop>event
@@ -72052,6 +72061,9 @@
    source</a> <var title="">task source</var>. Wait until this task runs before continuing these
    steps.</li>
 
+   <li><p>Replace the <a href=#stack-of-incumbent-scripts>stack of incumbent scripts</a> with the <var title="">old stack of
+   incumbent scripts</var>.</li>
+
    <li><p>Return to the caller.</li>
 
   </ol><hr><p>Some of the algorithms in this specification, for historical reasons, require the user agent to

Modified: source
===================================================================
--- source	2013-09-03 20:28:34 UTC (rev 8168)
+++ source	2013-09-03 20:43:50 UTC (rev 8169)
@@ -80592,6 +80592,15 @@
    <li><p>Let <var title="">task source</var> be the <span>task source</span> of the currently
    running <span title="concept-task">task</span>.</p></li>
 
+   <li><p>Let <var title="">old stack of incumbent scripts</var> be a copy of the <span>stack of
+   incumbent scripts</span>.</p></li>
+
+   <li><p>Empty the <span>stack of incumbent scripts</span>.</p></li>
+
+   <li><p><span>Run the global script clean-up jobs</span>.</p></li>
+
+   <li><p><span>Perform a microtask checkpoint</span>.</p></li>
+
    <li>
 
     <p>Stop the currently running <span title="concept-task">task</span>, allowing the <span>event
@@ -80608,6 +80617,9 @@
    source</span> <var title="">task source</var>. Wait until this task runs before continuing these
    steps.</p></li>
 
+   <li><p>Replace the <span>stack of incumbent scripts</span> with the <var title="">old stack of
+   incumbent scripts</var>.</p></li>
+
    <li><p>Return to the caller.</p></li>
 
   </ol>




More information about the Commit-Watchers mailing list