Use async IO for add-on install and uninstall operations
Categories
(Toolkit :: Add-ons Manager, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox62 | --- | affected |
People
(Reporter: kmag, Unassigned, Mentored)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
Comment hidden (mozreview-request) |
Reporter | ||
Updated•6 years ago
|
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 5•6 years ago
|
||
mozreview-review |
Reporter | ||
Comment 6•6 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 9•6 years ago
|
||
Updated•6 years ago
|
Reporter | ||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Reporter | ||
Comment 13•5 years ago
|
||
This patch moves add-on install and uninstall operations to async file IO,
while removing a lot of cruft and baggage that was included in the old code.
A lot of the existing complexity and special cases were there to support
unpacked extensions, which tended to introduce a lot of additional corner
cases with inconsistent file permissions, and partially successful recursive
copy operations. Since installing unpacked extensions is no longer supported,
most of this special-casing is no longer necessary.
This patch also introduces a serialize
primitive to ensure that certain
potentially-conflicting asynchronous operations do not overlap with each
other. At the moment, this is only used for the add-on set delayed update
code, which is racy as-is, but becomes racier as we add more asynchrony. In
the future, we'll probably need to do something similar elsewhere, though.
MozReview-Commit-ID: AlvZXyP3MVF
Reporter | ||
Comment 14•5 years ago
|
||
This name is confusing, overly-verbose, and one of the last remaining
important property naming difference between XPIState and AddonInternal
instances.
MozReview-Commit-ID: L19trL8XsyD
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Description
•