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

Global subscriptions #629

Merged
merged 15 commits into from
Aug 24, 2019
Merged

Global subscriptions #629

merged 15 commits into from
Aug 24, 2019

Conversation

kristoferbaxter
Copy link
Contributor

Global subscriptions (addEventListener) without a target, are safe to apply to the global target of the main thread since they cannot be prevent defaulted or have their propagation limited.

Fixes #626.

@@ -77,11 +77,11 @@ const ESModules = [
],
}),
replace({
WORKER_DOM_DEBUG: false,
WORKER_DOM_DEBUG: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes made it possible to debug the issue. Looks like a bad merge made it so debugging was disabled on the debug output.

Copy link

@sebastianbenz sebastianbenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support listening to global key events
3 participants