Open Bug 804030 Opened 12 years ago Updated 2 years ago

Using -attach-console causes error in jsconsole

Categories

(Toolkit :: Startup and Profile System, defect)

x86_64
Windows 7
defect

Tracking

()

People

(Reporter: markh, Unassigned)

References

Details

Bug 787313 introduced an -attach-console cmdline argument to attach to the parent console on Windows.  Using this option works as expected but causes an error to be written to the jsconsole:

"""
Timestamp: 22/10/2012 12:23:52 PM
Error: Warning: unrecognized command line flag -attach-console

Source File: file:///o:/src/mm/mozilla-hg/mc-socialapi-landing/obj-release/dist/bin/components/nsBrowserContentHandler.js
Line: 777
"""

This is almost certainly because the code at http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsNativeAppSupportWin.cpp#395 doesn't remove the cmdline option in the same way the handler for plain "-console" does just a few lines above.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.