Opened on 03/22/2018 at 09:15:23 AM

Closed on 03/24/2018 at 10:55:24 AM

Last modified on 03/28/2018 at 07:42:16 AM

#6511 closed defect (fixed)

Actions inside popup ui notifications do not properly remove notification

Reported by: Ross Assignee: kzar
Priority: P1 Milestone: Adblock-Plus-3.0.3-for-Chrome-Opera-Firefox
Module: Platform Keywords:
Cc: sebastian, kzar, greiner, saroyanm Blocked By: #6476, #6510, #6512
Blocking: Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Ross Verified working: yes
Review URL(s):

Description (last modified by kzar)


Chrome 49 / 65 / Windows 7
Opera 49 / Windows 7

How to reproduce

  1. Save the notification below into a directory.
  2. Serve it python -m SimpleHTTPServer
  3. Install ABP.
  4. [ABP Icon] > [Right Click Popup] > [Inspect].
  5. In the popup console, set the notification url: browser.runtime.sendMessage({type: "prefs.set", key: "notificationurl", value: "<serveurl>"})
  6. Wait for ABP to request notifications.
  7. Open the popup UI to see notification.
  8. Select the [X] and [Close this notification].
  9. Open popup UI again.
  1. Select the [X] and [Stop showing notifications]

Test data

  "notifications": [
      "id": "1",
      "message": {
        "en-US": "This is a information notification."
      "severity": "information",
      "title": {
        "en-US": "Test Normal Notification"
  "version": "201707281538"

Observed behaviour

The [Close this notification] action closes the notification. But the notification reappears again when the popup ui is reopened.

The [Stop showing notifications] action seems to unset the [Show useful notifications] option in [Advanced]. But does not remove the notification from the popup ui as with [Close this notification] above.

Expected behaviour

In the 3.0.2 release, selecting [Close this notification] removes the notification from the UI and it is not present when the popup ui is reopened. The same with [Stop showing notifications].

What to change

  • Update the adblockplusui dependency to hg:9546f62e182f git:7411639 which will include the fixes for #6511 and #6510.
  • Send a "notifications.clicked" message instead of calling notification.onClicked() from the popup code.
  • Implement notificationHelpre.notificationClicked.


Hints for testers

  • Test that #6511 and #6510 are fixed.
  • No other changes are included, so nothing else should need to be tested.

Attachments (0)

Change History (12)

comment:1 Changed on 03/22/2018 at 10:29:56 AM by kzar

  • Cc greiner saroyanm added
  • Owner set to kzar
  • Priority changed from Unknown to P1
  • Ready set

I can reproduce this, investigating now.

comment:2 Changed on 03/22/2018 at 11:56:38 AM by kzar

  • Description modified (diff)
  • Priority changed from P1 to P2

comment:3 Changed on 03/22/2018 at 01:08:30 PM by kzar

  • Description modified (diff)

comment:4 Changed on 03/22/2018 at 02:39:33 PM by kzar

  • Blocked By 6512 added

comment:5 Changed on 03/22/2018 at 02:45:42 PM by kzar

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

comment:6 Changed on 03/22/2018 at 02:50:03 PM by kzar

  • Priority changed from P2 to P1

Despite the problematic commit landing in October 2017 this is a regression since the last Chrome release. Putting it back to P1.

comment:7 Changed on 03/22/2018 at 06:05:54 PM by sebastian

  • Blocked By 6476 added
  • Milestone set to Adblock-Plus-3.0.3-for-Chrome-Opera-Firefox

comment:8 Changed on 03/23/2018 at 03:45:51 PM by sebastian

  • Blocked By 6510 added
  • Description modified (diff)

comment:9 Changed on 03/23/2018 at 04:29:51 PM by kzar

  • Description modified (diff)

comment:10 Changed on 03/24/2018 at 10:53:25 AM by abpbot

A commit referencing this issue has landed:
Issue 6511 - Use messaging to register popup notification clicks

comment:11 Changed on 03/24/2018 at 10:55:24 AM by kzar

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

comment:12 Changed on 03/28/2018 at 07:41:42 AM by Ross

  • Tester changed from Unknown to Ross
  • Verified working set


Chrome 49 / 65 / Windows 7

Last edited on 03/28/2018 at 07:42:16 AM by Ross

Add Comment

Modify Ticket

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