Closed
Bug 773160
Opened 13 years ago
Closed 13 years ago
expose a reduced 'navigator' object to frameworker workers
Categories
(Firefox Graveyard :: SocialAPI, defect)
Firefox Graveyard
SocialAPI
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 17
People
(Reporter: markh, Assigned: markh)
References
Details
Attachments
(1 file, 2 obsolete files)
4.22 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
From https://bugzilla.mozilla.org/show_bug.cgi?id=770679#c2, we should not expose the full 'navigator' object to workers.
http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#the-workernavigator-object lists what a real DOM worker gets, and our Frameworker should restrict things to this list.
Attachment #641373 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 1•13 years ago
|
||
This patch adds __exposedProps__ to the navigator object to prevent warnings.
Attachment #641373 -
Attachment is obsolete: true
Attachment #641373 -
Flags: review?(gavin.sharp)
Attachment #641375 -
Flags: review?(gavin.sharp)
Comment 2•13 years ago
|
||
Comment on attachment 641375 [details] [diff] [review]
expose a subset of navigator and add navigator specific tests and include __exposedProps__
thanks!
Attachment #641375 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Whiteboard: [in-testsuite]
Updated•13 years ago
|
Flags: in-testsuite+
Whiteboard: [in-testsuite]
Target Milestone: --- → Firefox 16
Version: unspecified → Trunk
Assignee | ||
Comment 4•13 years ago
|
||
backed out due to leaks
Assignee | ||
Comment 5•13 years ago
|
||
Same as old patch except one line added: worker.terminate();
Attachment #641375 -
Attachment is obsolete: true
Attachment #642489 -
Flags: review?(gavin.sharp)
Updated•13 years ago
|
Attachment #642489 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 6•13 years ago
|
||
New patch pushed as https://hg.mozilla.org/integration/mozilla-inbound/rev/6d2002bd64c5
Comment 7•13 years ago
|
||
Didn't make it to mozilla-central before the uplift (merge was blocked on bug 774259). Adjusting milestone accordingly.
Target Milestone: Firefox 16 → Firefox 17
Comment 8•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•