workers/Overview.html 1.44 51 Fire unload when the worker shuts down no

Fire unload when the worker shuts down normally. (whatwg r51)

run a worker
http://people.w3.org/mike/diffs/html5/workers/Overview.1.44.html#run-a

http://people.w3.org/mike/diffs/html5/workers/Overview.diff.html
http://dev.w3.org/cvsweb/html5/workers/Overview.html?r1=1.43&r2=1.44&f=h
http://html5.org/tools/web-apps-tracker?from=50&to=51

===================================================================
RCS file: /sources/public/html5/workers/Overview.html,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- Overview.html 8 Aug 2008 04:14:00 -0000 1.43
+++ Overview.html 8 Aug 2008 05:05:08 -0000 1.44
@@ -1241,7 +1241,13 @@
      href="#suspendable">suspendable worker</a>, the <var
      title="">worker</var> object's <code
      title=dom-WorkerGlobalScope-closing><a
-     href="#closing">closing</a></code> attribute is set to true.</p>
+     href="#closing">closing</a></code> attribute is set to true and an event
+     named <code title=event-unload>unload</code>, which uses the
+     <code>Event</code> object, which does not bubble, and which is not
+     cancelable, is added it to the worker's <code><a
+     href="#workerglobalscope">WorkerGlobalScope</a></code> object's <a
+     href="#queue">queue of events</a>, targetted at the <code><a
+     href="#workerglobalscope">WorkerGlobalScope</a></code> object.</p>
 
    <li>
     <p><strong>Suspending workers</strong>: Start monitoring <var

Received on Friday, 8 August 2008 05:06:40 UTC