New issue
Advanced search Search tips

Issue 870255 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

notificationclose events received after notification permission is blocked

Project Member Reported by awdf@chromium.org, Aug 2

Issue description

Chrome Version: 68.0.3440.75 
OS: Linux, but likely all

What steps will reproduce the problem?
(1) Go to https://tests.peter.sh/notification-generator/ + grant permission
(2) Modify service worker source code to console.log something when notificationclose event received
(2) Set requireInteraction to true & display notification
(3) Block notification permission for the site
(4) Close the notification from the notification UI

What is the expected result?

No notificationclose event received

What happens instead?

Event still received by service worker

--------

Note that notification*click* events are no longer received when permission is blocked, as expected.
 
Labels: Hotlist-DesktopUIToolingRequired Hotlist-DesktopUIChecked
***UI Mass Triage***

Adding appropriate label for expert review.

Sign in to add a comment