Opened on 01/10/2017 at 03:16:54 PM

Closed on 03/20/2017 at 02:29:47 PM

Last modified on 03/21/2017 at 10:47:19 AM

#4787 closed defect (fixed)

Adblock Plus can be installed on outdated/unsupported Opera versions

Reported by: Ross Assignee: jsonesen
Priority: P2 Milestone: Adblock-Plus-1.13.2-for-Chrome-Opera
Module: Platform Keywords:
Cc: kzar, sebastian Blocked By: #5012
Blocking: Platform: Opera
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29389570/

Description (last modified by sebastian)

How to reproduce

Install Adblock Plus on Opera <36

Observed behaviour

Adblock Plus is successfully installed, but doesn't work properly, since it requires Chromium 49 (which corresponds to Opera 36) or higher.

Expected behaviour

Users on Opera <36 should not get the current version of Adblock Plus (through installation or update).

Once #5012 has been implemented, this can be achieved by updating the buildtoolsdependency and adding opera = 36.0 to the compat section in metadata.chrome.

Attachments (0)

Change History (14)

comment:1 Changed on 01/10/2017 at 03:19:27 PM by Ross

Noticed when testing #4722. Since Opera is now based off Chrome maybe Opera needs a minimum version bump too? (Guessing).

comment:2 Changed on 01/11/2017 at 04:08:22 AM by kzar

  • Cc sebastian added

I'm not sure how the minimum version required for Opera is defined since there's no longer a separate metadata file for Opera. (I'm also not sure what the minimum supported version of Opera should be.) Any idea Sebastian?

comment:3 Changed on 03/16/2017 at 09:20:17 AM by kzar

  • Resolution set to rejected
  • Status changed from new to closed

Looking at http://www.opera.com/docs/history/ it seems that Opera 36 corresponds with Chromium 49. This explains why earlier versions aren't working, they're just not supported.

comment:4 Changed on 03/16/2017 at 09:42:45 AM by sebastian

  • Resolution rejected deleted
  • Status changed from closed to reopened

It seems we have to add minimum_opera_version to manifest.json in order to prevent installation on outdated/unsupported Opera versions. Having a uniform manifest.json for Chrome and Opera, shouldn't be a problem. Chrome will just pick up minimum_chrome_version, ignoring minimum_opera_version, and vice-versa does Opera.

Last edited on 03/20/2017 at 09:04:37 AM by sebastian

comment:5 Changed on 03/17/2017 at 01:33:10 PM by sebastian

  • Blocked By 5012 added

comment:6 Changed on 03/17/2017 at 01:48:31 PM by sebastian

  • Description modified (diff)
  • Priority changed from Unknown to P2
  • Ready set
  • Summary changed from Options button fails and adverts displayed in old Opera versions to Adblock Plus can be installed on outdated/unsupported Opera versions

comment:7 Changed on 03/20/2017 at 11:41:51 AM by jsonesen

  • Owner set to jsonesen

comment:8 Changed on 03/20/2017 at 12:57:43 PM by trev

  • Review URL(s) modified (diff)

comment:9 Changed on 03/20/2017 at 01:31:08 PM by abpbot

A commit referencing this issue has landed:
Issue 4787 - Add compat value for minimum opera version

comment:10 Changed on 03/20/2017 at 02:29:47 PM by jsonesen

  • Milestone set to Adblock-Plus-for-Chrome-Opera-next
  • Resolution set to fixed
  • Status changed from reopened to closed

comment:11 Changed on 03/20/2017 at 04:45:54 PM by Ross

I could still install 1.13.1749 from the devbuild listing and from the Opera extensions store (1.13.1). I'm not sure if this worked or I'm testing it too soon? (I think the commit is in the devbuild by now according to the changelist?).

ABP 1.13.1749
Opera 35 / Windows 10

comment:12 Changed on 03/20/2017 at 05:07:50 PM by sebastian

The development build as of version 1.13.1.1794, includes the minimum_opera_version manifest entry that should prevent installation on Opera <=35. However, the release version (1.12.1), currently available from Opera add-ons, does not. From the top of my head, I can think of two possible reasons, if you can still install the development build on Opera 35:

  1. Opera 35 might not yet support minimum_opera_version. In that case the changes here would be useless (until we increase the minimum requirements beyond an Opera version that supports it).
  2. The minimum_opera_version key is not handled by the Opera browser, but by the Opera add-ons server-side infrastructure, and therefore it doesn't have any effect on the development builds.
Last edited on 03/20/2017 at 05:12:48 PM by sebastian

comment:13 Changed on 03/20/2017 at 07:19:29 PM by Ross

I thought either of those might be the case. I couldn't readily find much information about when minimum_opera_version was implemented so I guess the best case is to recheck this as soon as it's updated on the store?

comment:14 Changed on 03/21/2017 at 08:34:11 AM by sebastian

Yeah, I couldn't find any information on how minimum_opera_version is supposed to work either (though it seems other extensions were already using it even before Opera 35). Neither could I find information on how exactly minimum_chrome_version limits installation on Chrome, in case it works the same way. So unless somebody figures something out that we missed so far, I guess we have to just release this change (assuming it didn't break anything), and have another look afterwards.

Last edited on 03/21/2017 at 10:47:19 AM by sebastian

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from jsonesen.
 
Note: See TracTickets for help on using tickets.