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

Use typed array in TextDecoder::Decode #14727

Merged
merged 1 commit into from Dec 27, 2016

Conversation

@zaynetro
Copy link

zaynetro commented Dec 25, 2016

Use typed array API in TextDecoder::Decode


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #14674
  • These changes do not require tests because no new methods were introduced

This change is Reviewable

@highfive
Copy link

highfive commented Dec 25, 2016

Heads up! This PR modifies the following files:

  • @fitzgen: components/script/dom/textdecoder.rs
  • @KiChjang: components/script/dom/textdecoder.rs
@highfive
Copy link

highfive commented Dec 25, 2016

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!
Cargo.lock Outdated
@@ -1246,7 +1246,7 @@ dependencies = [
[[package]]
name = "js"
version = "0.1.3"
source = "git+https://github.com/servo/rust-mozjs#342f304a455080acf64f5ceb40a7f8059481ca01"
source = "git+https://github.com/servo/rust-mozjs#15ff1e83446e998112dcde731610e8b60cc32abf"

This comment has been minimized.

@wafflespeanut

wafflespeanut Dec 27, 2016

Member

Hm, we already seem to be using this revision in master. Rebase?

This comment has been minimized.

@zaynetro

zaynetro Dec 27, 2016

Author

OK, it wasn't there when pull request was submitted. Will do it now

This comment has been minimized.

@zaynetro zaynetro force-pushed the zaynetro:textdecoder-use-typedarray branch from 22da7c7 to 40fa021 Dec 27, 2016
@jdm
Copy link
Member

jdm commented Dec 27, 2016

@bors-servo: r+
Thanks for making this change!

@bors-servo
Copy link
Contributor

bors-servo commented Dec 27, 2016

📌 Commit 40fa021 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Dec 27, 2016

Testing commit 40fa021 with merge eb64ede...

bors-servo added a commit that referenced this pull request Dec 27, 2016
Use typed array in TextDecoder::Decode

<!-- Please describe your changes on the following line: -->

Use typed array API in TextDecoder::Decode

---
<!-- 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 #14674

<!-- Either: -->
- [x] These changes do not require tests because no new methods were introduced

<!-- 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/14727)
<!-- Reviewable:end -->
@bors-servo bors-servo merged commit 40fa021 into servo:master Dec 27, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@zaynetro zaynetro deleted the zaynetro:textdecoder-use-typedarray branch Jan 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

5 participants
You can’t perform that action at this time.