[html5] r7675 - [e] (0) Merge WorkerUtils into WorkerGlobalScope Fixing https://www.w3.org/Bugs/ [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jan 30 15:31:53 PST 2013
Author: ianh
Date: 2013-01-30 15:31:52 -0800 (Wed, 30 Jan 2013)
New Revision: 7675
Modified:
complete.html
index
source
Log:
[e] (0) Merge WorkerUtils into WorkerGlobalScope
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18917
Affected topics: Canvas, DOM APIs, HTML, Workers
Modified: complete.html
===================================================================
--- complete.html 2013-01-30 23:20:29 UTC (rev 7674)
+++ complete.html 2013-01-30 23:31:52 UTC (rev 7675)
@@ -73821,7 +73821,7 @@
</dl><div class=impl>
<p class=note>The <code><a href=#windowbase64>WindowBase64</a></code> interface adds to the
- <code><a href=#window>Window</a></code> interface and the <code><a href=#workerutils>WorkerUtils</a></code>
+ <code><a href=#window>Window</a></code> interface and the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
interface (part of Web Workers).</p>
<p>The <dfn id=dom-windowbase64-btoa title=dom-windowbase64-btoa><code>btoa()</code></dfn>
@@ -74090,7 +74090,7 @@
<div class=impl>
<p class=note>The <code><a href=#windowtimers>WindowTimers</a></code> interface adds to the
- <code><a href=#window>Window</a></code> interface and the <code><a href=#workerutils>WorkerUtils</a></code>
+ <code><a href=#window>Window</a></code> interface and the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
interface (part of Web Workers).
</p>
@@ -74136,7 +74136,7 @@
necessarily consecutively).</p>
<p>Otherwise, if the <a href=#method-context>method context</a> is a
- <code><a href=#workerutils>WorkerUtils</a></code> object, wait until <var title="">timeout</var> milliseconds have passed with the worker
+ <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, wait until <var title="">timeout</var> milliseconds have passed with the worker
not suspended (not necessarily consecutively).</p>
<p>Otherwise, act as described in the specification that defines
@@ -74239,7 +74239,7 @@
milliseconds (not necessarily consecutively).</p>
<p>Otherwise, if the <a href=#method-context>method context</a> is a
- <code><a href=#workerutils>WorkerUtils</a></code> object, wait until <var title="">interval</var> milliseconds have passed with the worker
+ <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, wait until <var title="">interval</var> milliseconds have passed with the worker
not suspended (not necessarily consecutively).</p>
<p>Otherwise, act as described in the specification that defines
@@ -74280,7 +74280,7 @@
<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=#workerutils>WorkerUtils</a></code> object).</p>
+ <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object).</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>,
@@ -74337,7 +74337,7 @@
copy</a>).</p>
<p>Otherwise, if the <a href=#method-context>method context</a> is a
- <code><a href=#workerutils>WorkerUtils</a></code> object, let <var title="">global
+ <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, let <var title="">global
object</var>, <var title="">browsing context</var>, <var title="">document</var>, <var title="">referrer source</var>, <var title="">character encoding</var>, and <var title="">base
URL</var> be the <a href="#script's-global-object">script's global object</a>,
<a href="#script's-browsing-context">script's browsing context</a>, <a href="#script's-document">script's
@@ -75820,7 +75820,7 @@
void <a href=#dom-createimagebitmap title=dom-createImageBitmap>createImageBitmap</a>(<a href=#imagebitmapsource>ImageBitmapSource</a> image, <a href=#imagebitmapcallback>ImageBitmapCallback</a> _callback, optional long sx, long sy, long sw, long sh);
};
<a href=#window>Window</a> implements <a href=#imagebitmapfactories>ImageBitmapFactories</a>;
-<a href=#workerutils>WorkerUtils</a> implements <a href=#imagebitmapfactories>ImageBitmapFactories</a>;</pre>
+<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#imagebitmapfactories>ImageBitmapFactories</a>;</pre>
<p>An <code><a href=#imagebitmap>ImageBitmap</a></code> object represents a bitmap image that can be painted to a canvas
without undue latency.</p>
@@ -80947,8 +80947,7 @@
--> attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-workerglobalscope-onerror title=handler-WorkerGlobalScope-onerror>onerror</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-workerglobalscope-onoffline title=handler-WorkerGlobalScope-onoffline>onoffline</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-workerglobalscope-ononline title=handler-WorkerGlobalScope-ononline>ononline</a>;
-};
-<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#workerutils>WorkerUtils</a>;</pre>
+};</pre>
<p>The <dfn id=dom-workerglobalscope-self title=dom-WorkerGlobalScope-self><code>self</code></dfn> attribute
must return the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object itself.</p>
@@ -81730,7 +81729,7 @@
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
- implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>
+ implementing the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface.</p>
<h5 id=shared-workers-and-the-sharedworker-interface><span class=secno>9.2.6.3 </span>Shared workers and the <code><a href=#sharedworker>SharedWorker</a></code> interface</h5>
@@ -81973,7 +81972,7 @@
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
- implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>
+ implementing the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface.</p>
<p>The <a href=#task-source>task source</a> for the tasks mentioned above is the
<a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
@@ -81983,12 +81982,12 @@
<h3 id=apis-available-to-workers><span class=secno>9.3 </span>APIs available to workers</h3>
<pre class=idl>[NoInterfaceObject]
-interface <dfn id=workerutils>WorkerUtils</dfn> {
+partial interface <a href=#workerglobalscope>WorkerGlobalScope</a> {
void <a href=#dom-workerglobalscope-importscripts title=dom-WorkerGlobalScope-importScripts>importScripts</a>(DOMString... urls);
readonly attribute <a href=#workernavigator>WorkerNavigator</a> <a href=#dom-worker-navigator title=dom-worker-navigator>navigator</a>;
};
-<a href=#workerutils>WorkerUtils</a> implements <a href=#windowtimers>WindowTimers</a>;
-<a href=#workerutils>WorkerUtils</a> implements <a href=#windowbase64>WindowBase64</a>;</pre>
+<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#windowtimers>WindowTimers</a>;
+<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#windowbase64>WindowBase64</a>;</pre>
<p>The DOM APIs — specifically, all the interfaces defind in the DOM specification other
@@ -82087,7 +82086,7 @@
</ol><h4 id=the-workernavigator-object><span class=secno>9.3.2 </span>The <code><a href=#workernavigator>WorkerNavigator</a></code> object</h4>
<p>The <dfn id=dom-worker-navigator title=dom-worker-navigator><code>navigator</code></dfn> attribute
- of the <code><a href=#workerutils>WorkerUtils</a></code> interface must return an instance of
+ of the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface must return an instance of
the <code><a href=#workernavigator>WorkerNavigator</a></code> interface, which represents the
identity and state of the user agent (the client):</p>
@@ -82438,7 +82437,7 @@
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
- implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>
+ implementing the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface.</p>
<hr><p>The <dfn id=dom-eventsource-url title=dom-EventSource-url><code>url</code></dfn>
attribute must return the <a href=#absolute-url>absolute URL</a> that resulted
@@ -83054,20 +83053,20 @@
<p>While an <code><a href=#eventsource>EventSource</a></code> object's <code title=dom-EventSource-readyState><a href=#dom-eventsource-readystate>readyState</a></code> is <code title=dom-EventSource-CONNECTING><a href=#dom-eventsource-connecting>CONNECTING</a></code>, and the object
has one or more event listeners registered for <code title=event-open>open</code>, <code title=event-message><a href=#event-message>message</a></code> or <code title=event-error>error</code> events, there must be a strong
- reference from the <code><a href=#window>Window</a></code> or <code><a href=#workerutils>WorkerUtils</a></code>
+ reference from the <code><a href=#window>Window</a></code> or <code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
object that the <code><a href=#eventsource>EventSource</a></code> object's constructor was
invoked from to the <code><a href=#eventsource>EventSource</a></code> object itself.</p>
<p>While an <code><a href=#eventsource>EventSource</a></code> object's <code title=dom-EventSource-readyState><a href=#dom-eventsource-readystate>readyState</a></code> is <code title=dom-EventSource-OPEN><a href=#dom-eventsource-open>OPEN</a></code>, and the object has one or
more event listeners registered for <code title=event-message><a href=#event-message>message</a></code> or <code title=event-error>error</code> events, there must be a strong
- reference from the <code><a href=#window>Window</a></code> or <code><a href=#workerutils>WorkerUtils</a></code>
+ reference from the <code><a href=#window>Window</a></code> or <code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
object that the <code><a href=#eventsource>EventSource</a></code> object's constructor was
invoked from to the <code><a href=#eventsource>EventSource</a></code> object itself.</p>
<p>While there is a task queued by an <code><a href=#eventsource>EventSource</a></code>
object on the <a href=#remote-event-task-source>remote event task source</a>, there must be a
strong reference from the <code><a href=#window>Window</a></code> or
- <code><a href=#workerutils>WorkerUtils</a></code> object that the <code><a href=#eventsource>EventSource</a></code>
+ <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that the <code><a href=#eventsource>EventSource</a></code>
object's constructor was invoked from to that
<code><a href=#eventsource>EventSource</a></code> object.</p>
@@ -83354,7 +83353,7 @@
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
- implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>
+ implementing the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface.</p>
<hr><p>The <dfn id=dom-websocket-url title=dom-WebSocket-url><code>url</code></dfn>
attribute must return the result of <a href=#resolve-a-url title="resolve a
@@ -84615,7 +84614,7 @@
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
- implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>
+ implementing the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface.</p>
<p>The <dfn id=dom-channel-port1 title=dom-channel-port1><code>port1</code></dfn> and
<dfn id=dom-channel-port2 title=dom-channel-port2><code>port2</code></dfn> attributes
@@ -103389,7 +103388,6 @@
<li><code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
<li><code><a href=#workerlocation>WorkerLocation</a></code>
<li><code><a href=#workernavigator>WorkerNavigator</a></code>
- <li><code><a href=#workerutils>WorkerUtils</a></code>
<li><code>XMLDocument</code>, <a href=#xmldocument>partial</a>
</ul>
Modified: index
===================================================================
--- index 2013-01-30 23:20:29 UTC (rev 7674)
+++ index 2013-01-30 23:31:52 UTC (rev 7675)
@@ -73821,7 +73821,7 @@
</dl><div class=impl>
<p class=note>The <code><a href=#windowbase64>WindowBase64</a></code> interface adds to the
- <code><a href=#window>Window</a></code> interface and the <code><a href=#workerutils>WorkerUtils</a></code>
+ <code><a href=#window>Window</a></code> interface and the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
interface (part of Web Workers).</p>
<p>The <dfn id=dom-windowbase64-btoa title=dom-windowbase64-btoa><code>btoa()</code></dfn>
@@ -74090,7 +74090,7 @@
<div class=impl>
<p class=note>The <code><a href=#windowtimers>WindowTimers</a></code> interface adds to the
- <code><a href=#window>Window</a></code> interface and the <code><a href=#workerutils>WorkerUtils</a></code>
+ <code><a href=#window>Window</a></code> interface and the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
interface (part of Web Workers).
</p>
@@ -74136,7 +74136,7 @@
necessarily consecutively).</p>
<p>Otherwise, if the <a href=#method-context>method context</a> is a
- <code><a href=#workerutils>WorkerUtils</a></code> object, wait until <var title="">timeout</var> milliseconds have passed with the worker
+ <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, wait until <var title="">timeout</var> milliseconds have passed with the worker
not suspended (not necessarily consecutively).</p>
<p>Otherwise, act as described in the specification that defines
@@ -74239,7 +74239,7 @@
milliseconds (not necessarily consecutively).</p>
<p>Otherwise, if the <a href=#method-context>method context</a> is a
- <code><a href=#workerutils>WorkerUtils</a></code> object, wait until <var title="">interval</var> milliseconds have passed with the worker
+ <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, wait until <var title="">interval</var> milliseconds have passed with the worker
not suspended (not necessarily consecutively).</p>
<p>Otherwise, act as described in the specification that defines
@@ -74280,7 +74280,7 @@
<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=#workerutils>WorkerUtils</a></code> object).</p>
+ <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object).</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>,
@@ -74337,7 +74337,7 @@
copy</a>).</p>
<p>Otherwise, if the <a href=#method-context>method context</a> is a
- <code><a href=#workerutils>WorkerUtils</a></code> object, let <var title="">global
+ <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object, let <var title="">global
object</var>, <var title="">browsing context</var>, <var title="">document</var>, <var title="">referrer source</var>, <var title="">character encoding</var>, and <var title="">base
URL</var> be the <a href="#script's-global-object">script's global object</a>,
<a href="#script's-browsing-context">script's browsing context</a>, <a href="#script's-document">script's
@@ -75820,7 +75820,7 @@
void <a href=#dom-createimagebitmap title=dom-createImageBitmap>createImageBitmap</a>(<a href=#imagebitmapsource>ImageBitmapSource</a> image, <a href=#imagebitmapcallback>ImageBitmapCallback</a> _callback, optional long sx, long sy, long sw, long sh);
};
<a href=#window>Window</a> implements <a href=#imagebitmapfactories>ImageBitmapFactories</a>;
-<a href=#workerutils>WorkerUtils</a> implements <a href=#imagebitmapfactories>ImageBitmapFactories</a>;</pre>
+<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#imagebitmapfactories>ImageBitmapFactories</a>;</pre>
<p>An <code><a href=#imagebitmap>ImageBitmap</a></code> object represents a bitmap image that can be painted to a canvas
without undue latency.</p>
@@ -80947,8 +80947,7 @@
--> attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-workerglobalscope-onerror title=handler-WorkerGlobalScope-onerror>onerror</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-workerglobalscope-onoffline title=handler-WorkerGlobalScope-onoffline>onoffline</a>;
attribute <a href=#eventhandler>EventHandler</a> <a href=#handler-workerglobalscope-ononline title=handler-WorkerGlobalScope-ononline>ononline</a>;
-};
-<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#workerutils>WorkerUtils</a>;</pre>
+};</pre>
<p>The <dfn id=dom-workerglobalscope-self title=dom-WorkerGlobalScope-self><code>self</code></dfn> attribute
must return the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object itself.</p>
@@ -81730,7 +81729,7 @@
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
- implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>
+ implementing the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface.</p>
<h5 id=shared-workers-and-the-sharedworker-interface><span class=secno>9.2.6.3 </span>Shared workers and the <code><a href=#sharedworker>SharedWorker</a></code> interface</h5>
@@ -81973,7 +81972,7 @@
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
- implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>
+ implementing the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface.</p>
<p>The <a href=#task-source>task source</a> for the tasks mentioned above is the
<a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
@@ -81983,12 +81982,12 @@
<h3 id=apis-available-to-workers><span class=secno>9.3 </span>APIs available to workers</h3>
<pre class=idl>[NoInterfaceObject]
-interface <dfn id=workerutils>WorkerUtils</dfn> {
+partial interface <a href=#workerglobalscope>WorkerGlobalScope</a> {
void <a href=#dom-workerglobalscope-importscripts title=dom-WorkerGlobalScope-importScripts>importScripts</a>(DOMString... urls);
readonly attribute <a href=#workernavigator>WorkerNavigator</a> <a href=#dom-worker-navigator title=dom-worker-navigator>navigator</a>;
};
-<a href=#workerutils>WorkerUtils</a> implements <a href=#windowtimers>WindowTimers</a>;
-<a href=#workerutils>WorkerUtils</a> implements <a href=#windowbase64>WindowBase64</a>;</pre>
+<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#windowtimers>WindowTimers</a>;
+<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#windowbase64>WindowBase64</a>;</pre>
<p>The DOM APIs — specifically, all the interfaces defind in the DOM specification other
@@ -82087,7 +82086,7 @@
</ol><h4 id=the-workernavigator-object><span class=secno>9.3.2 </span>The <code><a href=#workernavigator>WorkerNavigator</a></code> object</h4>
<p>The <dfn id=dom-worker-navigator title=dom-worker-navigator><code>navigator</code></dfn> attribute
- of the <code><a href=#workerutils>WorkerUtils</a></code> interface must return an instance of
+ of the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface must return an instance of
the <code><a href=#workernavigator>WorkerNavigator</a></code> interface, which represents the
identity and state of the user agent (the client):</p>
@@ -82438,7 +82437,7 @@
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
- implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>
+ implementing the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface.</p>
<hr><p>The <dfn id=dom-eventsource-url title=dom-EventSource-url><code>url</code></dfn>
attribute must return the <a href=#absolute-url>absolute URL</a> that resulted
@@ -83054,20 +83053,20 @@
<p>While an <code><a href=#eventsource>EventSource</a></code> object's <code title=dom-EventSource-readyState><a href=#dom-eventsource-readystate>readyState</a></code> is <code title=dom-EventSource-CONNECTING><a href=#dom-eventsource-connecting>CONNECTING</a></code>, and the object
has one or more event listeners registered for <code title=event-open>open</code>, <code title=event-message><a href=#event-message>message</a></code> or <code title=event-error>error</code> events, there must be a strong
- reference from the <code><a href=#window>Window</a></code> or <code><a href=#workerutils>WorkerUtils</a></code>
+ reference from the <code><a href=#window>Window</a></code> or <code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
object that the <code><a href=#eventsource>EventSource</a></code> object's constructor was
invoked from to the <code><a href=#eventsource>EventSource</a></code> object itself.</p>
<p>While an <code><a href=#eventsource>EventSource</a></code> object's <code title=dom-EventSource-readyState><a href=#dom-eventsource-readystate>readyState</a></code> is <code title=dom-EventSource-OPEN><a href=#dom-eventsource-open>OPEN</a></code>, and the object has one or
more event listeners registered for <code title=event-message><a href=#event-message>message</a></code> or <code title=event-error>error</code> events, there must be a strong
- reference from the <code><a href=#window>Window</a></code> or <code><a href=#workerutils>WorkerUtils</a></code>
+ reference from the <code><a href=#window>Window</a></code> or <code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
object that the <code><a href=#eventsource>EventSource</a></code> object's constructor was
invoked from to the <code><a href=#eventsource>EventSource</a></code> object itself.</p>
<p>While there is a task queued by an <code><a href=#eventsource>EventSource</a></code>
object on the <a href=#remote-event-task-source>remote event task source</a>, there must be a
strong reference from the <code><a href=#window>Window</a></code> or
- <code><a href=#workerutils>WorkerUtils</a></code> object that the <code><a href=#eventsource>EventSource</a></code>
+ <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> object that the <code><a href=#eventsource>EventSource</a></code>
object's constructor was invoked from to that
<code><a href=#eventsource>EventSource</a></code> object.</p>
@@ -83354,7 +83353,7 @@
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
- implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>
+ implementing the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface.</p>
<hr><p>The <dfn id=dom-websocket-url title=dom-WebSocket-url><code>url</code></dfn>
attribute must return the result of <a href=#resolve-a-url title="resolve a
@@ -84615,7 +84614,7 @@
</ol><p>This constructor must be visible when the <a href="#script's-global-object">script's global
object</a> is either a <code><a href=#window>Window</a></code> object or an object
- implementing the <code><a href=#workerutils>WorkerUtils</a></code> interface.</p>
+ implementing the <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface.</p>
<p>The <dfn id=dom-channel-port1 title=dom-channel-port1><code>port1</code></dfn> and
<dfn id=dom-channel-port2 title=dom-channel-port2><code>port2</code></dfn> attributes
@@ -103389,7 +103388,6 @@
<li><code><a href=#workerglobalscope>WorkerGlobalScope</a></code>
<li><code><a href=#workerlocation>WorkerLocation</a></code>
<li><code><a href=#workernavigator>WorkerNavigator</a></code>
- <li><code><a href=#workerutils>WorkerUtils</a></code>
<li><code>XMLDocument</code>, <a href=#xmldocument>partial</a>
</ul>
Modified: source
===================================================================
--- source 2013-01-30 23:20:29 UTC (rev 7674)
+++ source 2013-01-30 23:31:52 UTC (rev 7675)
@@ -86347,7 +86347,7 @@
<div class="impl">
<p class="note">The <code>WindowBase64</code> interface adds to the
- <code>Window</code> interface and the <code>WorkerUtils</code>
+ <code>Window</code> interface and the <code>WorkerGlobalScope</code>
interface (part of Web Workers).</p>
<p>The <dfn title="dom-windowbase64-btoa"><code>btoa()</code></dfn>
@@ -86655,7 +86655,7 @@
<div class="impl">
<p class="note">The <code>WindowTimers</code> interface adds to the
- <code>Window</code> interface and the <code>WorkerUtils</code>
+ <code>Window</code> interface and the <code>WorkerGlobalScope</code>
interface (part of Web Workers).
<!--END complete-->
<a href="#refsWEBWORKERS">[WEBWORKERS]</a>
@@ -86713,7 +86713,7 @@
necessarily consecutively).</p>
<p>Otherwise, if the <span>method context</span> is a
- <code>WorkerUtils</code> object, wait until <var
+ <code>WorkerGlobalScope</code> object, wait until <var
title="">timeout</var> milliseconds have passed with the worker
not suspended (not necessarily consecutively).</p>
@@ -86829,7 +86829,7 @@
milliseconds (not necessarily consecutively).</p>
<p>Otherwise, if the <span>method context</span> is a
- <code>WorkerUtils</code> object, wait until <var
+ <code>WorkerGlobalScope</code> object, wait until <var
title="">interval</var> milliseconds have passed with the worker
not suspended (not necessarily consecutively).</p>
@@ -86882,7 +86882,7 @@
<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>WorkerUtils</code> object).</p>
+ <code>WorkerGlobalScope</code> object).</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>,
@@ -86951,7 +86951,7 @@
copy</a>).</p>
<p>Otherwise, if the <span>method context</span> is a
- <code>WorkerUtils</code> object, let <var title="">global
+ <code>WorkerGlobalScope</code> object, let <var title="">global
object</var>, <var title="">browsing context</var>, <var
title="">document</var>, <var title="">referrer source</var>, <var
title="">character encoding</var>, and <var title="">base
@@ -88653,7 +88653,7 @@
void <span title="dom-createImageBitmap">createImageBitmap</span>(<span>ImageBitmapSource</span> image, <span>ImageBitmapCallback</span> _callback, optional long sx, long sy, long sw, long sh);
};
<span>Window</span> implements <span>ImageBitmapFactories</span>;
-<span>WorkerUtils</span> implements <span>ImageBitmapFactories</span>;</pre>
+<span>WorkerGlobalScope</span> implements <span>ImageBitmapFactories</span>;</pre>
<p>An <code>ImageBitmap</code> object represents a bitmap image that can be painted to a canvas
without undue latency.</p>
@@ -93896,8 +93896,7 @@
--> attribute <span>EventHandler</span> <span title="handler-WorkerGlobalScope-onerror">onerror</span>;
attribute <span>EventHandler</span> <span title="handler-WorkerGlobalScope-onoffline">onoffline</span>;
attribute <span>EventHandler</span> <span title="handler-WorkerGlobalScope-ononline">ononline</span>;
-};
-<span>WorkerGlobalScope</span> implements <span>WorkerUtils</span>;</pre>
+};</pre>
<p>The <dfn
title="dom-WorkerGlobalScope-self"><code>self</code></dfn> attribute
@@ -94823,7 +94822,7 @@
<p>This constructor must be visible when the <span>script's global
object</span> is either a <code>Window</code> object or an object
- implementing the <code>WorkerUtils</code> interface.</p>
+ implementing the <code>WorkerGlobalScope</code> interface.</p>
<h5>Shared workers and the <code>SharedWorker</code> interface</h5>
@@ -95106,7 +95105,7 @@
<p>This constructor must be visible when the <span>script's global
object</span> is either a <code>Window</code> object or an object
- implementing the <code>WorkerUtils</code> interface.</p>
+ implementing the <code>WorkerGlobalScope</code> interface.</p>
<p>The <span>task source</span> for the tasks mentioned above is the
<span>DOM manipulation task source</span>.</p>
@@ -95116,12 +95115,12 @@
<h3>APIs available to workers</h3>
<pre class="idl">[NoInterfaceObject]
-interface <dfn>WorkerUtils</dfn> {
+partial interface <span>WorkerGlobalScope</span> {
void <span title="dom-WorkerGlobalScope-importScripts">importScripts</span>(DOMString... urls);
readonly attribute <span>WorkerNavigator</span> <span title="dom-worker-navigator">navigator</span>;
};
-<span>WorkerUtils</span> implements <span>WindowTimers</span>;
-<span>WorkerUtils</span> implements <span>WindowBase64</span>;</pre>
+<span>WorkerGlobalScope</span> implements <span>WindowTimers</span>;
+<span>WorkerGlobalScope</span> implements <span>WindowBase64</span>;</pre>
<!--END complete-->
<p>The <code>WindowTimers</code> and <code>WindowBase64</code>
@@ -95247,7 +95246,7 @@
<p>The <dfn
title="dom-worker-navigator"><code>navigator</code></dfn> attribute
- of the <code>WorkerUtils</code> interface must return an instance of
+ of the <code>WorkerGlobalScope</code> interface must return an instance of
the <code>WorkerNavigator</code> interface, which represents the
identity and state of the user agent (the client):</p>
@@ -95652,7 +95651,7 @@
<p>This constructor must be visible when the <span>script's global
object</span> is either a <code>Window</code> object or an object
- implementing the <code>WorkerUtils</code> interface.</p>
+ implementing the <code>WorkerGlobalScope</code> interface.</p>
<hr>
@@ -96383,7 +96382,7 @@
title="event-open">open</code>, <code
title="event-message">message</code> or <code
title="event-error">error</code> events, there must be a strong
- reference from the <code>Window</code> or <code>WorkerUtils</code>
+ reference from the <code>Window</code> or <code>WorkerGlobalScope</code>
object that the <code>EventSource</code> object's constructor was
invoked from to the <code>EventSource</code> object itself.</p>
@@ -96393,14 +96392,14 @@
more event listeners registered for <code
title="event-message">message</code> or <code
title="event-error">error</code> events, there must be a strong
- reference from the <code>Window</code> or <code>WorkerUtils</code>
+ reference from the <code>Window</code> or <code>WorkerGlobalScope</code>
object that the <code>EventSource</code> object's constructor was
invoked from to the <code>EventSource</code> object itself.</p>
<p>While there is a task queued by an <code>EventSource</code>
object on the <span>remote event task source</span>, there must be a
strong reference from the <code>Window</code> or
- <code>WorkerUtils</code> object that the <code>EventSource</code>
+ <code>WorkerGlobalScope</code> object that the <code>EventSource</code>
object's constructor was invoked from to that
<code>EventSource</code> object.</p>
@@ -96725,7 +96724,7 @@
<p>This constructor must be visible when the <span>script's global
object</span> is either a <code>Window</code> object or an object
- implementing the <code>WorkerUtils</code> interface.</p>
+ implementing the <code>WorkerGlobalScope</code> interface.</p>
<hr>
@@ -98265,7 +98264,7 @@
<p>This constructor must be visible when the <span>script's global
object</span> is either a <code>Window</code> object or an object
- implementing the <code>WorkerUtils</code> interface.</p>
+ implementing the <code>WorkerGlobalScope</code> interface.</p>
<p>The <dfn title="dom-channel-port1"><code>port1</code></dfn> and
<dfn title="dom-channel-port2"><code>port2</code></dfn> attributes
More information about the Commit-Watchers
mailing list