Closed Bug 530889 Opened 15 years ago Closed 15 years ago

Shutdown FastStart service

Categories

(Firefox for Android Graveyard :: General, defect)

All
Windows Mobile 6 Professional
defect
Not set
normal

Tracking

(status1.9.2 beta1-fixed, fennec1.0a4-wm+)

VERIFIED FIXED
Tracking Status
status1.9.2 --- beta1-fixed
fennec 1.0a4-wm+ ---

People

(Reporter: alexp, Assigned: alexp)

References

Details

Attachments

(1 file, 1 obsolete file)

When the FastStart service is enabled, it's always running and there is no way to shut it down.
Assignee: nobody → alexp
Blocks: 529897
Shut down FastStart service when -shutdown-faststart command line flag is provided.
Attachment #414356 - Flags: review?(crowder)
Comment on attachment 414356 [details] [diff] [review]
Patch to handle -shutdown-faststart flag


>+
>+    if (cmdLine.handleFlag("shutdown-faststart", false)) {
>+      // Shutdown this service
>+      let appstartup = Cc["@mozilla.org/toolkit/app-startup;1"].getService(Ci.nsIAppStartup);
>+      appstartup.quit(Ci.nsIAppStartup.eAttemptQuit);

Add a cmdLine.preventDefault = true; here so other commandline handlers are skipped
Added "cmdLine.preventDefault = true;"
Attachment #414356 - Attachment is obsolete: true
Attachment #414401 - Flags: review?(crowder)
Attachment #414356 - Flags: review?(crowder)
Attachment #414401 - Flags: review?(crowder) → review+
Blocks: 529852
Keywords: checkin-needed
tracking-fennec: --- → ?
tracking-fennec: ? → 1.0a4-wm+
pushed http://hg.mozilla.org/mozilla-central/rev/6c225b5a023f
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
verified FIXED on build:
Mozilla/5.0 (Windows; U; Window3sCE 5.2; en-US; rv:1.9.2b5pre) Gecko/20091202 Namoroka/3.6b5pre Fennec/1.0a4pre
Status: RESOLVED → VERIFIED
Component: Windows Mobile → General
QA Contact: mobile-windows → general
Hardware: ARM → All
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: