Opened on 12/15/2015 at 03:50:35 PM

Closed on 12/15/2015 at 06:08:44 PM

Last modified on 12/16/2015 at 05:14:11 PM

#3415 closed change (fixed)

Detect application based on UA for Chromium-based browsers

Reported by: sebastian Assignee: sebastian
Priority: P3 Milestone:
Module: Automation Keywords:
Cc: Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29332680

Description (last modified by sebastian)

Background

Currently, info.application is hard-coded to "chrome" and "opera" in the respective builds. However, when we use a unified build for all Chromium-based browsers (currently under discussion) that won't work anymore. But even until then this information is redundant with addonName which is "adblockpluschrome" and "adblockplusopera" respectively, at the moment. Moreover, currently, other Chromium-based browser (e.g. Yandex.Browser) are mistakenly reported as Chrome.

What to change

  • Detect info.application on the client-side, based on the user agent string.
  • Also make sure that info.applicationVersion refers to that application.

Attachments (0)

Change History (4)

comment:1 Changed on 12/15/2015 at 04:32:12 PM by sebastian

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed on 12/15/2015 at 06:08:44 PM by sebastian

  • Resolution set to fixed
  • Status changed from reviewing to closed

comment:3 Changed on 12/16/2015 at 12:44:59 PM by sebastian

  • Description modified (diff)

comment:4 Changed on 12/16/2015 at 05:14:11 PM by sebastian

  • Description modified (diff)

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 sebastian.
 
Note: See TracTickets for help on using tickets.