Closed
Bug 1506915
Opened 7 years ago
Closed 7 years ago
Move app update auto enabled / disabled to a jsm
Categories
(Toolkit :: Application Update, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
Attachments
(1 file)
I noticed that telemetry checks whether app update auto is enabled or not early on. I'd like to move this code to a jsm since that instantiates the app update service which takes several ms to load due to the file size of nsUpdateService.js and is why nsUpdateServiceStub.js exists to prevent loading nsUpdateService.js during startup unless it is necessary.
![]() |
||
Updated•7 years ago
|
Priority: -- → P1
![]() |
Assignee | |
Comment 1•7 years ago
|
||
Pushed to try
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d7da212cb64243991f2f4c893e0dcc5ad1a5e600
I'm going to wait on the results before pushing the patch to phabricator
![]() |
Assignee | |
Comment 2•7 years ago
|
||
Pushed to try... had to fix an eslint error
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d7da212cb64243991f2f4c893e0dcc5ad1a5e600
![]() |
Assignee | |
Comment 3•7 years ago
|
||
This moves getting and setting the value of app.update.auto from nsUpdateService.js to UpdateUtils.jsm so nsUpdateService.js isn't loaded during startup
Changes the browser_policy_app_update_URL.js test to check the default pref for app.update.url since the default pref is read by app update
Fixes a NS_NOINTERFACE error in app update xpcshell tests for AppInfo not implementing nsIPlatformInfo
![]() |
Assignee | |
Comment 4•7 years ago
|
||
Filed bug 1510798 for Thunderbird
Updated bug 1501790 for Seamonkey to include these changes.
Pushed by rstrong@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4939e4a1cc20
Move app update auto enabled / disabled to a jsm. r=bytesized,chutten
Comment 6•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•