Implement Blob URL's DOM interfaces

This commit is contained in:
Zhen Zhang 2016-06-11 00:26:26 +08:00
parent 5a0c98afb2
commit 4d3379392d
17 changed files with 146 additions and 97 deletions

View file

@ -1,6 +1,6 @@
[Blob-XHR-revoke.html]
type: testharness
expected: TIMEOUT
[Revoking blob URL used with XMLHttpRequest]
expected: FAIL
expected: TIMEOUT
bug: https://github.com/servo/servo/issues/10539

View file

@ -1,14 +1,8 @@
[idlharness.html]
type: testharness
[URL interface: operation createObjectURL(Blob)]
expected: FAIL
[URL interface: operation createFor(Blob)]
expected: FAIL
[URL interface: operation revokeObjectURL(DOMString)]
expected: FAIL
[FileList must be primary interface of file_input.files]
expected: FAIL

View file

@ -1,14 +1,8 @@
[idlharness.worker]
type: testharness
[URL interface: operation createObjectURL(Blob)]
expected: FAIL
[URL interface: operation createFor(Blob)]
expected: FAIL
[URL interface: operation revokeObjectURL(DOMString)]
expected: FAIL
[FileReader interface: operation readAsArrayBuffer(Blob)]
expected: FAIL

View file

@ -1,8 +1,5 @@
[url_createobjecturl_blob.html]
type: testharness
[Check if the Blob URI starts with 'blob' using createObjectURL()]
expected: FAIL
[Check if the Blob URI starts with 'blob' using createFor()]
expected: FAIL

View file

@ -1,5 +0,0 @@
[url_xmlhttprequest.html]
type: testharness
[FileAPI Test: Creating Blob URL via XMLHttpRequest]
expected: FAIL

View file

@ -2,4 +2,4 @@
type: reftest
reftype: ==
refurl: /FileAPI/url/url_xmlhttprequest_img-ref.html
expected: TIMEOUT
expected: FAIL

View file

@ -1,5 +1,6 @@
[Blob-url.html]
type: testharness
expected: TIMEOUT
[Worker supports Blob url]
expected: FAIL
expected: TIMEOUT