mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #9979 - stspyder:master, r=jdm
Implementation of Blob Constructor with test changes Apologize for the late PR. I see that #9977 already overlaps with some of the work. If that is accepted, then I'll change my PR to reflect just the WPT changes. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9979) <!-- Reviewable:end -->
This commit is contained in:
commit
f3abfeeadd
4 changed files with 22 additions and 103 deletions
|
@ -3,22 +3,7 @@
|
|||
[Passing non-objects, Dates and RegExps for blobParts should throw a TypeError.]
|
||||
expected: FAIL
|
||||
|
||||
[A plain object should be treated as a sequence for the blobParts argument.]
|
||||
expected: FAIL
|
||||
|
||||
[A plain object with a length property should be treated as a sequence for the blobParts argument.]
|
||||
expected: FAIL
|
||||
|
||||
[A Uint8Array object should be treated as a sequence for the blobParts argument.]
|
||||
expected: FAIL
|
||||
|
||||
[The length getter should be invoked and any exceptions should be propagated.]
|
||||
expected: FAIL
|
||||
|
||||
[A platform object that supports indexed properties should be treated as a sequence for the blobParts argument (overwritten 'length'.)]
|
||||
expected: FAIL
|
||||
|
||||
[ToUint32 should be applied to the length and any exceptions should be propagated.]
|
||||
[Passing an platform object that supports indexed properties as the blobParts array should work (window).]
|
||||
expected: FAIL
|
||||
|
||||
[Getters and value conversions should happen in order until an exception is thrown.]
|
||||
|
@ -30,9 +15,6 @@
|
|||
[Changes to the blobParts array should be reflected in the returned Blob (unshift).]
|
||||
expected: FAIL
|
||||
|
||||
[ToString should be called on elements of the blobParts array.]
|
||||
expected: FAIL
|
||||
|
||||
[ArrayBuffer elements of the blobParts array should be supported.]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -42,9 +24,6 @@
|
|||
[Passing a Float64Array as element of the blobParts array should work.]
|
||||
expected: FAIL
|
||||
|
||||
[Passing an element as the blobParts array should work.]
|
||||
expected: FAIL
|
||||
|
||||
[Passing an platform object that supports indexed properties as the blobParts array should work (window with custom toString).]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -54,12 +33,6 @@
|
|||
[Passing a platform array object as the blobParts array should work (MessagePort[\]).]
|
||||
expected: FAIL
|
||||
|
||||
[Passing a platform array object as the blobParts array should work (Attr[\]).]
|
||||
expected: FAIL
|
||||
|
||||
[Array with two blobs]
|
||||
expected: FAIL
|
||||
|
||||
[Array with two buffers]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -71,10 +44,3 @@
|
|||
|
||||
[no-argument Blob constructor without 'new']
|
||||
expected: FAIL
|
||||
|
||||
[A plain object with @@iterator should be treated as a sequence for the blobParts argument.]
|
||||
expected: FAIL
|
||||
|
||||
[A plain object with @@iterator and a length property should be treated as a sequence for the blobParts argument.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,65 +1,5 @@
|
|||
[Blob-slice.html]
|
||||
type: testharness
|
||||
[Slicing test: slice (1,0).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (1,2).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (1,3).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (1,4).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (1,5).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (1,6).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (1,7).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (2,1).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (2,2).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (2,3).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (3,0).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (3,1).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (3,2).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (3,3).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (3,4).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (4,0).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (4,1).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (4,2).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (4,3).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (4,4).]
|
||||
expected: FAIL
|
||||
|
||||
[Slicing test: slice (5,0).]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -158,4 +98,3 @@
|
|||
|
||||
[Invalid contentType ("te xt/plain")]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue