Closed Bug 493233 Opened 15 years ago Closed 15 years ago

Permanent Error Console Message: "Error: Warning: unrecognized command line flag -foreground"

Categories

(Toolkit :: Startup and Profile System, defect)

1.9.0 Branch
All
macOS
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 369147

People

(Reporter: steve.luscott, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10 I'm getting the following Error Console message on a permanent basis pointing to the nsBrowserContentHandler.js component: Error: Warning: unrecognized command line flag -foreground Source File: file:///Applications/Firefox.app/Contents/MacOS/components/nsBrowserContentHandler.js Line:713 (see attached source below) I have tried disabling all Add-ons (see below) and have re-installed FireFox to no avail. I'm running FF version 3.0.10 on PPC Mac OSX 10.5.6. The issue is permanent and shows up on all files parsed even no files. Reproducible: Always Steps to Reproduce: 1.Launch FireFox 2.Select: Tools - Error Console 3.Select: Errors Actual Results: Error Console displays message outlined above. Expected Results: Error Console Messages should not refer to FireFox components? (I'm no expert) file:///Applications/Firefox.app/Contents/MacOS/components/nsBrowserContentHandler.js Source referenced above: Line 713: Components.utils.reportError("Warning: unrecognized command line flag " + curarg + "\n"); Add-ons installed: FEBE 6.1 FFMyIP 0.7.1 Ghostery 1.3.9 Interflow Client 0.1.9 NoScript 1.9.2.6 Web Developer 1.1.6 WOT 20090325
Version: unspecified → 3.0 Branch
I get this on Build identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre) Gecko/20090521 Shiretoko/3.5pre
I checked where the error lands on in my build. It's on this line Error: Warning: unrecognized command line flag -foreground Source File: file:///Users/mozilla/ff-dbg-shiretoko/dist/ShiretokoDebug.app/Contents/MacOS/components/nsBrowserContentHandler.js Line: 708 Components.utils.reportError("Warning: unrecognized command line flag " + curarg + "\n");
Still seeing on 3.6. It's happening because of http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsCommandLineServiceMac.cpp#171 It was added long ago in bug 345057. CC'ing Mark who wrote the code & moving to right component.
Status: UNCONFIRMED → NEW
Component: File Handling → Startup and Profile System
Ever confirmed: true
Product: Firefox → Toolkit
QA Contact: file.handling → startup
Hardware: PowerPC → All
Version: 3.0 Branch → 1.9.0 Branch
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.