Remove scheduled task(s) in first run (including backgroundupdate task)
Categories
(Toolkit :: Application Update, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox89 | --- | fixed |
People
(Reporter: nalexander, Assigned: nalexander)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Spinning out part of Bug 1698593. We've run into complications removing background tasks in the uninstaller, but part of the patch series seems fine -- removing left over background tasks in the first run invocation. This ticket will land that while we hammer out the uninstaller bits.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
This probably should have been part of the cleanup commit
https://hg.mozilla.org/mozilla-central/rev/673745818480.
| Assignee | ||
Comment 2•5 years ago
|
||
It makes sense to accommodate exceptions in deleteAllTasks: since
we're trying to clean up, do as much as possible. It's possible that
we should catch, store, and re-throw any exception rather than trying
to delete a second time, but it's not clear how that re-thrown
exception will present in the browser console, etc.
We special case the WDBA task in the task scheduler implementation
rather than having consumers accommodate it because the task is the
outlier that behaves differently from the rest of the task scheduler,
and because we don't anticipate additional outlier tasks in the
future.
Depends on D110784
| Assignee | ||
Comment 3•5 years ago
|
||
This is best effort. For example, we can't handle the situation where
multiple OS-level users have scheduled tasks from a previous
installation.
Updated•5 years ago
|
Comment 5•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/555c08322816
https://hg.mozilla.org/mozilla-central/rev/62bd2c72a288
https://hg.mozilla.org/mozilla-central/rev/8ce8382dafb7
Description
•