Closed
Bug 1200444
Opened 9 years ago
Closed 9 years ago
JS::dbg::IsDebugger and JS::dbg::GetDebuggeeGlobals should see through CCWs
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: fitzgen, Assigned: fitzgen)
References
Details
Attachments
(1 file)
4.25 KB,
patch
|
jimb
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Most devtools code that uses a Debugger actually ends up doing it through modules with a different global from the one the Debugger was instantiated in, and so it gets a CCW. When we pass one of these CCWs to ThreadSafeChromeUtils.saveHeapSnapshot, it would throw NS_ERROR_INVALID_ARG. The most straightforward fix is to have the JS APIs that ThreadSafeChromeUtils.saveHeapSnapshot calls peek through CCWs.
Attachment #8655132 -
Flags: review?(sphink)
Assignee | ||
Updated•9 years ago
|
Attachment #8655132 -
Flags: review?(sphink) → review?(jimb)
Updated•9 years ago
|
Attachment #8655132 -
Flags: review?(jimb) → review+
Assignee | ||
Comment 2•9 years ago
|
||
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=f5505a8f3df0
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/928ff2e0c463
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•