Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (0) Expose handlers for online and offline events in workers
git-svn-id: http://svn.whatwg.org/webapps@6196 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 8, 2011
1 parent 8e02367 commit b690bbc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions complete.html
Expand Up @@ -77019,6 +77019,8 @@ <h5 id=the-workerglobalscope-abstract-interface><span class=secno>10.2.1.1 </spa
void <a href=#dom-workerglobalscope-close title=dom-WorkerGlobalScope-close>close</a>();
<!-- v2-onclose attribute <span>Function</span> <span title="handler-WorkerGlobalScope-onclose">onclose</span>;
--> attribute <a href=#function>Function</a> <a href=#handler-workerglobalscope-onerror title=handler-WorkerGlobalScope-onerror>onerror</a>;
attribute <a href=#function>Function</a> <a href=#handler-workerglobalscope-onoffline title=handler-WorkerGlobalScope-onoffline>onoffline</a>;
attribute <a href=#function>Function</a> <a href=#handler-workerglobalscope-ononline title=handler-WorkerGlobalScope-ononline>ononline</a>;
};
<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#workerutils>WorkerUtils</a>;
<a href=#workerglobalscope>WorkerGlobalScope</a> implements <a href=#eventtarget>EventTarget</a>;</pre>
Expand Down Expand Up @@ -77058,6 +77060,8 @@ <h5 id=the-workerglobalscope-abstract-interface><span class=secno>10.2.1.1 </spa

<table><thead><tr><th><a href=#event-handlers title="event handlers">Event handler</a> <th><a href=#event-handler-event-type>Event handler event type</a>
<tbody><!-- v2-onclose <tr><td><dfn title="handler-WorkerGlobalScope-onclose"><code>onclose</code></dfn> <td> <code title="event-close">close</code> --><tr><td><dfn id=handler-workerglobalscope-onerror title=handler-WorkerGlobalScope-onerror><code>onerror</code></dfn> <td> <code title=event-error>error</code>
<tr><td><dfn id=handler-workerglobalscope-onoffline title=handler-WorkerGlobalScope-onoffline><code>onoffline</code></dfn> <td> <code title=event-offline><a href=#event-offline>offline</a></code> <!-- new -->
<tr><td><dfn id=handler-workerglobalscope-ononline title=handler-WorkerGlobalScope-ononline><code>ononline</code></dfn> <td> <code title=event-online><a href=#event-online>online</a></code> <!-- new -->
</table><hr><p>The <code><a href=#workerglobalscope>WorkerGlobalScope</a></code> interface must not exist if
the interface's <span>relevant namespace object</span> is a
<code><a href=#window>Window</a></code> object. <a href=#refsWEBIDL>[WEBIDL]</a></p>
Expand Down
4 changes: 4 additions & 0 deletions source
Expand Up @@ -87354,6 +87354,8 @@ local.onaddstream = function (event) {
void <span title="dom-WorkerGlobalScope-close">close</span>();
<!-- v2-onclose attribute <span>Function</span> <span title="handler-WorkerGlobalScope-onclose">onclose</span>;
--> attribute <span>Function</span> <span title="handler-WorkerGlobalScope-onerror">onerror</span>;
attribute <span>Function</span> <span title="handler-WorkerGlobalScope-onoffline">onoffline</span>;
attribute <span>Function</span> <span title="handler-WorkerGlobalScope-ononline">ononline</span>;
};
<span>WorkerGlobalScope</span> implements <span>WorkerUtils</span>;
<span>WorkerGlobalScope</span> implements <span>EventTarget</span>;</pre>
Expand Down Expand Up @@ -87406,6 +87408,8 @@ local.onaddstream = function (event) {
<tbody>
<!-- v2-onclose <tr><td><dfn title="handler-WorkerGlobalScope-onclose"><code>onclose</code></dfn> <td> <code title="event-close">close</code> -->
<tr><td><dfn title="handler-WorkerGlobalScope-onerror"><code>onerror</code></dfn> <td> <code title="event-error">error</code>
<tr><td><dfn title="handler-WorkerGlobalScope-onoffline"><code>onoffline</code></dfn> <td> <code title="event-offline">offline</code> <!-- new -->
<tr><td><dfn title="handler-WorkerGlobalScope-ononline"><code>ononline</code></dfn> <td> <code title="event-online">online</code> <!-- new -->
</table>

<hr>
Expand Down

0 comments on commit b690bbc

Please sign in to comment.