Closed Bug 1599846 Opened 5 years ago Closed 5 years ago

Enable Background WebExtension scripts in FxR on PC

Categories

(Core :: WebVR, task, P2)

Desktop
Unspecified
task

Tracking

()

RESOLVED FIXED
Future
Tracking Status
firefox72 --- fixed

People

(Reporter: thomasmo, Assigned: thomasmo)

References

Details

Attachments

(1 file)

No description provided.

This change allows for background scripts from WebExtensions to run in the FxR on PC chrome window. In this scenario, the promise ExtensionParent.browserStartupPromise is never fulfilled because it depends on the notification sessionstore-windows-restored, which doesn't occur because the FxR window does not participate in SessionStore.
To address this issue, browserStartupPromise is now a race between the original notification and a new one, extensions-late-startup, which is fired from fxrui.js.

Pushed by tmoore@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a3bc852f2ee1 Enable Background WebExtension scripts in FxR on PC r=zombie
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: