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.
Bug 1947785 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
See [bug 1934115](https://bugzilla.mozilla.org/show_bug.cgi?id=1934115#c14) 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.