Closed
Bug 772633
Opened 12 years ago
Closed 11 years ago
Search for the command line arg 'metrodesktop' across all command line parameters
Categories
(Firefox for Metro Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jimm, Assigned: jimm)
References
Details
(Whiteboard: completed-elm)
Attachments
(1 file)
1.90 KB,
patch
|
bbondy
:
review+
|
Details | Diff | Splinter Review |
This will be handy in getting tests running using the metrodesktop command line arg. The test harness adds a number of params before it appends user set args when launching the browser.
Attachment #640765 -
Flags: review?(netzen)
Comment 1•12 years ago
|
||
Comment on attachment 640765 [details] [diff] [review] patch Review of attachment 640765 [details] [diff] [review]: ----------------------------------------------------------------- I noticed this bug before too and meant to post a task for it, thanks! ::: browser/app/nsBrowserApp.cpp @@ +187,5 @@ > + } else { > + // This command-line flag is used to test the metro browser in a desktop > + // environment. > + for (int idx = 1; idx < argc; idx++) { > + if (IsParameterArg(argv[idx]) && IsArg(argv[idx], "metrodesktop")) { Couldn't we just call IsArg and scrap the call to IsParameterArg? IsArg returns false if the string doesn't start with - or /
Attachment #640765 -
Flags: review?(netzen) → review+
Assignee | ||
Comment 2•12 years ago
|
||
(In reply to Brian R. Bondy [:bbondy] from comment #1) > Couldn't we just call IsArg and scrap the call to IsParameterArg? > IsArg returns false if the string doesn't start with - or / ah yes IsParameterArg is totally redundant. I'll update.
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/projects/elm/rev/e3f69b867e6e
Blocks: elm-merge
Whiteboard: completed-elm
Comment 4•12 years ago
|
||
Looks good, thanks for the update
Assignee | ||
Updated•12 years ago
|
Product: Firefox → Firefox for Metro
Comment 5•11 years ago
|
||
Resolving bugs in the Firefox for Metro product that are fixed on the elm branch. Sorry for the bugspam. Search your email for "bugspam-elm" if you want to find and delete all of these messages at once.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•