[html5] r7737 - [giow] (3) Try to more closely match reality. Fixing https://www.w3.org/Bugs/Pub [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Mar 6 15:03:36 PST 2013


Author: ianh
Date: 2013-03-06 15:03:35 -0800 (Wed, 06 Mar 2013)
New Revision: 7737

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Try to more closely match reality.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19947
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-03-06 22:08:32 UTC (rev 7736)
+++ complete.html	2013-03-06 23:03:35 UTC (rev 7737)
@@ -73019,7 +73019,7 @@
 
    </dd>
 
-  </dl><p class=note>This API does not guarantee that timers will run
+  </dl><!--CLEANUP--><p class=note>This API does not guarantee that timers will run
   exactly on schedule. Delays due to CPU load, other tasks, etc, are
   to be expected.</p>
 
@@ -73216,7 +73216,9 @@
   <hr><p>The <dfn id=method-context>method context</dfn>, when referenced by the algorithms
   in this section, is the object on which the method for which the
   algorithm is running is implemented (a <code><a href=#window>Window</a></code> or
-  <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object).</p>
+  <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object). The <dfn id=method-context-proxy>method context proxy</dfn> is the <a href=#method-context>method context</a>
+  if that is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, or else the <code><a href=#windowproxy>WindowProxy</a></code> that corresponds to
+  the <a href=#method-context>method context</a>.</p>
 
   <p>When the above methods are invoked and try to <dfn id=get-the-timed-task>get the timed
   task</dfn> <var title="">handle</var> in list <var title="">list</var>,
@@ -73234,15 +73236,10 @@
 
       <p>Call the <code>Function</code>. Use the third and subsequent
       arguments to the invoked method (if any) as the arguments for
-      invoking the <code>Function</code>. Use the undefined value as
+      invoking the <code>Function</code>. Use the <a href=#method-context-proxy>method context proxy</a> as
       the <var title="">thisArg</var> for invoking the
       <code>Function</code>. <a href=#refsECMA262>[ECMA262]</a></p>
 
-      <p class=note>Setting <var title="">thisArg</var> to undefined
-      means that the function code will be executed with the <code title="">this</code> keyword bound to the
-      <code><a href=#windowproxy>WindowProxy</a></code> or the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
-      object, as if the code was running in the global scope.</p>
-
      </li>
 
     </ol><p>Otherwise, continue with the remaining steps.</p>

Modified: index
===================================================================
--- index	2013-03-06 22:08:32 UTC (rev 7736)
+++ index	2013-03-06 23:03:35 UTC (rev 7737)
@@ -73019,7 +73019,7 @@
 
    </dd>
 
-  </dl><p class=note>This API does not guarantee that timers will run
+  </dl><!--CLEANUP--><p class=note>This API does not guarantee that timers will run
   exactly on schedule. Delays due to CPU load, other tasks, etc, are
   to be expected.</p>
 
@@ -73216,7 +73216,9 @@
   <hr><p>The <dfn id=method-context>method context</dfn>, when referenced by the algorithms
   in this section, is the object on which the method for which the
   algorithm is running is implemented (a <code><a href=#window>Window</a></code> or
-  <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object).</p>
+  <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object). The <dfn id=method-context-proxy>method context proxy</dfn> is the <a href=#method-context>method context</a>
+  if that is a <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, or else the <code><a href=#windowproxy>WindowProxy</a></code> that corresponds to
+  the <a href=#method-context>method context</a>.</p>
 
   <p>When the above methods are invoked and try to <dfn id=get-the-timed-task>get the timed
   task</dfn> <var title="">handle</var> in list <var title="">list</var>,
@@ -73234,15 +73236,10 @@
 
       <p>Call the <code>Function</code>. Use the third and subsequent
       arguments to the invoked method (if any) as the arguments for
-      invoking the <code>Function</code>. Use the undefined value as
+      invoking the <code>Function</code>. Use the <a href=#method-context-proxy>method context proxy</a> as
       the <var title="">thisArg</var> for invoking the
       <code>Function</code>. <a href=#refsECMA262>[ECMA262]</a></p>
 
-      <p class=note>Setting <var title="">thisArg</var> to undefined
-      means that the function code will be executed with the <code title="">this</code> keyword bound to the
-      <code><a href=#windowproxy>WindowProxy</a></code> or the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
-      object, as if the code was running in the global scope.</p>
-
      </li>
 
     </ol><p>Otherwise, continue with the remaining steps.</p>

Modified: source
===================================================================
--- source	2013-03-06 22:08:32 UTC (rev 7736)
+++ source	2013-03-06 23:03:35 UTC (rev 7737)
@@ -85125,6 +85125,7 @@
 
   </dl>
 
+<!--CLEANUP-->
   <p class="note">This API does not guarantee that timers will run
   exactly on schedule. Delays due to CPU load, other tasks, etc, are
   to be expected.</p>
@@ -85359,7 +85360,9 @@
   <p>The <dfn>method context</dfn>, when referenced by the algorithms
   in this section, is the object on which the method for which the
   algorithm is running is implemented (a <code>Window</code> or
-  <code>WorkerGlobalScope</code> object).</p>
+  <code>WorkerGlobalScope</code> object). The <dfn>method context proxy</dfn> is the <span>method context</span>
+  if that is a <code>WorkerGlobalScope</code> object, or else the <code>WindowProxy</code> that corresponds to
+  the <span>method context</span>.</p>
 
   <p>When the above methods are invoked and try to <dfn>get the timed
   task</dfn> <var title="">handle</var> in list <var title="">list</var>,
@@ -85384,16 +85387,10 @@
 
       <p>Call the <code>Function</code>. Use the third and subsequent
       arguments to the invoked method (if any) as the arguments for
-      invoking the <code>Function</code>. Use the undefined value as
+      invoking the <code>Function</code>. Use the <span>method context proxy</span> as
       the <var title="">thisArg</var> for invoking the
       <code>Function</code>. <a href="#refsECMA262">[ECMA262]</a></p>
 
-      <p class="note">Setting <var title="">thisArg</var> to undefined
-      means that the function code will be executed with the <code
-      title="">this</code> keyword bound to the
-      <code>WindowProxy</code> or the <code>WorkerGlobalScope</code>
-      object, as if the code was running in the global scope.</p>
-
      </li>
 
     </ol>




More information about the Commit-Watchers mailing list