mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
bug 99601, don't install xpconnect debugger keyword handler if one is already there, r=jband, sr=brendan
This commit is contained in:
parent
5f94389322
commit
7491994718
@ -763,7 +763,7 @@ XPCJSRuntime::XPCJSRuntime(nsXPConnect* aXPConnect,
|
||||
|
||||
// Install a JavaScript 'debugger' keyword handler in debug builds only
|
||||
#ifdef DEBUG
|
||||
if(mJSRuntime)
|
||||
if(mJSRuntime && !mJSRuntime->debuggerHandler)
|
||||
xpc_InstallJSDebuggerKeywordHandler(mJSRuntime);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user