Open
Bug 1402785
Opened 7 years ago
Updated 2 years ago
Require a user gesture for Notification.requestPermission()
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: annevk, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed, DevAdvocacy)
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?
Updated•7 years ago
|
Blocks: ServiceWorkers-compat
Comment 1•7 years ago
|
||
See the Google plans here: https://github.com/WICG/interventions/issues/49#issuecomment-310445655
Updated•7 years ago
|
Priority: -- → P2
Comment 2•7 years ago
|
||
Do you know if the same happens for ServiceWorkerContainer.register too (this is used to register with the browser for Push Notifications)?
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•