Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#3868 closed change (fixed)

Migrate the platform code to the new FilterNotifier API

Reported by: sebastian Assignee: sebastian
Priority: P3 Milestone: Adblock-Plus-1.12-for-Chrome-Opera-Safari
Module: Platform Keywords:
Cc: Blocked By: #3862, #3869
Blocking: Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Ross Verified working: yes
Review URL(s):

Description (last modified by sebastian)


With #3862, the FilterNotifier API got refactored and is now migrating to an event API similar to node.js. While the old methods are still supported, they are deprecated now, and the new API should also perform better.

What to change

  • Update adblockpluscore to enable and use the new FilterNotifer API (#3862).
  • Update adblockplusui to use the new FilterNotifer API (#3869).
  • Adapt platform code to use FilterNofier.on(), and FilterNofier.emit().

Change History (6)

comment:1 Changed 5 years ago by sebastian

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

comment:2 Changed 5 years ago by sebastian

  • Description modified (diff)

comment:3 Changed 5 years ago by sebastian

  • Blocked By 3862, 3869 added
  • Description modified (diff)

comment:4 Changed 5 years ago by abpbot

A commit referencing this issue has landed:

comment:5 Changed 5 years ago by sebastian

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

comment:6 Changed 4 years ago by Ross

  • Tester changed from Unknown to Ross
  • Verified working set

Subscriptions and filters are working without any obvious regressions.

Chrome 31, 45, 50 / Windows 7
Chrome 32, 49 / OS X 10.11
Chrome 49 / Ubuntu 14.04
Safari 6 / OS X 10.8
Safari 9.1 / OS X 10.11
Opera 36 / Ubuntu 14.04

Note: See TracTickets for help on using tickets.