Skip to content

Conversation

walkingeyerobot
Copy link
Contributor

According to the spec, TypedArray does not define its own toString and inherits it directly from Object. In implementations that follow this (like SpiderMonkey), this causes the dictionary to be effectively empty. In v8, TypedArray's toString is somehow Array.prototype.toString. This fix just manually uses that toString.

@walkingeyerobot
Copy link
Contributor Author

@curiousdannii
Copy link
Owner

Thank you for spotting this! How would you like to be credited in the contributors file?

@curiousdannii curiousdannii merged commit 1eb15c7 into curiousdannii:master Jul 28, 2016
@walkingeyerobot
Copy link
Contributor Author

Like this please. And thanks!

Mitch Foley [email protected]

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.

2 participants