[html5] r7980 - [e] (0) Lay the groundwork for DOM Core to handle reentrant mutation observers. [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Jun 14 15:32:30 PDT 2013
Author: ianh
Date: 2013-06-14 15:32:29 -0700 (Fri, 14 Jun 2013)
New Revision: 7980
Modified:
complete.html
index
source
Log:
[e] (0) Lay the groundwork for DOM Core to handle reentrant mutation observers.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20821
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2013-06-14 19:06:24 UTC (rev 7979)
+++ complete.html 2013-06-14 22:32:29 UTC (rev 7980)
@@ -71481,7 +71481,8 @@
<p><a href=#concept-mo-invoke title=concept-mo-invoke>Invoke <code>MutationObserver</code> objects</a> for the
<a href=#unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</a> to which the <a href="#script's-browsing-context">script's
- browsing context</a> belongs.</p>
+ browsing context</a> belongs, using the <a href=#task-wrapper-algorithm>task wrapper algorithm</a> as the steps to
+ invoke each callback.</p>
<p class=note>This will typically invoke scripted callbacks, which calls the <a href=#jump-to-a-code-entry-point>jump to a
code entry-point</a> algorithm, which calls this <a href=#perform-a-microtask-checkpoint>perform a microtask checkpoint</a>
@@ -71504,6 +71505,14 @@
<p class=note>Steps in <a href=#synchronous-section title="synchronous section">synchronous sections</a> are marked
with ⌛.</p>
+ <hr><p>The <dfn id=task-wrapper-algorithm>task wrapper algorithm</dfn>, which is implicitly invoked in the context of an
+ <a href=#event-loop>event loop</a> and is used to invoke a given <var title="">callback</var> in a specific
+ way, is as follows:</p>
+
+ <ol><li><p>Invoke <var title="">callback</var> as specified.</li>
+
+ </ol><p class=XXX>The above will change shortly.</p>
+
<hr><p>When an algorithm says to <dfn id=spin-the-event-loop>spin the event loop</dfn> until a condition <var title="">goal</var> is met, the user agent must run the following steps:</p>
<ol><li><p>Let <var title="">task source</var> be the <a href=#task-source>task source</a> of the currently
Modified: index
===================================================================
--- index 2013-06-14 19:06:24 UTC (rev 7979)
+++ index 2013-06-14 22:32:29 UTC (rev 7980)
@@ -71481,7 +71481,8 @@
<p><a href=#concept-mo-invoke title=concept-mo-invoke>Invoke <code>MutationObserver</code> objects</a> for the
<a href=#unit-of-related-similar-origin-browsing-contexts>unit of related similar-origin browsing contexts</a> to which the <a href="#script's-browsing-context">script's
- browsing context</a> belongs.</p>
+ browsing context</a> belongs, using the <a href=#task-wrapper-algorithm>task wrapper algorithm</a> as the steps to
+ invoke each callback.</p>
<p class=note>This will typically invoke scripted callbacks, which calls the <a href=#jump-to-a-code-entry-point>jump to a
code entry-point</a> algorithm, which calls this <a href=#perform-a-microtask-checkpoint>perform a microtask checkpoint</a>
@@ -71504,6 +71505,14 @@
<p class=note>Steps in <a href=#synchronous-section title="synchronous section">synchronous sections</a> are marked
with ⌛.</p>
+ <hr><p>The <dfn id=task-wrapper-algorithm>task wrapper algorithm</dfn>, which is implicitly invoked in the context of an
+ <a href=#event-loop>event loop</a> and is used to invoke a given <var title="">callback</var> in a specific
+ way, is as follows:</p>
+
+ <ol><li><p>Invoke <var title="">callback</var> as specified.</li>
+
+ </ol><p class=XXX>The above will change shortly.</p>
+
<hr><p>When an algorithm says to <dfn id=spin-the-event-loop>spin the event loop</dfn> until a condition <var title="">goal</var> is met, the user agent must run the following steps:</p>
<ol><li><p>Let <var title="">task source</var> be the <a href=#task-source>task source</a> of the currently
Modified: source
===================================================================
--- source 2013-06-14 19:06:24 UTC (rev 7979)
+++ source 2013-06-14 22:32:29 UTC (rev 7980)
@@ -79949,7 +79949,8 @@
<p><span title="concept-mo-invoke">Invoke <code>MutationObserver</code> objects</span> for the
<span>unit of related similar-origin browsing contexts</span> to which the <span>script's
- browsing context</span> belongs.</p>
+ browsing context</span> belongs, using the <span>task wrapper algorithm</span> as the steps to
+ invoke each callback.</p>
<p class="note">This will typically invoke scripted callbacks, which calls the <span>jump to a
code entry-point</span> algorithm, which calls this <span>perform a microtask checkpoint</span>
@@ -79979,6 +79980,20 @@
<hr>
+ <p>The <dfn>task wrapper algorithm</dfn>, which is implicitly invoked in the context of an
+ <span>event loop</span> and is used to invoke a given <var title="">callback</var> in a specific
+ way, is as follows:</p>
+
+ <ol>
+
+ <li><p>Invoke <var title="">callback</var> as specified.</p></li>
+
+ </ol>
+
+ <p class="XXX">The above will change shortly.</p>
+
+ <hr>
+
<p>When an algorithm says to <dfn>spin the event loop</dfn> until a condition <var
title="">goal</var> is met, the user agent must run the following steps:</p>
More information about the Commit-Watchers
mailing list