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 ArrayBuffer.prototype.byteLength for iOS 10 #203

Merged
merged 1 commit into from Jul 4, 2020

Conversation

charpeni
Copy link
Owner

@charpeni charpeni commented Jul 2, 2020

Fixes #190.

Not sure why, but ArrayBuffer.prototype.byteLength is not defined on iOS 10. It seems like ArrayBuffer is a function that will return an object with the expected properties. We should be able to fake it without drawbacks.

@charpeni charpeni added ⚙️ JavaScript Engine This issue or pull request is related to a JavaScript engine whatwg-url This issue or pull request is related to whatwg-url labels Jul 2, 2020
@charpeni charpeni merged commit 395b603 into master Jul 4, 2020
@charpeni charpeni deleted the fix-arraybuffer-bytelength-on-ios10 branch July 4, 2020 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ JavaScript Engine This issue or pull request is related to a JavaScript engine whatwg-url This issue or pull request is related to whatwg-url
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not working on iPhone 5, iOS 10.3.4
1 participant