Bug 395371 - "do not launch a second browser window when calling firefox -jsconsole" [p=philip.chee@gmail.com (Philip Chee) r=bsmedberg a1.9=mconnor]

This commit is contained in:
reed@reedloden.com 2007-10-02 23:41:37 -07:00
parent 5b2b66c9d3
commit cb3573ba0a

View File

@ -87,9 +87,9 @@ const jsConsoleHandler = {
console.focus();
}
// note that since we don't prevent the default action, you'll get
// an additional application window, unless you specified another
// command line flag
if (cmdLine.state == nsICommandLine.STATE_REMOTE_AUTO) {
cmdLine.preventDefault = true;
}
},
helpInfo : " -jsconsole Open the Error console.\n",