Firebug and probably the Web Console want to use Debugger APIs without the overhead of debug mode, see https://github.com/jimblandy/DebuggerDocs/issues/7. The simplest way forward is an API |Debugger.prototype.makeDebuggeeValueFromGlobal|, which returns the Debugger.Object version of a global without adding it as a debuggee.
Created attachment 759049 [details] [diff] [review] Implement Debugger.prototype.makeDebuggeeValueFromGlobal. Sample patch, not tested. jimb says it looks odd, but hey.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 914405
You need to log in before you can comment on or make changes to this bug.