Open Bug 1844044 Opened 5 months ago Updated 4 months ago

Prevent automatic suspension of event page for permissions.request (generally: APIs dependent on user feedback)

Categories

(WebExtensions :: General, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: robwu, Unassigned)

References

(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:

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.

Severity: -- → S3
Type: enhancement → defect
Priority: -- → P2
Whiteboard: [
Whiteboard: [ → [addons-jira]
You need to log in before you can comment on or make changes to this bug.