Closed
Bug 903770
Opened 11 years ago
Closed 11 years ago
Achieve parity with the main thread for DOM objects.
Categories
(Core :: DOM: Workers, defect)
Core
DOM: Workers
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: khuey, Assigned: khuey)
References
(Blocks 2 open bugs)
Details
(Keywords: meta, Whiteboard: [qa-])
Hang things off this bug that are needed for the same DOM code to work on both the main thread and worker threads.
Depends on: 853893
Comment 1•11 years ago
|
||
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #0)
> Hang things off this bug that are needed for the same DOM code to work on
> both the main thread and worker threads.
Just to be sure I understand, does this mean it'll be possible to do something like:
DOMImplementation.createHTMLDocument()
in a worker?
The WebWorker spec has been (overly!) restrictive on that topic so far:
"The DOM APIs — specifically, all the interfaces defined in the DOM specification other than exceptions — must not be exposed to JavaScript if the JavaScript global environment is a worker environment."
http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#apis-available-to-workers
It'd be lovely if that changed :-)
Assignee | ||
Comment 2•11 years ago
|
||
(In reply to David Bruant from comment #1)
> (In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #0)
> > Hang things off this bug that are needed for the same DOM code to work on
> > both the main thread and worker threads.
> Just to be sure I understand, does this mean it'll be possible to do
> something like:
> DOMImplementation.createHTMLDocument()
> in a worker?
No. I'm using DOM to mean "APIs exposed to webpages" here, not "nodes". This bug is about getting the infrastructure in place to write implementations, not to implement specific features.
Blocks: 916195
Assignee | ||
Comment 3•11 years ago
|
||
I'm going to declare victory here.
Assignee: nobody → khuey
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Target Milestone: --- → mozilla29
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•