Bug 631973 - Opening Firefox in permanent private browsing mode opens an additional window with the home page; r=gavin

This commit is contained in:
Ehsan Akhgari 2011-03-28 16:29:22 -04:00
parent 395e5a8864
commit 686298d11f

View File

@ -467,7 +467,7 @@ PrivateBrowsingService.prototype = {
handle: function PBS_handle(aCmdLine) {
if (aCmdLine.handleFlag("private", false))
; // It has already been handled
aCmdLine.preventDefault = true; // It has already been handled
else if (aCmdLine.handleFlag("private-toggle", false)) {
if (this._autoStarted) {
throw Cr.NS_ERROR_ABORT;