Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReplace uses of JS_GetArrayBufferViewType with high-level API #15605
Labels
Comments
|
@samliu Does this sound interesting to you? |
|
If I understand correctly, this is a cleanup task to replace That sounds like a great first task, please assign it to me. I'll try to have a patch in by this weekend :) |
bors-servo
added a commit
that referenced
this issue
Feb 21, 2017
Cleanup arraybufferview type <!-- Please describe your changes on the following line: --> Replace uses of spidermonkey-specific JS_GetArrayBufferViewType with ArrayBufferView impl's method get_array_type(). Tests pass: ./mach test-wpt tests/wpt/web-platform-tests/WebCrypto ./mach test-wpt tests/wpt/web-platform-tests/webgl --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #15605 (github issue number if applicable). - [x] There are tests for these changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15653) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have code that invokes the JS_GetArrayBufferViewType API from SpiderMonkey. Once servo/rust-mozjs#340 merges, we can update the version of the
jscrate (./mach cargo-update -p js) and replace them with the new API added to theArrayBufferViewtype.Tests:
./mach test-wpt tests/wpt/web-platform-tests/WebCryptoand./mach test-wpt tests/wpt/web-platform-tests/webglshould verify that there's no behavioural change.