Implement Blob methods (text/arraybuffer) and async file read method

This commit is contained in:
Kunal Mohan 2020-01-12 23:27:59 +05:30
parent 1b7223a284
commit 9859410193
No known key found for this signature in database
GPG key ID: 2B475A4524237BAC
8 changed files with 188 additions and 115 deletions

View file

@ -1,33 +0,0 @@
[Blob-array-buffer.any.html]
[Blob.arrayBuffer() non-unicode input]
expected: FAIL
[Blob.arrayBuffer()]
expected: FAIL
[Blob.arrayBuffer() non-ascii input]
expected: FAIL
[Blob.arrayBuffer() empty Blob data]
expected: FAIL
[Blob.arrayBuffer() concurrent reads]
expected: FAIL
[Blob-array-buffer.any.worker.html]
[Blob.arrayBuffer() non-unicode input]
expected: FAIL
[Blob.arrayBuffer()]
expected: FAIL
[Blob.arrayBuffer() non-ascii input]
expected: FAIL
[Blob.arrayBuffer() empty Blob data]
expected: FAIL
[Blob.arrayBuffer() concurrent reads]
expected: FAIL

View file

@ -1,51 +0,0 @@
[Blob-text.any.html]
[Blob.text() different charset param in type option]
expected: FAIL
[Blob.text() different charset param with non-ascii input]
expected: FAIL
[Blob.text() multi-element array in constructor]
expected: FAIL
[Blob.text() invalid utf-8 input]
expected: FAIL
[Blob.text() non-unicode]
expected: FAIL
[Blob.text()]
expected: FAIL
[Blob.text() empty blob data]
expected: FAIL
[Blob.text() concurrent reads]
expected: FAIL
[Blob-text.any.worker.html]
[Blob.text() different charset param in type option]
expected: FAIL
[Blob.text() different charset param with non-ascii input]
expected: FAIL
[Blob.text() multi-element array in constructor]
expected: FAIL
[Blob.text() invalid utf-8 input]
expected: FAIL
[Blob.text() non-unicode]
expected: FAIL
[Blob.text()]
expected: FAIL
[Blob.text() empty blob data]
expected: FAIL
[Blob.text() concurrent reads]
expected: FAIL

View file

@ -18,21 +18,12 @@
[File API automated IDL tests]
expected: FAIL
[Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "text()" with the proper type]
expected: FAIL
[Blob interface: operation stream()]
expected: FAIL
[Blob interface: new Blob(["TEST"\]) must inherit property "arrayBuffer()" with the proper type]
expected: FAIL
[Blob interface: operation text()]
expected: FAIL
[Blob interface: new Blob(["TEST"\]) must inherit property "text()" with the proper type]
expected: FAIL
[Blob interface: new Blob(["TEST"\]) must inherit property "stream()" with the proper type]
expected: FAIL
@ -42,6 +33,3 @@
[Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "stream()" with the proper type]
expected: FAIL
[Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "arrayBuffer()" with the proper type]
expected: FAIL

View file

@ -30,21 +30,12 @@
[idlharness]
expected: FAIL
[Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "text()" with the proper type]
expected: FAIL
[Blob interface: operation stream()]
expected: FAIL
[Blob interface: new Blob(["TEST"\]) must inherit property "arrayBuffer()" with the proper type]
expected: FAIL
[Blob interface: operation text()]
expected: FAIL
[Blob interface: new Blob(["TEST"\]) must inherit property "text()" with the proper type]
expected: FAIL
[Blob interface: new Blob(["TEST"\]) must inherit property "stream()" with the proper type]
expected: FAIL
@ -54,6 +45,3 @@
[Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "stream()" with the proper type]
expected: FAIL
[Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "arrayBuffer()" with the proper type]
expected: FAIL