[whatwg] Combining the DedicatedWorker and SharedWorker interfaces

Aaron Boodman aa at google.com
Wed Nov 12 10:26:29 PST 2008

2008/11/12 Alexey Proskuryakov <ap at webkit.org>:
> Nov 4, 2008, в 10:08 AM, Aaron Boodman написал(а):
>> * Add startConversation() to SharedWorker, but rename it "connect()"
>> and make the onconnect event fire inside the worker each time it is
>> called.
> What event do you suggest to dispatch in the worker when connect() is
> called?

I meant "connect". The same "connect" event (I'm not sure of the
constructor off the top of my head) that Hixie originally had being
fired when new clients create new instances of a shared worker.

> From the above, it formally follows that a MessageEvent with name
> "message" is dispatched

How does that follow?

- a

More information about the whatwg mailing list