Closed
Bug 527141
Opened 15 years ago
Closed 13 years ago
Addon update check should take into account compatibility preferences
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
VERIFIED
FIXED
mozilla11
People
(Reporter: jruderman, Assigned: Unfocused)
References
()
Details
(Keywords: verified-aurora, Whiteboard: [sg:want P5], [qa!])
Attachments
(2 files, 4 obsolete files)
53.80 KB,
patch
|
mossop
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
4.25 KB,
patch
|
Dolske
:
review+
|
Details | Diff | Splinter Review |
I have Greasemonkey 0.8.20080609.0. Firefox hasn't updated me to Greasemonkey 0.8.20090920.2, even though it was released over a month ago.
I suspect this is because I'm using Firefox trunk (3.7a1pre), and the newest version is marked as compatible with 3.5.*. But the older version of Greasemonkey that I'm using wasn't marked as compatible with 3.7a1pre either!
https://addons.mozilla.org/en-US/firefox/addons/versions/748
It's really lame that beta and nightly users don't get these updates. It means we never get security fixes for many extensions. It also means we don't notice incompatibilities between Firefox trunk and newer versions of extensions, which is half the point of beta-testing Firefox.
If there's no version of the extension that's marked as compatible with the version of Firefox I'm using, AMO should assume I want the newest. (Or the newest among the ones marked as compatible with the newest version of Firefox.)
Reporter | ||
Updated•15 years ago
|
Whiteboard: [sg:want P5]
Comment 1•15 years ago
|
||
https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=2&id={e4a8a97b-f2ed-450b-b12d-ee082ba24781}&version=0.8.20080609.0&maxAppVersion=3.0.*&status=userEnabled,incompatible&appID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}&appVersion=3.7a1pre&appOS=Darwin&appABI=x86-gcc3&locale=en-US¤tAppVersion=3.7a1pre&updateType=97
AMO is returning the requested version. This is a client-side issue.
Component: Public Pages → Add-ons Manager
Product: addons.mozilla.org → Toolkit
QA Contact: web-ui → add-ons.manager
Updated•15 years ago
|
OS: Mac OS X → All
Version: unspecified → Trunk
Reporter | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 4•14 years ago
|
||
Hmm, or maybe that only fixed the application-update warning, not the extension update.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 5•14 years ago
|
||
Is this a regression on trunk?
(In reply to comment #5)
> Is this a regression on trunk?
IIRC, it has always been like this. Add-on updates with application maxVersions below the application's actual version number won't be updated, even if compatibility checking is disabled.
Comment 7•14 years ago
|
||
It has always been like this, I think there is a WONTFIX dupe somewhere.
I really don't see why tradition should matter in this instance, as this is obviously undesirable behavior for reasons mentioned in the first post. This makes sense for stable versions of Firefox, but none for Minefield.
Reporter | ||
Comment 9•14 years ago
|
||
I don't see how the current makes sense even for stable versions of Firefox. Changing it wouldn't make Firefox any less stable, just more secure.
Comment 10•14 years ago
|
||
(In reply to comment #9)
> I don't see how the current makes sense even for stable versions of Firefox.
Hmm, I'd always been under the impression that the whole point of the current behavior was to prevent updates to extensions that were installed in an earlier version of Fx, but got disabled by compatibility checking after Fx got upgraded to a newer version, and only allow updates after the extensions have been bumped accordingly. Since the extensions are disabled, they affect neither stability nor security.
If it doesn't exist already, perhaps AMO and/or Minefield needs some way for AMO to recognize that it's a test build (as opposed to a stable Fx version) requesting extension updates.
Reporter | ||
Comment 11•14 years ago
|
||
This bug is primarily about extensions that are enabled. I don't really care what happens to disabled extensions, but it might as well be the same.
Comment 12•14 years ago
|
||
(In reply to comment #8)
> I really don't see why tradition should matter in this instance, as this is
> obviously undesirable behavior for reasons mentioned in the first post. This
> makes sense for stable versions of Firefox, but none for Minefield.
It matters here firstly because we want to identify if we have made an unintentional change with the recent rewrite of the add-ons manager and secondly because if we have made a certain decision in the past (and this was done intentionally) then understanding why we made that decision is important when revisiting it. I didn't go looking for the dupe bug previously because I'm happy to revisit the behaviour, though I do not foresee any change happening in time for Firefox 4.
Unfortunately I can't find anything right now in bug reports that explains for sure why we made the choice we did. I believe that we did it with the idea that when a user was installing an incompatible add-on they would be doing it with the knowledge that it might break things and so they would understand what the problem likely was. They are essentially saying, ok I'll try this version of this add-on out and see if it works.
If it doesn't work presumably they uninstall it. If it works there is no guarantee that a future update that is also incompatible will work so by updating them without decent warning that the update is incompatible then we might be pushing them to a broken version of the add-on.
This is particularly worrisome with the new system doing automatic updates so the user might never even notice their add-on had been updated. Maybe one option would be to make incompatible updates always need to be installed manually and make sure the UI shows that the update is incompatible. This would probably be cheap to do in the new UI.
The rationale breaks down for nightly testers though. For them updating Minefield could quite easily break the incompatible add-on just as much as updating the add-on could so perhaps for nightly builds the restriction could be relaxed entirely. My main concern there would be that nightly testers then aren't testing the same thing that is in release builds.
Comment 13•14 years ago
|
||
I'm testing nightlies (live-testing, not litmus-testing) with a lot of extensions, many of which work with the latest build even though they don't advertise compatibility with it. To use them, I have set the appropriate (and, now, version-dependent) pref in about:config, but I remain ever conscious that it is my responsibility to watch for misbehaving extensions, and if necessary to disable them manually at the slightest doubt. This is particularly true now that big changes have been happening since approx. August 1, breaking an unprecedented number of extensions at a single time. I'm also conscious that extensions labeled as incompatible won't be updated, and that can be expected, since if an extension has really stopped functioning, an update which restores functionality will most probably also have an updated maxVersion (however, a Firefox-only developer might "forget" to update the SeaMonkey maxVersion). To overcome this limitation, I watch the AMO Extensions page (sorted for "recently updated" and with "unreviewed add-ons" displayed), and I read the changelogs of any new versions of extensions I have: if I notice an upgrade to an extension I have disabled (suspecting a malfunction) I may install the upgrade without enabling the suspect extension, if the blurb doesn't fully convince me.
In conclusion, I don't need a change in this behaviour, but I'm conscious that it requires more work on my part (which IMHO is not necessarily a bad thing, as it keeps me conscious of the need to act prudently and responsibly) but I can understand that other testers might feel differently than I do.
Comment 14•14 years ago
|
||
oops: ...since approx. July 1 (not August 1)
Comment 15•14 years ago
|
||
I'm struggling to see any reason why I or any other use would not at least want to be notified that there are updates to my extensions when I have checkCompatibility disabled. The fact that I have disabled this check is effectively a waiver and acceptance of risk that an update might break something. That's my choice.
I've been using Minefield since ~March and needing to manually check each of my ~30 addons to see if they have been updated is not just a nuisance - it prevents me giving timely feedback to the addon developer if they have updated their addon and it causes problems with Minefield.
Strong vote for this to be 'fixed'.
Comment 16•14 years ago
|
||
(In reply to comment #12)
> This is particularly worrisome with the new system doing automatic updates so
> the user might never even notice their add-on had been updated. Maybe one
> option would be to make incompatible updates always need to be installed
> manually and make sure the UI shows that the update is incompatible. This would
> probably be cheap to do in the new UI.
I like this idea.
I've opted into don't check compatibility, but it does not mean that I don't want notifications/updates for all my add-ons. Quite the contrary. There's enough things to have to pay attention to in this environment to productively use and test the system - receiving update notifications would be a welcome reduction in that workload. Furthermore, at least in this respect, I want my firefox to behave as much as possible as it does for a normal user.
Comment 17•14 years ago
|
||
Bug 556228 is a see also, right ?
Comment 19•14 years ago
|
||
Confirm on x64 windows 7 x64
Comment 20•14 years ago
|
||
Add me as another vote in favor of a fix.
I currently have 85 extensions installed in Firefox. I also have Firefox 5.0 release, Aurora, and Nightly installed, all sharing a common profile. (Only one is active at any one time.)
A good part of my reason for testing beta and nightly builds is precisely to see whether extensions break. I run Firefox in the first place because the architecture makes it extensible and I *can* install extensions that modify and extend the way it works, and many have become part of my standard kit and crucial to the way I use the browser.
I use Addons Compatibility Reporter to turn off the compatibility checks, and everything works fine. In practice, I've only ever seen problems when upgrading to a new major release, where underlying changes to Firefox broke things extensions relied on. I have *never* seen an issue with minor or point releases. When I upgraded to FF 4.0 from FF 3.6, I lost exactly two extensions. One was an orphan that was no longer developed or supported anyway, and the author of the other promised a fix once FF 4 was released and he wasn't shooting at a moving target. (He hasn't got one out yet, so it's probably more involved than he suspected.) No matter, as I found other things to provide the same functionality.
"Extension compatibility" has been a major pain for about as long as FF has existed. Depending upon what the developer put in maxValue, a simple point release could have Firefox deciding various things were incompatible, when in fact they'd work fine because none of the FF changes touched what the extension did. I've spent more time elsewhere than I'd care to recall advising people on how to "bump" extensions by editing install.rdf, or installing an extension to turn off the compatibility checks. Not a few folks got tired of it and migrated to Chrome.
My solution would be simple. Have Firefox check for compatibility. If it thinks it's incompatible, give me the option to install it *anyway*. Put up a message saying "This add-on may be incompatible with this version of Firefox, and may not work as expected. Install anyway?" Let *me* decide whether to take the chance. I shouldn't have to download the XPI file, extract and edit the install.rdf file, stuff it back into the XPI file and install from a local copy, or turn off compatibility checks entirely to keep things working.
Once I *have* said "Install anyway", I should get automatic updates and *not* have to go looking. If Firefox has it installed, it should look for updates, period.
This is becoming especially critical with Mozilla's new fast release development model, and a new major version every three months. A whole *lot* of add-ons will break because the developers haven't gotten around to updating the install.rdf file, and even if they have, I believe they still have to get through the AMO review process. (The developers are generally hobbyists with Real Lives outside of Firefox, so I don't get surprised or upset by tardiness in updates.)
Firefox can't have it both ways. It can't have AMO trumpeting the literally thousands of add-ons available to enhance the browser, if half of them are likely to stop working every time a new browser version comes out. The users will get disgusted and go elsewhere, and they'll be right.
______
Dennis
Comment 22•14 years ago
|
||
Rapid Release makes this bug very prominent now, the sooner it being solved, the better
Comment 24•13 years ago
|
||
It looks like this isn't fixed server-side, contrary to comment 1: https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=2&id={bee6eb20-01e0-ebd1-da83-080329fb9a3a}&version=0.3&maxAppVersion=5.*&status=userEnabled,incompatible&appID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}&appVersion=9.0a1&appOS=WINNT&appABI=x86-msvc&locale=en-US¤tAppVersion=9.0a1&updateType=97 has no updates (and there is an update, namely 0.3.5, that shows up if you change appVersion to 6.0.1)
The relevant line seems to be https://github.com/jbalogh/zamboni/blob/master/services/update.py#L218, although I don't know if that is what's running on AMO.
Comment 25•13 years ago
|
||
(In reply to Mathnerd314 from comment #24)
> It looks like this isn't fixed server-side, contrary to comment 1:
> https://versioncheck.addons.mozilla.org/update/VersionCheck.
> php?reqVersion=2&id={bee6eb20-01e0-ebd1-da83-080329fb9a3a}&version=0.
> 3&maxAppVersion=5.*&status=userEnabled,incompatible&appID={ec8030f7-c20a-
> 464f-9b0e-13a3a9e97384}&appVersion=9.0a1&appOS=WINNT&appABI=x86-
> msvc&locale=en-US¤tAppVersion=9.0a1&updateType=97 has no updates (and
> there is an update, namely 0.3.5, that shows up if you change appVersion to
> 6.0.1)
>
> The relevant line seems to be
> https://github.com/jbalogh/zamboni/blob/master/services/update.py#L218,
> although I don't know if that is what's running on AMO.
If only there was a way to trick the AMO site that you're using Fx 6.0.2 instead of Nightly 9.0a1 ? In regards to doing Add-ons update checks...Changing the Fx UA string has no effect...
Comment 26•13 years ago
|
||
(In reply to rob64rock from comment #25)
> If only there was a way to trick the AMO site that you're using Fx 6.0.2
> instead of Nightly 9.0a1 ? In regards to doing Add-ons update
> checks...Changing the Fx UA string has no effect...
Install the Addons Compatibility Reporter. I have it here, and when I go to AMO, it warns me the add-on I'm looking to download might not be compatible with the FF version I'm using (which might be FF 7 beta, Aurora, or Nightly), but will let me install it anyway.
Comment 27•13 years ago
|
||
(In reply to Dennis McCunney from comment #26)
> (In reply to rob64rock from comment #25)
>
> > If only there was a way to trick the AMO site that you're using Fx 6.0.2
> > instead of Nightly 9.0a1 ? In regards to doing Add-ons update
> > checks...Changing the Fx UA string has no effect...
>
> Install the Addons Compatibility Reporter. I have it here, and when I go to
> AMO, it warns me the add-on I'm looking to download might not be compatible
> with the FF version I'm using (which might be FF 7 beta, Aurora, or
> Nightly), but will let me install it anyway.
I already have it, This bug is about when Fx automatically or when you manually checks through "Help > About Firefox" for add-ons updates Fx connects in the background to AMO site servers and they will always return "no updates found" when there may be an newer updated version available, it just happens it's max Fx version compatibility isn't set high enough by the Add-on developer for the Fx AOM to show an "update is available", which means you will have to periodically do manual checks by going to the Add-on's AMO site page and and go to Version Information at the bottom of the page and select 'view all versions' or view the RSS feed page version.
RSS Feed Example: https://addons.mozilla.org/en-US/firefox/addon/googlereaderplus/versions/format:rss
Comment 28•13 years ago
|
||
(In reply to Dennis McCunney from comment #26)
> (In reply to rob64rock from comment #25)
>
> > If only there was a way to trick the AMO site that you're using Fx 6.0.2
> > instead of Nightly 9.0a1 ? In regards to doing Add-ons update
> > checks...Changing the Fx UA string has no effect...
>
> Install the Addons Compatibility Reporter. I have it here, and when I go to
> AMO, it warns me the add-on I'm looking to download might not be compatible
> with the FF version I'm using (which might be FF 7 beta, Aurora, or
> Nightly), but will let me install it anyway.
Sorry error in my above post there, Bugzilla should provide a way to edit your posts...that's just a thought...
Edited post here:
I already have it, This bug is about when Fx automatically or when you manually check through Fx AOM for add-on updates, Fx connects in the background to AMO site servers and they will always return "no updates found" when there may be an newer updated version available, it just happens it's max Fx version compatibility isn't set high enough by the Add-on developer for the Fx AOM to show an "update is available", which means you will have to periodically do manual checks by going to the Add-on's AMO site page and and go to Version Information at the bottom of the page and select 'view all versions' or view the RSS feed page version.
RSS Feed Example: https://addons.mozilla.org/en-US/firefox/addon/googlereaderplus/versions/format:rss
Comment 29•13 years ago
|
||
(In reply to Dennis McCunney from comment #26)
> Install the Addons Compatibility Reporter. I have it here, and when I go to
> AMO, it warns me the add-on I'm looking to download might not be compatible
> with the FF version I'm using (which might be FF 7 beta, Aurora, or
> Nightly), but will let me install it anyway.
As rob64rock already said, it's no problem *installing* add-ons marked as incompatible by using the Addon Compatibility Reporter. The problem is that you won't get any *updates* for them.
Comment 30•13 years ago
|
||
(In reply to rob64rock from comment #25)
> If only there was a way to trick the AMO site that you're using Fx 6.0.2
> instead of Nightly 9.0a1 ? In regards to doing Add-ons update
> checks...Changing the Fx UA string has no effect...
Good News for those that don't want to wait for Bug 527141 to be RESOLVED....
The extension Add-on Update Checker 1.13b6 added a new about:config pref that is a work around for Bug 527141:
https://addons.mozilla.org/firefox/addon/addon-update-checker/versions/1.13beta6
Chris000001 wrote:
"New version of Add-on Update Checker 1.13b6 adds a hidden (about:config) option to spoof version of Firefox to check for updates (useful for nightly testers.)
extensions.UpdateAddon.SpoofVersion
I recommend setting that string to 6 or 7 (or the SeaMonkey equivalent if you are using SeaMonkey.)
Reset the entry to go back to checking for the actual version of Firefox you are using. This can create problems if you are not using Add-on Compatibility Reporter or setting Firefox so you can install incompatible add-ons, otherwise they will install, but be immediately disabled since they are not compatible."
Comment 31•13 years ago
|
||
It's really lame that beta and nightly users don't get these updates. It means we never get security fixes for many extensions. It also means we don't notice incompatibilities between Firefox trunk and newer versions of extensions, which is half the point of beta-testing Firefox.
If there's no version of the extension that's marked as compatible with the version of Firefox I'm using, AMO should assume I want the newest. (Or the newest among the ones marked as compatible with the newest version of Firefox.)
Absolutely agree !!!!!!!!!
Chromium has this(extensions updates regardless of Channel)
& Firefox should enable This !!
I don't see how the current makes sense even for stable versions of Firefox. Changing it wouldn't make Firefox any less stable, just more secure.
I'm struggling to see any reason why I or any other use would not at least want to be notified that there are updates to my extensions when I have check.Compatibility disabled. The fact that I have disabled this check is effectively a waiver and acceptance of risk that an update might break something. That's my choice.
Have Firefox check for compatibility. If it thinks it's incompatible, give me the option to install it *anyway*. Put up a message saying "This add-on may be incompatible with this version of Firefox, and may not work as expected. Install anyway?" Let *me* decide whether to take the chance.
Nightly & Aurora Should Give Testers & easy-way to check their addons for problems so they can fix before hand & provide better update
Comment 32•13 years ago
|
||
If a user always sticks to a cutting-edge version of FFx (nightly or aurora), he/she will never get updates for most of the installed addons.
- when the addon v1.0 is compatible with FF6, the user is using FF7 nightly
- when the addon v2.0 is later compatible with FF7, the user has switched to FF8 nightly
- when the addon v3.0 is updated to be compatible with FF8, the user is most likely already on FF9 nightly
....
It is pretty sad for a user to always use a cutting-edge browser with very old addons (v1.0s).
Comment 33•13 years ago
|
||
Will the "Addons default to compatible" feature still leave this issue?
Comment 34•13 years ago
|
||
Workaround (not a fix): Periodically check the "Recently updated" pages at AMO, and the home pages of any non-AMO extensions you might be using.
Comment 35•13 years ago
|
||
Anyway, Chrome is a fine browser, but as long as they have no review process of their extensions- it is not a serious contender for 1st place
firefox need to make life easier for addons as it is the best thing that make make any browser eat dust
Assignee | ||
Comment 36•13 years ago
|
||
I just posted on dev-platform with some proposed changes to fix this, asking for objections:
https://groups.google.com/forum/#!topic/mozilla.dev.platform/--eDvY8IRTY
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → bmcbride
Status: REOPENED → ASSIGNED
Assignee | ||
Updated•13 years ago
|
Summary: extensions.checkCompatibility tweakers don't get add-on updates due to "incompatible" maxVersion → Addon update check should take into account compatibility preferences
Assignee | ||
Comment 37•13 years ago
|
||
This is dependent on the patch in bug 693906.
Contrary to bug 698355 comment 3, I'm purposefully not sending compatMode=strict in the update URL when the addon opts-in to strict compatibility checking. It seems more correct to do that only when strict compatibility checking is enabled globally, since the server doesn't need care about whether the installed version opts in or not. And in fact, this makes it so that an addon can go from opt-in to not opt-in.
Attachment #577129 -
Flags: review?(dtownsend)
Assignee | ||
Comment 38•13 years ago
|
||
Very minor update to the tests, to fix oranges on Windows/OSX (was calling end_test too early, leaving a temp file behind). No other changes.
Attachment #577129 -
Attachment is obsolete: true
Attachment #577428 -
Flags: review?(dtownsend)
Attachment #577129 -
Flags: review?(dtownsend)
Assignee | ||
Comment 40•13 years ago
|
||
This fixes the issue described in bug 704300.
Attachment #577428 -
Attachment is obsolete: true
Attachment #577555 -
Flags: review?(dtownsend)
Attachment #577428 -
Flags: review?(dtownsend)
Comment 41•13 years ago
|
||
Comment on attachment 577555 [details] [diff] [review]
Patch v1.2
Review of attachment 577555 [details] [diff] [review]:
-----------------------------------------------------------------
Oh boy, this is going to be fun to merge with the hotfix patch!
Would like to hear answers to these questions before giving this an r+
::: toolkit/mozapps/extensions/AddonUpdateChecker.jsm
@@ +637,5 @@
> + * The application version to use
> + * @param aPlatformVersion
> + * The platform version to use
> + */
> +function findMatchingCompatOverride(aCompatOverrides, aAddonVersion,
Doesn't this already exist in AddonManager.jsm from the other patch?
::: toolkit/mozapps/extensions/XPIProvider.jsm
@@ +1178,5 @@
> + if (!XPIProvider.checkCompatibility)
> + compatMode = "ignore";
> + else if (AddonManager.strictCompatibility)
> + compatMode = "strict";
> + uri = uri.replace(/%COMPATIBILITY_MODE%/g, compatMode);
What about aAddon.strictCompatibility?
Attachment #577555 -
Flags: review?(dtownsend) → review-
Assignee | ||
Comment 42•13 years ago
|
||
(In reply to Dave Townsend (:Mossop) from comment #41)
> Comment on attachment 577555 [details] [diff] [review] [diff] [details] [review]
> Patch v1.2
>
> Review of attachment 577555 [details] [diff] [review] [diff] [details] [review]:
> -----------------------------------------------------------------
>
> Oh boy, this is going to be fun to merge with the hotfix patch!
Merging is fun!
> > +function findMatchingCompatOverride(aCompatOverrides, aAddonVersion,
>
> Doesn't this already exist in AddonManager.jsm from the other patch?
It does... but there's a circular dependency between AddonManasger.jsm and AddonUpdateChecker.jsm :\ It feels wrong to have it only defined in AddonUpdateChecker, and have AddonManager and XPIProvider use that, since it's not really about update checking.
Alternatively, I could create a new AddonsManagerUtils.jsm.
>
> ::: toolkit/mozapps/extensions/XPIProvider.jsm
> @@ +1178,5 @@
> > + if (!XPIProvider.checkCompatibility)
> > + compatMode = "ignore";
> > + else if (AddonManager.strictCompatibility)
> > + compatMode = "strict";
> > + uri = uri.replace(/%COMPATIBILITY_MODE%/g, compatMode);
>
> What about aAddon.strictCompatibility?
See comment 37.
Comment 43•13 years ago
|
||
(In reply to Blair McBride (:Unfocused) from comment #42)
> > > +function findMatchingCompatOverride(aCompatOverrides, aAddonVersion,
> >
> > Doesn't this already exist in AddonManager.jsm from the other patch?
>
> It does... but there's a circular dependency between AddonManasger.jsm and
> AddonUpdateChecker.jsm :\ It feels wrong to have it only defined in
> AddonUpdateChecker, and have AddonManager and XPIProvider use that, since
> it's not really about update checking.
Does there have to be a circular dependency? If we lazily imported AddonUpdateChecker.jsm then we wouldn't hit this problem I imagine. It's probably only top-level imported because that was simplest.
> Alternatively, I could create a new AddonsManagerUtils.jsm.
Or I guess maybe stick it into AddonRepository.jsm since that actually parses the compat format.
> > ::: toolkit/mozapps/extensions/XPIProvider.jsm
> > @@ +1178,5 @@
> > > + if (!XPIProvider.checkCompatibility)
> > > + compatMode = "ignore";
> > > + else if (AddonManager.strictCompatibility)
> > > + compatMode = "strict";
> > > + uri = uri.replace(/%COMPATIBILITY_MODE%/g, compatMode);
> >
> > What about aAddon.strictCompatibility?
>
> See comment 37.
Ok, I get it.
Assignee | ||
Comment 44•13 years ago
|
||
Attachment #577555 -
Attachment is obsolete: true
Attachment #578216 -
Flags: review?(dtownsend)
Assignee | ||
Comment 45•13 years ago
|
||
Removed an accidental whitespace change.
Attachment #578216 -
Attachment is obsolete: true
Attachment #578221 -
Flags: review?(dtownsend)
Attachment #578216 -
Flags: review?(dtownsend)
Updated•13 years ago
|
Attachment #578221 -
Flags: review?(dtownsend) → review+
Assignee | ||
Comment 46•13 years ago
|
||
Flags: in-testsuite+
Flags: in-litmus-
Whiteboard: [sg:want P5] → [sg:want P5][fixed-in-fx-team]
Target Milestone: --- → mozilla11
Assignee | ||
Comment 47•13 years ago
|
||
Comment on attachment 578221 [details] [diff] [review]
Patch v2.0001
Pe-emptively requesting approval (it's not merged into central yet). Important piece of the compatible-by-default story, required for enabling it on a release version.
Attachment #578221 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 48•13 years ago
|
||
Bah, seems I forgot do_test_pending() in test_update_compatmode.js, so it was passing without doing anything. This patch fixes the test - it still passes, but it does so while actually testing things.
Updated•13 years ago
|
Attachment #578493 -
Flags: review+
Assignee | ||
Comment 49•13 years ago
|
||
Comment 50•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago → 13 years ago
Resolution: --- → FIXED
Whiteboard: [sg:want P5][fixed-in-fx-team] → [sg:want P5]
Comment 51•13 years ago
|
||
Comment 52•13 years ago
|
||
I have extensions.checkCompatibility.nightly set to false, but my outdated extensions are not updating. Am I missing something, and that's not how this patch is supposed to work?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0a1) Gecko/20111203 Firefox/11.0a1
Assignee | ||
Comment 53•13 years ago
|
||
(In reply to solcroft from comment #52)
> I have extensions.checkCompatibility.nightly set to false, but my outdated
> extensions are not updating. Am I missing something, and that's not how this
> patch is supposed to work?
It's dependent on a change in AMO, bug 698355. That's been fixed, but I found out today that it's not currently enabled on the production site - it should hopefully be enabled this week. Once that change is live, everything should work as intended.
Assignee | ||
Comment 54•13 years ago
|
||
Note: When I get approval for aurora, I'll roll the patch and the test fix into one changeset and land that.
Assignee | ||
Comment 55•13 years ago
|
||
Note: This can't land on Aurora until bug 707328 also has approval and can land, as it fixes an issue with the patch here.
Comment 56•13 years ago
|
||
(In reply to Blair McBride (:Unfocused) from comment #55)
> Note: This can't land on Aurora until bug 707328 also has approval and can
> land, as it fixes an issue with the patch here.
This patch is fairly large and possibly not compartmentalized from other add-on code - can you speak to the possibility of regression in this patch? My understanding is that we'd have to back this patch out (as opposed to preffing off the feature) if we find regressions here.
Assignee | ||
Comment 57•13 years ago
|
||
(In reply to Alex Keybl [:akeybl] from comment #56)
> This patch is fairly large and possibly not compartmentalized from other
> add-on code - can you speak to the possibility of regression in this patch?
> My understanding is that we'd have to back this patch out (as opposed to
> preffing off the feature) if we find regressions here.
Yes, this is the one patch that can't be completely preffed off. It's not a big as it seems though - most of the patch is adding automated tests, and a decent amount is just adding additional (optional) arguments to functions or changing indentation of existing code. By disabling default-to-compatible, a decent amount of this patch is disabled - about half of what isn't disabled only applies when the user has disabled compatibility checking (which is common on Nightly, but uncommon on Release).
I should note that in addition to being used for default-to-compatible, this patch also fixes an existing security issue for users with compatibility checking disabled, in that previously they would not get security updates for any addons that wouldn't normally be compatible.
Comment 58•13 years ago
|
||
Comment on attachment 578221 [details] [diff] [review]
Patch v2.0001
[Triage Comment]
Per agreement in yesterday's channel meeting, we'll be preffing on add-ons compatible by default early next week. This is a requirement to being feature complete. Approving for Aurora.
Attachment #578221 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 59•13 years ago
|
||
status-firefox10:
--- → fixed
Comment 60•13 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0a2) Gecko/20111215 Firefox/10.0a2
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0a1) Gecko/20111215 Firefox/11.0a1
Verified on Mac OS 10.6, Windows 7, Windows XP and Ubuntu 11.10 on Firefox 10 Aurora and Firefox 11 Nightly with Pentadactyl (max version of latest version equal to 8.*) for Firefox Aurora and Greasemonkey (max version of latest version equal to 10.*) for Nightly.
STR:
1. Start Firefox 10/11 (Aurora/Nightly)
2. Install an older version of an add-on whose max version is smaller than the application's for both the current version and the latest version to which it updates- e.g. Pentadactyl, version 1.0b61 (https://addons.mozilla.org/en-US/firefox/addon/pentadactyl/versions/)
3. Check for updates in Add-ons Manager.
The add-on from step 2 now updates to the latest version if the default-to-compatible feature is enabled.
Comment 61•13 years ago
|
||
How do we enable the default-to-compatible feature?
Comment 62•13 years ago
|
||
default-to-compatible is enabled on Nightly and Aurora. As of next week it will also be enabled on Beta.
Comment 63•13 years ago
|
||
This also works correctly with compatibility checking disabled (checked with Aurora and Nightly):
1. Disable compatibility checking (add extensions.checkCompatibility.10.0a pref to false in about:config for Aurora and extensions.checkCompatibility.nightly for Nightly)
2. Install an older version of a binary incompatible add-on and a non-binary add-on (e.g. Pentadactyl and Cooliris (binary))
3. Restart if required.
4. Check for updates for the installed add-ons.
Add-ons update to the newest version with Compatibility checking disabled.
Updated•13 years ago
|
status1.9.2:
--- → wontfix
You need to log in
before you can comment on or make changes to this bug.
Description
•