Closed
Bug 1387611
Opened 7 years ago
Closed 7 years ago
Delay formautofill system add-on updates until the next restart
Categories
(Toolkit :: Form Manager, enhancement)
Toolkit
Form Manager
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox56 | --- | unaffected |
firefox57 | --- | fixed |
People
(Reporter: MattN, Assigned: MattN)
References
()
Details
(Whiteboard: [form autofill:M3])
Attachments
(1 file)
Since it's going to a be a lot of work and risk to tear down/replace all of the XPCOM components, JSMs, stylesheets, injected preferences, etc. at runtime and that doesn't seem worth it to support updates during runtime, we can instead delay any add-on updates until the next restart. This will still be much faster than only updating on Fx releases. We just need to add an upgrade listener to the add-on and do nothing when it's called which means the upgrade won't be installed at that time. http://searchfox.org/mozilla-central/rev/f0e4ae5f8c40ba742214e89aba3f554da0b89a33/toolkit/mozapps/extensions/test/xpcshell/data/test_delay_update_ignore/bootstrap.js#12,15-17,19-22
Flags: qe-verify+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•7 years ago
|
||
I didn't manually test this because it will take a lot of work and this is already covered by add-on manager unit tests (linked from comment 0). QE can verify when we start delivering as a system add-on.
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8894007 [details] Bug 1387611 - Delay formautofill system add-on updates until the next restart. https://reviewboard.mozilla.org/r/165086/#review170630 Thanks, Matt.
Attachment #8894007 -
Flags: review?(lchang) → review+
Pushed by mozilla@noorenberghe.ca: https://hg.mozilla.org/integration/autoland/rev/347ea0d06092 Delay formautofill system add-on updates until the next restart. r=lchang
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/347ea0d06092
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Whiteboard: [form autofill:MVP] → [form autofill:M3]
Assignee | ||
Comment 6•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/63ddd74e4578
Comment 7•7 years ago
|
||
Matthew N, can you give us some guidelines on how can we test this fix? Thanks
Flags: needinfo?(MattN+bmo)
Assignee | ||
Comment 8•6 years ago
|
||
I don't think you can test this without an update to the system add-on being available via balrog. If you have an update staged this is trivial to test, just make sure the add-on doesn't update while Fx is running even when the update is downloaded.
Flags: needinfo?(MattN+bmo)
You need to log in
before you can comment on or make changes to this bug.
Description
•