Closed
Bug 1365845
Opened 8 years ago
Closed 8 years ago
Reset app.update.cancelations on successful elevation
Categories
(Toolkit :: Application Update, enhancement, P2)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
Attachments
(1 file)
4.78 KB,
patch
|
molly
:
review+
|
Details | Diff | Splinter Review |
Just noticed the misspelling and that the preference is being reset on successful elevation on Windows. Now that Windows behaves as Mac OS X where we prompt the user to download an update after X number of cancellations this is important.
![]() |
Assignee | |
Comment 1•8 years ago
|
||
That is actually a valid spelling so let's not bother rename it unless it is dirt simple.
Summary: Rename app.update.cancelations to app.update.cancellations and reset it on successful elevation → Reset app.update.cancelations on successful elevation
![]() |
Assignee | |
Comment 2•8 years ago
|
||
I *think* this only affects Windows
Comment 3•8 years ago
|
||
Can you clarify this a bit more? I'm not sure I understand. I see that we're incrementing the cancelations pref on every elevation failure, and only resetting it on non-elevation failures (i.e., not on elevation success), but this pref only seems to be used for telemetry. Am I missing something? We use the app.update.elevate.attempts pref to control the doorhanger (this pref should probably just merge with the cancelations pref - I'm not sure why I introduced it in the first place.)
Flags: needinfo?(robert.strong.bugs)
![]() |
Assignee | |
Comment 4•8 years ago
|
||
This isn't directly due to your patch... it has to do with the new UI handling this pref the same way as OS X is handled. I'll take this bug since I'm familiar with the code paths and I might want to tweak it some.
Assignee: nobody → robert.strong.bugs
Status: NEW → ASSIGNED
Flags: needinfo?(robert.strong.bugs)
![]() |
Assignee | |
Comment 5•8 years ago
|
||
Attachment #8874714 -
Flags: review?(mhowell)
Updated•8 years ago
|
Attachment #8874714 -
Flags: review?(mhowell) → review+
Pushed by rstrong@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9948661fdb33
Reset app.update.cancelations after a successful update. r=mhowell
Comment 7•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•