Closed Bug 1540821 Opened 5 years ago Closed 5 years ago

`firefox --profile /tmp/padding --no-remote` no longer starts a new Firefox instance with the different profile

Categories

(Core :: Widget: Cocoa, defect)

68 Branch
All
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox-esr60 --- unaffected
firefox66 --- unaffected
firefox67 --- unaffected
firefox68 + fixed

People

(Reporter: MattN, Assigned: mozilla)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

STR:

  1. Launch FirefoxNightly.app from the dock with the default profile
  2. Run /Applications/FirefoxNightly.app/Contents/MacOS/firefox --profile /tmp/padding from the command line
  • I have never needed to use --no-remote or --new-instance before but they don't seem to help either

Expected result:
A new instance of Nightly is started with the /tmp/padding profile.

Actual result:
A new window is opened in my default Nightly profile.

[Tracking Requested - why for this release]: Usability regression for Fx devs.

From reading the patch I see that the problem is that it's only handling -no-remote (one hyphen), not --no-remote (two hyphens):

 if ([arg isEqualToString:@"-no-remote"] || [arg isEqualToString:@"-headless"]) {

The workaround is to only use one hyphen which goes against our command line help which all use --…

Good catch, Matthew. Fixed. Thanks!

Yuri, please attach your patch here which is only the difference from what already landed in bug 469990.

Attached patch thefix2.patch (obsolete) — Splinter Review

Hi Matthew, attached patch now correctly processes both --no-remote and --headless, as well as -no-remote and -headless.

Flags: needinfo?(MattN+bmo)
Flags: needinfo?(MattN+bmo) → needinfo?(spohl.mozilla.bugs)
Comment on attachment 9055063 [details] [diff] [review]
thefix2.patch

Thanks! Will land this shortly.
Flags: needinfo?(spohl.mozilla.bugs)
Attachment #9055063 - Flags: review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/d9e7edfc9ab11c9b6a0412872585545d4404c3b1
Bug 1540821: Accept `--no-remote` as equivalent of `-no-remote` and `--headless` as equivalent of `-headless` command line arguments on macOS. r=spohl
Attachment #9055063 - Attachment is obsolete: true
Attachment #9055470 - Flags: review+
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
No longer blocks: 469990
Regressed by: 469990
Assignee: nobody → mozilla
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: