Skip to content

Commit 6895e6b

Browse files
committed
Bug 1639461 - Remove last(?) remnants of the -remote command line flag. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D197315
1 parent 6e1293b commit 6895e6b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

browser/components/BrowserContentHandler.sys.mjs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -442,17 +442,6 @@ nsBrowserContentHandler.prototype = {
442442
cmdLine.preventDefault = true;
443443
}
444444

445-
// In the past, when an instance was not already running, the -remote
446-
// option returned an error code. Any script or application invoking the
447-
// -remote option is expected to be handling this case, otherwise they
448-
// wouldn't be doing anything when there is no Firefox already running.
449-
// Making the -remote option always return an error code makes those
450-
// scripts or applications handle the situation as if Firefox was not
451-
// already running.
452-
if (cmdLine.handleFlag("remote", true)) {
453-
throw Components.Exception("", Cr.NS_ERROR_ABORT);
454-
}
455-
456445
var uriparam;
457446
try {
458447
while ((uriparam = cmdLine.handleFlagWithParam("new-window", false))) {

0 commit comments

Comments
 (0)