Closed Bug 830652 Opened 13 years ago Closed 13 years ago

Starting Firefox with -private-window flag shows console error

Categories

(Firefox :: Private Browsing, defect)

All
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 21
Tracking Status
firefox20 --- verified

People

(Reporter: ttaubert, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

STR: 1) Open Firefox 2) Pin it to the taskbar 3) Close Firefox 4) Right-click the icon and choose "New private window" You'll see an error in the console saying: "Warning: unrecognized command line flag -private-window" http://mxr.mozilla.org/mozilla-central/source/browser/components/nsBrowserContentHandler.js#814 (Funnily, it's an error that says it's a warning.)
Blocks: PBnGen
In global PB builds, we handled this flag inside the service. Now that the service does not exist any more, this gets left unhandled.
Attachment #702555 - Flags: review?(dolske)
Assignee: nobody → ehsan
Attachment #702555 - Flags: review?(dolske) → review+
Comment on attachment 702555 [details] [diff] [review] Consume the -private-window command line argument in per-window PB builds [Approval Request Comment] Bug caused by (feature/regressing bug #): Not sure User impact if declined: See comment 0 Testing completed (on m-c, etc.): Locally Risk to taking this patch (and alternatives if risky): Minimal risk String or UUID changes made by this patch: none.
Attachment #702555 - Flags: approval-mozilla-aurora?
Backed out to see if this has broken Marionette (but I think it is not at fault): https://hg.mozilla.org/integration/mozilla-inbound/rev/2b9b4a3a835f
Turns out that handleFlag returns bool not int. Rookie mistake! Relanded: https://hg.mozilla.org/integration/mozilla-inbound/rev/5087e184f8ad
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 21
Attachment #702555 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0 Verified as fixed in Firefox 20 beta 1 (buildID: 20130220104816) using STR from comment 0.
Mozilla/5.0 (Windows NT 6.1; rv:23.0) Gecko/20130415 Firefox/23.0 I couldn't verify on Latest Nightly(Build ID:20130415030812), because after step 4 from STR, "New private window" button does not exist. There are just "Nightly" and "Unpin this program from taskbar" buttons.
(In reply to Mitza from comment #9) > Mozilla/5.0 (Windows NT 6.1; rv:23.0) Gecko/20130415 Firefox/23.0 > > I couldn't verify on Latest Nightly(Build ID:20130415030812), because after > step 4 from STR, "New private window" button does not exist. There are just > "Nightly" and "Unpin this program from taskbar" buttons. What if you run Firefox once again and then close it?
I tried to run Firefox several times and the same result.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:23.0) Gecko/20130428 Firefox/23.0 (Build ID: 20130428031010) I have the same issue as Mitza: can't reproduce step 4, the "New private window" button does not appear; only the "Nightly" and "Unpin this program from taskbar" buttons appear.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: