hixie: Make workers get the online and offline events also. (whatwg r5835)

hixie: Make workers get the online and offline events also. (whatwg
r5835)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4685&r2=1.4686&f=h
http://html5.org/tools/web-apps-tracker?from=5834&to=5835

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4685
retrieving revision 1.4686
diff -u -d -r1.4685 -r1.4686
--- Overview.html 5 Feb 2011 00:09:47 -0000 1.4685
+++ Overview.html 5 Feb 2011 00:36:37 -0000 1.4686
@@ -47554,18 +47554,18 @@
   remote page (or knows that such an attempt would fail), and must
   return true otherwise.</p>
 
-  <p>When the value that would be returned by the <code title="dom-navigator-onLine"><a href="#dom-navigator-online">navigator.onLine</a></code> attribute of
-  the <code><a href="#window">Window</a></code> changes from true to false, the user agent
-  must <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a>
-  named <dfn id="event-offline" title="event-offline"><code>offline</code></dfn> at the
-  <code><a href="#window">Window</a></code> object.</p>
+  <p>When the value that would be returned by the <code title="dom-navigator-onLine"><a href="#dom-navigator-online">navigator.onLine</a></code> attribute of a
+  <code><a href="#window">Window</a></code> or <code>WorkerGlobalScope</code> changes from
+  true to false, the user agent must <a href="#queue-a-task">queue a task</a> to
+  <a href="#fire-a-simple-event">fire a simple event</a> named <dfn id="event-offline" title="event-offline"><code>offline</code></dfn> at the
+  <code><a href="#window">Window</a></code> or <code>WorkerGlobalScope</code> object.</p>
 
   <p>On the other hand, when the value that would be returned by the
   <code title="dom-navigator-onLine"><a href="#dom-navigator-online">navigator.onLine</a></code> attribute
-  of the <code><a href="#window">Window</a></code> changes from false to true, the user
-  agent must <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple
-  event</a> named <dfn id="event-online" title="event-online"><code>online</code></dfn> at the
-  <code><a href="#window">Window</a></code> object.</p>
+  of a <code><a href="#window">Window</a></code> or <code>WorkerGlobalScope</code> changes
+  from false to true, the user agent must <a href="#queue-a-task">queue a task</a> to
+  <a href="#fire-a-simple-event">fire a simple event</a> named <dfn id="event-online" title="event-online"><code>online</code></dfn> at the
+  <code><a href="#window">Window</a></code> or <code>WorkerGlobalScope</code> object.</p>
 
   <p>The <a href="#task-source">task source</a> for these <a href="#concept-task" title="concept-task">tasks</a> is the <a href="#networking-task-source">networking task
   source</a>.</p>

Received on Saturday, 5 February 2011 00:38:52 UTC