Skip to content

Add HTML Web workers types #804

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

Merged
merged 5 commits into from
Mar 4, 2020
Merged

Add HTML Web workers types #804

merged 5 commits into from
Mar 4, 2020

Conversation

saschanaz
Copy link
Contributor

@saschanaz saschanaz commented Nov 24, 2019

Closes #807

@sandersn
Copy link
Member

Not sure what's going on with the new ExtendableMessageEvent after merging from master. It seems like there are some new diff lines in the last commit that weren't there before.

Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

I can't figure out where the ExtendableMessageEvent changes came from, and I'm afraid to merge without understanding the difference between it and MessageEvent. @saschanaz do you know what the difference is?

@saschanaz
Copy link
Contributor Author

I can't figure out where the ExtendableMessageEvent changes came from

The code currently guesses event interface from other types (eNameToEType in emitter.ts), it seems the order somehow changed.

@saschanaz saschanaz requested a review from sandersn February 26, 2020 04:44
Copy link
Contributor

@orta orta left a comment

Choose a reason for hiding this comment

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

The Worker stuff looks good - I'm happy to get this merged if you add the extra IDL I linked to so that we don't lose any types. 👍

@sandersn sandersn merged commit 6124e74 into microsoft:master Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

onrejectionhandled / onunhandledrejection are missing in WorkerGlobalScope
3 participants