[whatwg] workers

Alexey Proskuryakov ap at webkit.org
Tue Sep 30 06:47:51 PDT 2008

Sep 24, 2008, в 10:38 PM, Aaron Boodman написал(а):

> interface DedicatedWorker : Worker {

I've been trying to understand the difference between SharedWorker and  
DedicatedWorker interfaces. Besides the ability to pick an existing  
worker by name, are there any other semantic differences? I may be  
missing something, but it looks like a single Worker interface with an  
optional name parameter to constructor would work just as well.

> void sendMessage(String message);

The WHATWG draft calls this postMessage() - is this just a different  
name, or an implied substantial difference in behavior?

- WBR, Alexey Proskuryakov

More information about the whatwg mailing list