Closed Bug 1459985 Opened 7 years ago Closed 7 years ago

`./mach run -P` without a profile name is broken

Categories

(Toolkit :: Startup and Profile System, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: bgrins, Assigned: bgrins)

References

Details

Attachments

(1 file)

This was due to the way <stringbundle> gets loaded as of Bug 1459245. The Custom Element doesn't get registered until MainProcessSingleton loads, but the profile manager starts before that.
Is there a technical reason we don't have tests for this? I assume with the special way it gets started (https://bugzilla.mozilla.org/show_bug.cgi?id=1459245#c20) it wouldn't be possible to write a browser-chrome test, but maybe we could add some other style of test to at least avoid a bustage? I can spin off a follow-up if you think it makes sense.
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Flags: needinfo?(dtownsend)
Having tests for profile selection and the UI is something I dream of. The only test harness we have where it /might/ work is marionette, but even then I think since we don't start up the bulk of xpcom it might not work even there. It's been on a list to look at at some point.
Flags: needinfo?(dtownsend)
If you wrote a test for that, you'd also notice that the profile manager leaks like a sieve :-( - Bug 1303637.
Comment on attachment 8974093 [details] Bug 1459985 - Include stringbundle Custom Element registration inside profile manager; https://reviewboard.mozilla.org/r/242394/#review248318
Attachment #8974093 - Flags: review?(dtownsend) → review+
Pushed by bgrinstead@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ecbcf736a436 Include stringbundle Custom Element registration inside profile manager;r=mossop
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
See Also: → 1547463
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: