Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Remove embedded web extension in install manifest. #2688

Conversation

rhelmer
Copy link
Contributor

@rhelmer rhelmer commented Apr 14, 2017

hasEmbeddedWebExtension causes the embedded web extension to be parsed when the
bootstrapped extension is installed, which triggers a race condition in
existing Firefox code during startup on a clean profile between
AddonManager and devtools code.

Removing this is not an issue for Screenshots because it delays startup
of the embedded web extension until "sessionstore-windows-restored" is
observed anyway.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1356394 for more info.

This causes the embedded web extension to be parsed at startup, and
triggers a race condition in existing Firefox code during startup
on a clean profile between AddonManager and devtools code.

Removing this is not an issue for Screenshots because it delays startup
of the embedded web extension until "sessionstore-windows-restored" is
observed anyway.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1356394 for more info.
@jaredhirsch
Copy link
Member

@rhelmer gotta love the one-liner solution! thanks so much for digging into this last night

@jaredhirsch jaredhirsch merged commit 2fa25c6 into mozilla-services:master Apr 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants