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

Relax check for webworker transferability #8868

Merged
merged 1 commit into from
Oct 14, 2019
Merged

Conversation

kkaefer
Copy link
Member

@kkaefer kkaefer commented Oct 14, 2019

In some browser versions, objects can be transfered even though they don't pass the check for instanceof ArrayBuffer. We're going to use a more forgiving check that follows a duck-typing approach.

Fixes #8861 and #8287. Tested with the cypress example provided in that issue and the map now displays correctly.

In some browser versions, objects can be transfered even though they don't pass the check for `instanceof ArrayBuffer`. We're going to use a more forgiving check that follows a duck-typing approach.
@kkaefer kkaefer merged commit e894e7d into master Oct 14, 2019
@kkaefer kkaefer deleted the arraybuffer-instanceof branch October 14, 2019 19:05
arindam1993 pushed a commit that referenced this pull request Oct 16, 2019
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.

Use different check for ArrayBuffers
3 participants