Closed Bug 1164226 Opened 9 years ago Closed 9 years ago

[gcli] Allow the "restart" command to restart into Safe Mode

Categories

(DevTools Graveyard :: Graphic Commandline and Toolbar, defect)

41 Branch
defect
Not set
normal

Tracking

(firefox42 fixed)

RESOLVED FIXED
Firefox 42
Tracking Status
firefox42 --- fixed

People

(Reporter: strugee, Assigned: johankj)

Details

Attachments

(1 file)

GCLI's "restart" command should have an additional boolean parameter controlling whether the browser should restart into Safe Mode.
This patch changes the restart-gcli-command from `restart <nocache>` to `restart [--nocache] [--safemode]`.
If the safemode-flag is enabled the command will restart the app into Safe Mode.
Attachment #8632528 - Flags: review?(jryans)
Comment on attachment 8632528 [details] [diff] [review]
bug1164226_restart_safemode__johankj.patch

Review of attachment 8632528 [details] [diff] [review]:
-----------------------------------------------------------------

Great, looks good to me!
Attachment #8632528 - Flags: review?(jryans) → review+
Johan, would you like to push this one to Try yourself?  You'll need to request access[1] first.

[1]: https://www.mozilla.org/en-US/about/governance/policies/commit/
Assignee: nobody → jj
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(jj)
If the test-suite is correct, everything looks fine:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=964fa5ee2aaf
Flags: needinfo?(jj) → needinfo?(jryans)
Yes, it looks safe to me!
Flags: needinfo?(jryans)
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/8b5c3d8e2101
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: