Closed Ms2ger closed 8 years ago
r? @jdm
I am super pumped to look at this later today!
As for the neutering stuff, I've spent a while looking at Gecko's implementation and thinking about whether we can do anything better, and I haven't come up with any good ideas. APIs like TypedArray::with_slice could accept a closure, but that wouldn't prevent people from running JS that could invalidate the slice inside of the closure, so it would still be unsafe and less pleasant to use.
Still needs tests.
Tests done, r? @jdm
@bors-servo: r+ Thanks!
:pushpin: Commit da0665d has been approved by jdm
:hourglass: Testing commit da0665d with merge fc380e0...
:sunny: Test successful - status-appveyor, status-travis
This change is