[html5] Web Workers question
dylan.barrell at deque.com
Thu Apr 22 09:15:56 PDT 2010
I have a question about Web Workers
It seems like the spec http://www.whatwg.org/specs/web-workers/current-work/
is somewhat confused about whether any documents are available in
On the one hand, it says that if the script creating the Worker's
global object is a Window, then the document should be added to the
"worker's Documents",but then goes on to say that the DOM API is not
available to the Worker in this version of the spec.
How does adding the document to the WorkerGlobalScope help if the DOM
API is not available?
Doesn't this really reduce the usefulness of the Worker object by
restricting it to tasks that have nothing to do with the DOM - e.g.
analyzing it as it changes?
thoughts on this?
More information about the Help