Closed Bug 1664829 Opened 5 years ago Closed 5 years ago

AboutDialog - download start number remains 0 - it is not incremented to max in Nightly

Categories

(Toolkit :: Application Update, defect)

Firefox 82
defect
Points:
2

Tracking

()

VERIFIED FIXED
82 Branch
Iteration:
82.2 - Sep 7 - Sep 20
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.

OS: Windows 10 → All
Hardware: x86_64 → All

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.

QA Whiteboard: [qa-regression-triage]

Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b74ab1682deaf69e9d0eac0fb9c29e7e7a5a7a0b&tochange=85e7a3055098f2f8f8d7abc59d7f0d6215e47984

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.

Has Regression Range: --- → yes
Has STR: --- → yes
Flags: needinfo?(adw)
Assignee: nobody → adw
Status: NEW → ASSIGNED
Iteration: --- → 82.2 - Sep 7 - Sep 20
Points: --- → 2
Flags: needinfo?(adw)

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.

Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1d6c2379b011 Add nsIProgressEventSink to AppUpdater so that download progress is correctly reported again. r=bytesized
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

Verified - Fixed in Nightly 82.0a1 (2020-09-19) build id: 20200919212721. The downloading progress in displayed. Verified on Win10 and Ubuntu 18.04.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: