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

Fix transferable list in worker.postMessage #1119

Merged
merged 3 commits into from
Jul 26, 2020
Merged

Fix transferable list in worker.postMessage #1119

merged 3 commits into from
Jul 26, 2020

Conversation

sc1f
Copy link
Contributor

@sc1f sc1f commented Jul 11, 2020

This PR fixes a regression in earlier versions of chrome where arrow loads and updates would fail, due to the transferable param in worker.postMessage not being wrapped in an array. This change fixes the issue and makes sure that transferable arguments are passed properly in an array instead of being unwrapped.

Copy link
Member

@texodus texodus left a comment

Choose a reason for hiding this comment

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

Looks good! I am surprised to learn that puppeteer does not support arraybuffers ...

@texodus texodus merged commit 974807e into master Jul 26, 2020
@texodus texodus deleted the fix-postmessage branch July 26, 2020 06:06
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.

3 participants