зеркало из https://github.com/mozilla/pjs.git
Bug 283851 - javascript strict warnings in nsBrowserContentHandler.js. patch from Robert Strong <moz_bugzilla@exchangecode.com>. r=mconnor
This commit is contained in:
Родитель
7b400f89cb
Коммит
8199b5583d
|
@ -170,7 +170,7 @@ var nsBrowserContentHandler = {
|
|||
|
||||
try {
|
||||
var uriparam;
|
||||
while (uriparam = cmdLine.handleFlagWithParam("new-window", false)) {
|
||||
while ((uriparam = cmdLine.handleFlagWithParam("new-window", false))) {
|
||||
var uri = cmdLine.resolveURI(uriparam);
|
||||
openWindow(null, this.chromeURL, "_blank",
|
||||
"chrome,dialog=no,all" + this.getFeatures(cmdLine),
|
||||
|
@ -305,7 +305,7 @@ var nsDefaultCommandLineHandler = {
|
|||
|
||||
try {
|
||||
var ar;
|
||||
while (ar = cmdLine.handleFlagWithParam("url", false)) {
|
||||
while ((ar = cmdLine.handleFlagWithParam("url", false))) {
|
||||
urilist.push(cmdLine.resolveURI(ar));
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче