зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
6472811ae7
Коммит
e6f5631cf8
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче