[html5] r5835 - [giow] (1) Make workers get the online and offline events also.
whatwg at whatwg.org
whatwg at whatwg.org
Fri Feb 4 16:36:33 PST 2011
Author: ianh
Date: 2011-02-04 16:36:32 -0800 (Fri, 04 Feb 2011)
New Revision: 5835
Modified:
complete.html
index
source
Log:
[giow] (1) Make workers get the online and offline events also.
Modified: complete.html
===================================================================
--- complete.html 2011-02-05 00:09:40 UTC (rev 5834)
+++ complete.html 2011-02-05 00:36:32 UTC (rev 5835)
@@ -63836,18 +63836,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><a href=#workerglobalscope>WorkerGlobalScope</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> or <code><a href=#workerglobalscope>WorkerGlobalScope</a></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><a href=#workerglobalscope>WorkerGlobalScope</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> or <code><a href=#workerglobalscope>WorkerGlobalScope</a></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>
Modified: index
===================================================================
--- index 2011-02-05 00:09:40 UTC (rev 5834)
+++ index 2011-02-05 00:36:32 UTC (rev 5835)
@@ -63833,18 +63833,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>
Modified: source
===================================================================
--- source 2011-02-05 00:09:40 UTC (rev 5834)
+++ source 2011-02-05 00:36:32 UTC (rev 5835)
@@ -72618,19 +72618,20 @@
return true otherwise.</p>
<p>When the value that would be returned by the <code
- title="dom-navigator-onLine">navigator.onLine</code> attribute of
- the <code>Window</code> changes from true to false, the user agent
- must <span>queue a task</span> to <span>fire a simple event</span>
- named <dfn title="event-offline"><code>offline</code></dfn> at the
- <code>Window</code> object.</p>
+ title="dom-navigator-onLine">navigator.onLine</code> attribute of a
+ <code>Window</code> or <code>WorkerGlobalScope</code> changes from
+ true to false, the user agent must <span>queue a task</span> to
+ <span>fire a simple event</span> named <dfn
+ title="event-offline"><code>offline</code></dfn> at the
+ <code>Window</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">navigator.onLine</code> attribute
- of the <code>Window</code> changes from false to true, the user
- agent must <span>queue a task</span> to <span>fire a simple
- event</span> named <dfn
+ of a <code>Window</code> or <code>WorkerGlobalScope</code> changes
+ from false to true, the user agent must <span>queue a task</span> to
+ <span>fire a simple event</span> named <dfn
title="event-online"><code>online</code></dfn> at the
- <code>Window</code> object.</p>
+ <code>Window</code> or <code>WorkerGlobalScope</code> object.</p>
<p>The <span>task source</span> for these <span
title="concept-task">tasks</span> is the <span>networking task
More information about the Commit-Watchers
mailing list