bug 99601, don't install xpconnect debugger keyword handler if one is already there, r=jband, sr=brendan

This commit is contained in:
rginda%netscape.com 2001-10-31 23:13:17 +00:00
parent 5f94389322
commit 7491994718

View File

@ -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
}