Open
Bug 1947785
Opened 1 year ago
Updated 1 year ago
Send a new permission prompt request only when the previous one is completed
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: saschanaz, Unassigned)
References
(Blocks 1 open bug)
Details
See bug 1934115 for more context.
Certain web APIs ping the parent process to open a permission prompt for users. While some APIs e.g. Notification.requestPermission() is guarded behind transient user activation, other APIs e.g. navigator.geolocation.watchPosition is not, and calling such API repeatedly can stress the parent process enough that the whole Firefox UI hangs.
| Reporter | ||
Comment 1•1 year ago
|
||
Notification.requestPermission() is actually also an issue because the parent process is still pinged to trigger the animation.
OS: Android → All
Hardware: ARM → All
You need to log in
before you can comment on or make changes to this bug.
Description
•