Auto merge of #20370 - christianpoveda:issue_20348, r=jdm

Blobs support typed arrays now

<!-- Please describe your changes on the following line: -->
Blobs support typed arrays now, the relevant test were modified

---
<!-- 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 #20348 (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/20370)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-03-21 11:10:27 -04:00 committed by GitHub
commit de04783fd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 19 additions and 132 deletions

View file

@ -4,34 +4,10 @@
expected: FAIL
bug: https://github.com/servo/rust-mozjs/issues/269
[ArrayBuffer elements of the blobParts array should be supported.]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Passing typed arrays as elements of the blobParts array should work.]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Passing a Float64Array as element of the blobParts array should work.]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Passing a FrozenArray as the blobParts array should work (FrozenArray<MessagePort>).]
expected: FAIL
bug: https://github.com/servo/servo/issues/7457
[Array with two buffers]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Array with two bufferviews]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Array with mixed types]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[options properties should be accessed in lexicographic order.]
expected: FAIL

View file

@ -1,62 +1,2 @@
[Blob-slice.html]
type: testharness
[Slicing test: slice (5,0).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (5,1).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (5,2).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (5,3).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (6,0).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (6,1).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (6,2).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (7,0).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (7,1).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (7,2).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (7,3).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (8,0).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (8,1).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (8,2).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Slicing test: slice (8,3).]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911

View file

@ -1,20 +1,7 @@
[File-constructor.html]
type: testharness
[ArrayBuffer fileBits]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Typed array fileBits]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Various fileBits]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[HTMLDocument in fileBits]
expected: FAIL
[Invalid bits argument: "hello"]
expected: FAIL

View file

@ -1,26 +1,2 @@
[Determining-Encoding.html]
type: testharness
[Blob Determing Encoding with encoding argument]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Blob Determing Encoding with type attribute]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Blob Determing Encoding with UTF-8 BOM]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Blob Determing Encoding without anything implying charset.]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Blob Determing Encoding with UTF-16BE BOM]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911
[Blob Determing Encoding with UTF-16LE BOM]
expected: FAIL
bug: https://github.com/servo/servo/issues/10911