Closed
Bug 1262880
Opened 10 years ago
Closed 9 years ago
Remove add-on compatibility check from application update
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
Attachments
(4 files, 4 obsolete files)
7.94 KB,
patch
|
molly
:
review+
Felipe
:
review+
|
Details | Diff | Splinter Review |
40.63 KB,
patch
|
molly
:
review+
|
Details | Diff | Splinter Review |
80.36 KB,
patch
|
molly
:
review+
|
Details | Diff | Splinter Review |
15.67 KB,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
According to telemetry at most 0.5% of background update checks have incompatible add-ons.
The add-ons manager code is always called when there is an app version change for an update.
There have been add-ons that override the add-ons manager code and break application update even though both the add-ons manager and application update have been coded to prevent this in most circumstances.
There have been add-ons that are essentially abandoned which will require the user to opt-in to getting an application update instead of updating silently. For example, this happened with google toolbar years ago.
Supporting the add-on compatibility check requires UI and code that is complex and it is the one piece that will prevent us from never showing UI to update if we choose to require application updates.
![]() |
Assignee | |
Comment 1•10 years ago
|
||
Since the add-on compatibility check requires a user to opt-in to the update when an add-on is incompatible with the new version it is another step in the update process where the user might not update and hence not get security fixes as well as increase the number of users on older versions (e.g. update orphaning).
![]() |
Assignee | |
Comment 2•9 years ago
|
||
Stephen, would you have a problem with me landing this on oak?
Flags: needinfo?(spohl.mozilla.bugs)
![]() |
Assignee | |
Comment 3•9 years ago
|
||
Assignee: nobody → robert.strong.bugs
Status: NEW → ASSIGNED
![]() |
Assignee | |
Comment 4•9 years ago
|
||
![]() |
Assignee | |
Comment 5•9 years ago
|
||
![]() |
Assignee | |
Comment 6•9 years ago
|
||
Attachment #8745806 -
Attachment is obsolete: true
![]() |
Assignee | |
Comment 7•9 years ago
|
||
Comment 8•9 years ago
|
||
Comment on attachment 8745808 [details] [diff] [review]
patch toolkit changes rev1
Review of attachment 8745808 [details] [diff] [review]:
-----------------------------------------------------------------
not a review, just noticed this while looking this patch over:
::: toolkit/mozapps/update/content/updates.js
@@ +362,5 @@
> * showUpdateError nsIUpdate obj failed either complete errors
> * checkForUpdates null -- foreground -- checking
> * checkForUpdates null downloading foreground -- downloading
> *
> + * Note: the page returned (e.g. Result) for showUpdateAvaulable either
nit: s/showUpdateAvaulable/showUpdateAvailable/
Comment 9•9 years ago
|
||
Even though this removes a lot of code, it seems very self-contained. I'm ok if you'd like to land this on Oak. Fyi, SoftVision is actively testing bug 394984 on Oak.
Flags: needinfo?(spohl.mozilla.bugs)
![]() |
Assignee | |
Comment 10•9 years ago
|
||
Thanks for the drive by!
Attachment #8745808 -
Attachment is obsolete: true
![]() |
Assignee | |
Updated•9 years ago
|
Attachment #8745804 -
Flags: review?(mhowell)
![]() |
Assignee | |
Updated•9 years ago
|
Attachment #8745807 -
Flags: review?(mhowell)
![]() |
Assignee | |
Updated•9 years ago
|
Attachment #8745834 -
Flags: review?(mhowell)
![]() |
Assignee | |
Comment 11•9 years ago
|
||
I'll get a browser peer to review the browser bits if you aren't a browser peer yet.
![]() |
Assignee | |
Comment 12•9 years ago
|
||
Comment on attachment 8745807 [details] [diff] [review]
patch browser changes rev1
Forgot about the pref changes. Will resubmit this patch.
Attachment #8745807 -
Attachment is obsolete: true
Attachment #8745807 -
Flags: review?(mhowell)
![]() |
Assignee | |
Comment 13•9 years ago
|
||
Comment on attachment 8745808 [details] [diff] [review]
patch toolkit changes rev1
Actually I'll submit a separate patch for the pref changes.
Attachment #8745808 -
Attachment is obsolete: false
Attachment #8745808 -
Flags: review?(mhowell)
![]() |
Assignee | |
Comment 14•9 years ago
|
||
Also, pushed to oak. Looks like there are problems with Mac xpcshell tests due to the work being done on oak.
![]() |
Assignee | |
Updated•9 years ago
|
Attachment #8745807 -
Attachment is obsolete: false
Attachment #8745807 -
Flags: review?(mhowell)
![]() |
Assignee | |
Updated•9 years ago
|
Attachment #8745808 -
Attachment is obsolete: true
Attachment #8745808 -
Flags: review?(mhowell)
![]() |
Assignee | |
Comment 15•9 years ago
|
||
Pushed to oak
https://hg.mozilla.org/projects/oak/rev/85c1a69876b82ce49d16518504309f2cbea04ce1
https://hg.mozilla.org/projects/oak/rev/d75f5aa5b68fb3848353d7775e2cdc490deb00e1
https://treeherder.mozilla.org/#/jobs?repo=oak&revision=85c1a69876b8
Attachment #8745916 -
Flags: review?(mhowell)
Comment 16•9 years ago
|
||
(In reply to Robert Strong [:rstrong] (use needinfo to contact me) from comment #14)
> Also, pushed to oak. Looks like there are problems with Mac xpcshell tests
> due to the work being done on oak.
Thanks for the heads up! I missed this due to all the intermittents.
Comment 17•9 years ago
|
||
Comment on attachment 8745834 [details] [diff] [review]
patch toolkit changes rev2
Review of attachment 8745834 [details] [diff] [review]:
-----------------------------------------------------------------
For the record, this change was run by the firefox-dev mailing list [https://mail.mozilla.org/pipermail/firefox-dev/2016-April/004162.html] and did not draw any objections.
Attachment #8745834 -
Flags: review?(mhowell) → review+
Updated•9 years ago
|
Attachment #8745916 -
Flags: review?(mhowell) → review+
Updated•9 years ago
|
Attachment #8745807 -
Flags: review?(mhowell) → review+
Comment 18•9 years ago
|
||
Comment on attachment 8745804 [details] [diff] [review]
patch test changes rev1
Review of attachment 8745804 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/mozapps/update/tests/chrome/utils.js
@@ +156,5 @@
>
> // Set to true to log additional information for debugging. To log additional
> // information for an individual test set DEBUG_AUS_TEST to true in the test's
> // onload function.
> +var DEBUG_AUS_TEST = true;
It looks like this should get flipped back to false.
Attachment #8745804 -
Flags: review?(mhowell) → review-
![]() |
Assignee | |
Comment 19•9 years ago
|
||
Flipped DEBUG_AUS_TEST back to false
Attachment #8745804 -
Attachment is obsolete: true
Attachment #8746117 -
Flags: review?(mhowell)
Comment 20•9 years ago
|
||
Comment on attachment 8746117 [details] [diff] [review]
patch test changes rev2
Review of attachment 8746117 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8746117 -
Flags: review?(mhowell) → review+
![]() |
Assignee | |
Comment 21•9 years ago
|
||
Pushed review comment to oak
https://hg.mozilla.org/projects/oak/rev/eeadb801357f
![]() |
Assignee | |
Updated•9 years ago
|
Attachment #8745807 -
Flags: review?(felipc)
![]() |
Assignee | |
Updated•9 years ago
|
Attachment #8745916 -
Flags: review?(felipc)
![]() |
Assignee | |
Comment 22•9 years ago
|
||
Filed bug 1268176 for SeaMonkey
Filed bug 1268154 for Thunderbird
![]() |
Assignee | |
Updated•9 years ago
|
![]() |
Assignee | |
Comment 23•9 years ago
|
||
Just noticed that app.update.mode is sync'd so I removed that as well.
Attachment #8745916 -
Attachment is obsolete: true
Attachment #8745916 -
Flags: review?(felipc)
Attachment #8746355 -
Flags: review?(felipc)
![]() |
Assignee | |
Comment 24•9 years ago
|
||
Pushed to oak
https://hg.mozilla.org/projects/oak/rev/f753b28389da
Updated•9 years ago
|
Attachment #8745807 -
Flags: review?(felipc) → review+
Updated•9 years ago
|
Attachment #8746355 -
Flags: review?(felipc) → review+
Comment 25•9 years ago
|
||
Comment 26•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c66fda86cb1d
https://hg.mozilla.org/mozilla-central/rev/3f10077564b2
https://hg.mozilla.org/mozilla-central/rev/e37fe91ac862
https://hg.mozilla.org/mozilla-central/rev/21d44aabf4a7
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•