Page MenuHomePhabricator

Bug 1576507 - add new FirstStartup service and --first-startup post-install flag. r?mconley
ClosedPublic

Authored by rhelmer on Aug 25 2019, 9:13 PM.

Details

Summary

FirstStartup provides an optional mechanism to run synchronous services
before the UI appears. This is intended to be called as a post-install
action from an installer, such as the Windows Stub Installer, to allow
for downloading critical data and performance tuning before the first
run of a new Firefox install.

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.

Code analysis found 1 defect in the diff 153705:

  • 1 defect found by mozlint

You can run this analysis locally with:

  • ./mach lint --warnings path/to/file (JS/Python/etc)

If you see a problem in this automated review, please report it here.

toolkit/modules/FirstStartup.jsm
31

Error: Delete ⏎·· [eslint: prettier/prettier]

Code analysis found 1 defect in the diff 153715:

  • 1 defect found by mozlint

You can run this analysis locally with:

  • ./mach lint --warnings path/to/file (JS/Python/etc)

If you see a problem in this automated review, please report it here.

toolkit/modules/FirstStartup.jsm
31

Error: Delete ⏎·· [eslint: prettier/prettier]

This seems like a reasonable start!

This revision is now accepted and ready to land.Aug 27 2019, 9:37 PM
This revision is now accepted and ready to land.Aug 31 2019, 12:58 AM

Added UNSUPPORTED state due to Android failures

disable android, telemetry is not working the same way at startup