I use use DOMi to debug xul applications by passing the -inspector flag on the commandline when starting the app. This fails to load the actual application window because DOMi's commandline handler prevents the default action: http://hg.mozilla.org/dom-inspector/file/2bae5150d746/base/js/inspector-cmdline.js#l103 This was introduced in bug 340233. Simply removing the line of code allows DOMi and the application to load.
Created attachment 341268 [details] [diff] [review] patch This patch simply removes the code to prevent the default command line action
Assignee: nobody → mark.finkle
Attachment #341268 - Flags: review?(sdwilsh)
Comment on attachment 341268 [details] [diff] [review] patch r=sdwilsh Neil added this, so he should certainly take a look at this too.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
How about something like <http://mxr.mozilla.org/mozilla-central/source/toolkit/components/console/jsconsole-clhandler.js#63> if (cmdLine.state == Ci.nsICommandLine.STATE_REMOTE_AUTO) cmdLine.preventDefault = true; FYI: The error console command line handler checks for an existing window and focuses on it if found.
You need to log in before you can comment on or make changes to this bug.