Open Bug 1763915 Opened 4 years ago Updated 2 years ago

Fix permissions.request() does not work in background script

Categories

(WebExtensions :: General, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: kernp25, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

From https://bugzilla.mozilla.org/show_bug.cgi?id=1493396#c10:

This bug can also be triggered when permissions.request is called in response to commands.onCommand from the background page (in which case context.pendingEventBrowser is null and context.xulBrowser is the background <browser>.

window is the hidden window (https://searchfox.org/mozilla-central/rev/59e797b66f5ce8a27ede0e7677688931be7aed20/toolkit/components/extensions/ExtensionParent.jsm#1137), which doesn't have a UI.

Assignee: nobody → kernp25
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

I know, there is this bug 1679925. But it seems, this bug got stucked?

The severity field is not set for this bug.
:mixedpuppy, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mixedpuppy)
Severity: -- → S3
Priority: -- → P5
Priority: P5 → P3
Blocks: 1433292
See Also: → 1493396
Flags: needinfo?(mixedpuppy)

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: kernp25 → nobody
Status: ASSIGNED → NEW
See Also: → 1868551
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: