Closed Bug 1200444 Opened 7 years ago Closed 7 years ago
Debugger and JS::dbg::Get Debuggee Globals should see through CCWs
No description provided.
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)
Attachment #8655132 - Flags: review?(sphink) → review?(jimb)
You need to log in before you can comment on or make changes to this bug.