AboutDialog - download start number remains 0 - it is not incremented to max in Nightly
Categories
(Toolkit :: Application Update, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr78 | --- | unaffected |
| firefox81 | --- | unaffected |
| firefox82 | --- | verified |
People
(Reporter: milupo, Assigned: adw)
References
Details
(Keywords: regression)
Attachments
(1 file)
HI,
in Nightly aboutDialog dialog (Help --> About Nightly) the start download number is not incremented from 0 to the maximum number during the update progress, e.g.
Downloading update — 0 from 6.9 MB
remains unchanged until the "Restart to Update" button is displayed.
Expected: Download number should be incremented, e.g. 1.0 from 6.9 MB, 2.0 from 6.9, etc.
Unfortunately, I couldn't catch the right moment to take a screenshot.
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Just tested manually:
Nightly 2020-09-02-09-53-59 is the last good release (without this bug), 2020-09-02-21-57-21 is the first bad release.
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Maybe bug 1600864?
Hi, after performing mozregression I got the same result as the one above.
Drew, could you take a look over this?
Thanks.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
AppUpdater just needs to declare that it implements nsIProgressEventSink.
nsIProgressEventSink.onProgress is the method that's called whenever download
progress is made, and AppUpdater implements it, but the caller doesn't call it
because it checks that consumers are instanceof nsIProgressEventSink:
https://searchfox.org/mozilla-central/source/toolkit/mozapps/update/UpdateService.jsm#5014
I've updated all the updater tests (via their head.js) so that they check the
download progress text. This applies to about-dialog and about:preferences
tests.
Comment 7•6 years ago
|
||
| bugherder | ||
Comment 9•6 years ago
|
||
Verified - Fixed in Nightly 82.0a1 (2020-09-19) build id: 20200919212721. The downloading progress in displayed. Verified on Win10 and Ubuntu 18.04.
Description
•