Opened on 12/04/2018 at 10:49:27 AM

Closed on 12/21/2018 at 02:28:24 PM

#7155 closed change (fixed)

Add "popup" content type

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

https://gitlab.com/eyeo/adblockplus/libadblockplus/merge_requests/32

Description

Background

In AdblockChromium and libadblockplus-android use FilterEngine.matches(https://gitlab.com/eyeo/adblockplus/libadblockplus/blob/master/include/AdblockPlus/FilterEngine.h#L395) to decide if the request should be blocked or not and pass contentTypeMask as argument. popup content type is supported in JS (https://github.com/adblockplus/adblockpluscore/blob/master/lib/filterClasses.js#L952) but not in libadblockplus.

However we need it: https://gitlab.com/eyeo/adblockplus/chromium/merge_requests/38#note_121862751

What to change

Add popup enum value to ContentType:
https://gitlab.com/eyeo/adblockplus/libadblockplus/blob/master/include/AdblockPlus/FilterEngine.h#L199

Attachments (0)

Change History (3)

comment:1 Changed on 12/20/2018 at 02:44:21 PM by zkhetsuriani

  • Owner set to zkhetsuriani

comment:2 Changed on 12/21/2018 at 05:50:43 AM by asmirnov

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

comment:3 Changed on 12/21/2018 at 02:28:24 PM by zkhetsuriani

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

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