Skip to content

Commit

Permalink
[giow] (3) Maintain the stack of incumbent scripts across calls to sh…
Browse files Browse the repository at this point in the history
…owModalDialog(), 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

git-svn-id: http://svn.whatwg.org/webapps@8169 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 3, 2013
1 parent 33c6163 commit c8aad4f
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions complete.html
Expand Up @@ -72036,6 +72036,15 @@ <h5 id=processing-model-4><span class=secno>7.1.4.2 </span>Processing model</h5>
<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
Expand All @@ -72052,6 +72061,9 @@ <h5 id=processing-model-4><span class=secno>7.1.4.2 </span>Processing model</h5>
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
Expand Down
12 changes: 12 additions & 0 deletions index
Expand Up @@ -72036,6 +72036,15 @@ dictionary <dfn id=erroreventinit>ErrorEventInit</dfn> : <a href=#eventinit>Even
<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
Expand All @@ -72052,6 +72061,9 @@ dictionary <dfn id=erroreventinit>ErrorEventInit</dfn> : <a href=#eventinit>Even
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
Expand Down
12 changes: 12 additions & 0 deletions source
Expand Up @@ -80592,6 +80592,15 @@ dictionary <dfn>ErrorEventInit</dfn> : <span>EventInit</span> {
<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
Expand All @@ -80608,6 +80617,9 @@ dictionary <dfn>ErrorEventInit</dfn> : <span>EventInit</span> {
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>
Expand Down

0 comments on commit c8aad4f

Please sign in to comment.