Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import webextension-polyfill to make types safe and consistent #44

Merged
merged 5 commits into from
Oct 27, 2021

Conversation

fregante
Copy link
Collaborator

@fregante fregante commented Oct 19, 2021

Companion to pixiebrix/pixiebrix-extension#1763

I don't really want to make this dependent on the polyfill, but it just makes things easier — at least for now.

With #43, there was a "race condition" where the polyfill had to be executed before this module because it automatically calls a browser.* API via registerTarget on import.

@fregante fregante marked this pull request as ready for review October 27, 2021 20:19
@fregante fregante changed the title Import webextension-polyfill to ensure types are safe and consistent Import webextension-polyfill to make types safe and consistent Oct 27, 2021
@fregante fregante merged commit 8d8f43e into main Oct 27, 2021
@fregante fregante deleted the webextensions-polyfill branch October 27, 2021 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant