Skip to content

Make typed arrays safe #19241

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

Closed
jdm opened this issue Nov 15, 2017 · 2 comments
Closed

Make typed arrays safe #19241

jdm opened this issue Nov 15, 2017 · 2 comments
Labels
A-content/bindings The DOM bindings I-safety Some piece of code violates memory safety guarantees.

Comments

@jdm
Copy link
Member

jdm commented Nov 15, 2017

#15672 was work towards this. I don't remember the exact motivation at the moment.

@jdm jdm added A-content/bindings The DOM bindings I-safety Some piece of code violates memory safety guarantees. labels Nov 15, 2017
@Xanewok
Copy link
Contributor

Xanewok commented Mar 14, 2018

#20267 and servo/rust-mozjs#397 introduce support for typed arrays using Box<Heap<*mut JSObject>> variant (in addition to stack-rooting using CustomAutoRooter).

@jdm
Copy link
Member Author

jdm commented Mar 14, 2018

Good enough!

@jdm jdm closed this as completed Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-content/bindings The DOM bindings I-safety Some piece of code violates memory safety guarantees.
Projects
None yet
Development

No branches or pull requests

2 participants