See https://github.com/whatwg/notifications/issues/108. This would reduce the amount of "dialog spam" users get to see. To make this work we need to do these things: * Measure how often requestPermission() is invoked without user gesture. * Note in the developer console that requestPermission() without user gesture is deprecated to drive down the measurement and create awareness. Potentially we should also do some outreach, e.g., a blog post?
See the Google plans here: https://github.com/WICG/interventions/issues/49#issuecomment-310445655
Do you know if the same happens for ServiceWorkerContainer.register too (this is used to register with the browser for Push Notifications)?
Component: DOM → DOM: Core & HTML
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.