Auto merge of #20413 - christianpoveda:issue_20344, r=jdm

TextDecoder's Decode now receives a BufferSource as input

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

r? jdm

---
<!-- 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 #20344 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/20413)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-03-24 17:46:46 -04:00 committed by GitHub
commit 2f94e0d2a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 46 deletions

View file

@ -1,15 +0,0 @@
[api-basics.html]
type: testharness
bug: https://github.com/servo/servo/issues/13236
[Encode/decode round trip: utf-8]
expected: FAIL
[Decode sample: utf-16le]
expected: FAIL
[Decode sample: utf-16be]
expected: FAIL
[Decode sample: utf-16]
expected: FAIL