Open
Bug 1844044
Opened 10 months ago
Updated 15 days ago
Prevent automatic suspension of event page for permissions.request (generally: APIs dependent on user feedback)
Categories
(WebExtensions :: General, defect, P2)
WebExtensions
General
Tracking
(Not tracked)
NEW
People
(Reporter: robwu, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [addons-jira])
Forked from https://bugzilla.mozilla.org/show_bug.cgi?id=1771203#c4
There are some extension APIs that involve user interaction and can theoretically run forever. These methods should prevent the event page/SW from suspending until they return. For details, see:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1771203#c4
- https://bugs.chromium.org/p/chromium/issues/detail?id=1418780#c18
As of writing, the list of APIs in Firefox is:
identity.launchWebAuthFlow
permissions.request
Note that this is distinct from bug 1844041: While other bug is about resetting the idle timer upon method invocation, this bug is about stopping the timer from starting for the whole duration of the API calls.
Updated•10 months ago
|
Severity: -- → S3
Type: enhancement → defect
Priority: -- → P2
Whiteboard: [
Updated•10 months ago
|
Whiteboard: [ → [addons-jira]
Updated•10 months ago
|
Reporter | ||
Comment 1•15 days ago
|
||
Note: implementing this would be significantly easier if the timer-based implementation changed to refcounting, see bug 1874406.
Depends on: 1874406
You need to log in
before you can comment on or make changes to this bug.
Description
•