Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests for removal of Blob.close() method. #4783

Merged

Conversation

mkruisselbrink
Copy link
Contributor

Following the spec change in w3c/FileAPI#68

@wpt-pr-bot
Copy link
Collaborator

Notifying @Ms2ger, @inexorabletash, @jdm, @zcorpan, and @zqzhang. (Learn how reviewing works.)

These tests will be available shortly on w3c-test.org.

@ghost
Copy link

ghost commented Feb 9, 2017

Chrome (unstable channel)

Testing web-platform-tests at revision 59d6676
Using browser at version 58.0.3004.3 dev
Starting 10 test iterations
All results were stable

All results

/FileAPI/idlharness.html
Subtest Results
OK
FileReader interface: new FileReader() must inherit property "readAsBinaryString" with the proper type (1) PASS
File interface: new File(["myFileBits"], "myFileName") must inherit property "name" with the proper type (0) PASS
FileReader interface: new FileReader() must inherit property "LOADING" with the proper type (6) PASS
FileReader interface: constant LOADING on interface object PASS
FileReader interface: attribute result PASS
Stringification of new FileReader() PASS
FileReader interface: attribute onloadstart PASS
FileReader interface: operation readAsArrayBuffer(Blob) PASS
Blob interface: existence and properties of interface prototype object FAIL
FileList must be primary interface of file_input.files PASS
FileReader interface: new FileReader() must inherit property "onloadstart" with the proper type (11) PASS
FileReader interface: attribute error PASS
Blob interface: calling slice(long long,long long,DOMString) on new Blob(["TEST"]) with too few arguments must throw TypeError PASS
File interface: attribute name PASS
FileReader interface: operation readAsText(Blob,DOMString) PASS
FileReader interface: calling readAsBinaryString(Blob) on new FileReader() with too few arguments must throw TypeError PASS
FileReader interface: existence and properties of interface prototype object's "constructor" property PASS
FileReader interface: operation abort() PASS
File interface: new File(["myFileBits"], "myFileName") must inherit property "lastModified" with the proper type (1) PASS
FileReader interface: attribute onload PASS
FileReader interface: attribute readyState PASS
FileReaderSync interface: existence and properties of interface object PASS
FileReader interface: new FileReader() must inherit property "onload" with the proper type (13) PASS
File must be primary interface of new File(["myFileBits"], "myFileName") PASS
FileReader interface: new FileReader() must inherit property "error" with the proper type (10) PASS
Blob interface: new Blob(["TEST"]) must inherit property "type" with the proper type (1) PASS
File interface: existence and properties of interface object PASS
FileList interface: file_input.files must inherit property "length" with the proper type (1) PASS
FileReader interface object name PASS
Blob interface: new Blob(["TEST"]) must inherit property "slice" with the proper type (2) PASS
FileList interface: file_input.files must inherit property "item" with the proper type (0) PASS
URL interface: operation revokeObjectURL(DOMString) PASS
Blob interface: operation slice(long long,long long,DOMString) PASS
File interface: existence and properties of interface prototype object FAIL
FileReader interface: constant EMPTY on interface prototype object PASS
Blob interface object length PASS
FileReader interface: attribute onabort PASS
FileReader interface: calling readAsArrayBuffer(Blob) on new FileReader() with too few arguments must throw TypeError PASS
FileReader interface: new FileReader() must inherit property "DONE" with the proper type (7) PASS
FileReader interface: operation readAsBinaryString(Blob) PASS
FileReader interface: attribute onerror PASS
FileReader interface: new FileReader() must inherit property "onloadend" with the proper type (16) PASS
URL interface: operation createObjectURL(Blob) PASS
FileReader interface: new FileReader() must inherit property "EMPTY" with the proper type (5) PASS
FileReader interface: operation readAsDataURL(Blob) PASS
FileReader interface: new FileReader() must inherit property "readAsText" with the proper type (2) PASS
FileReader interface: new FileReader() must inherit property "abort" with the proper type (4) PASS
FileList interface: existence and properties of interface prototype object's "constructor" property PASS
Stringification of file_input.files PASS
File interface: existence and properties of interface prototype object's "constructor" property PASS
FileReader interface: new FileReader() must inherit property "result" with the proper type (9) PASS
Blob interface: new File(["myFileBits"], "myFileName") must inherit property "size" with the proper type (0) PASS
File interface object length PASS
FileReader interface: attribute onprogress PASS
FileList interface: operation item(unsigned long) PASS
File interface: attribute lastModified PASS
FileReader interface: constant DONE on interface object PASS
FileReader interface: new FileReader() must inherit property "onabort" with the proper type (14) PASS
FileReader interface: new FileReader() must inherit property "readyState" with the proper type (8) PASS
FileReader interface: constant EMPTY on interface object PASS
Blob interface: calling slice(long long,long long,DOMString) on new File(["myFileBits"], "myFileName") with too few arguments must throw TypeError PASS
FileList interface object name PASS
FileReader must be primary interface of new FileReader() PASS
FileReader interface: constant LOADING on interface prototype object PASS
FileReader interface: existence and properties of interface object PASS
Stringification of new File(["myFileBits"], "myFileName") PASS
FileReader interface: constant DONE on interface prototype object PASS
FileReader interface: calling readAsText(Blob,DOMString) on new FileReader() with too few arguments must throw TypeError PASS
Stringification of new Blob(["TEST"]) PASS
FileReader interface: new FileReader() must inherit property "onerror" with the proper type (15) PASS
Blob interface object name PASS
FileReader interface: existence and properties of interface prototype object FAIL
FileReader interface: new FileReader() must inherit property "readAsArrayBuffer" with the proper type (0) PASS
Blob interface: attribute size PASS
FileReader interface: new FileReader() must inherit property "readAsDataURL" with the proper type (3) PASS
File interface object name PASS
FileReader interface: new FileReader() must inherit property "onprogress" with the proper type (12) PASS
FileReader interface: calling readAsDataURL(Blob) on new FileReader() with too few arguments must throw TypeError PASS
FileList interface: attribute length PASS
Blob interface: existence and properties of interface prototype object's "constructor" property PASS
Blob interface: existence and properties of interface object PASS
Blob interface: attribute type PASS
FileList interface: existence and properties of interface prototype object FAIL
Blob interface: new File(["myFileBits"], "myFileName") must inherit property "slice" with the proper type (2) PASS
FileReader interface object length PASS
Blob interface: new Blob(["TEST"]) must inherit property "size" with the proper type (0) PASS
FileList interface: calling item(unsigned long) on file_input.files with too few arguments must throw TypeError PASS
Blob interface: new File(["myFileBits"], "myFileName") must inherit property "type" with the proper type (1) PASS
Blob must be primary interface of new Blob(["TEST"]) PASS
FileList interface: existence and properties of interface object PASS
FileList interface object length PASS
FileReader interface: attribute onloadend PASS
/FileAPI/historical.html
Subtest Results
OK
"toNativeLineEndings" should not be supported PASS
createFor method should not be supported PASS
"FileException" should not be supported PASS
Blob.close() should not be supported PASS
BlobBuilder should not be supported. PASS
"FileError" should not be supported PASS
Blob should not support slice prefixed PASS

@ghost
Copy link

ghost commented Feb 9, 2017

Firefox (nightly channel)

Testing web-platform-tests at revision 59d6676
Using browser at version BuildID 20170123125947; SourceStamp 36486fdc3813ef7943ae5b07b4128866d1938a6c
Starting 10 test iterations
All results were stable

All results

/FileAPI/idlharness.html
Subtest Results
OK
FileReader interface: new FileReader() must inherit property "readAsBinaryString" with the proper type (1) PASS
File interface: new File(["myFileBits"], "myFileName") must inherit property "name" with the proper type (0) PASS
FileReader interface: new FileReader() must inherit property "LOADING" with the proper type (6) PASS
FileReader interface: constant LOADING on interface object PASS
FileReader interface: attribute result PASS
Stringification of new FileReader() PASS
FileReader interface: attribute onloadstart PASS
FileReader interface: operation readAsArrayBuffer(Blob) PASS
Blob interface: existence and properties of interface prototype object PASS
FileList must be primary interface of file_input.files PASS
FileReader interface: new FileReader() must inherit property "onloadstart" with the proper type (11) PASS
FileReader interface: attribute error PASS
Blob interface: calling slice(long long,long long,DOMString) on new Blob(["TEST"]) with too few arguments must throw TypeError PASS
File interface: attribute name PASS
FileReader interface: operation readAsText(Blob,DOMString) PASS
FileReader interface: calling readAsBinaryString(Blob) on new FileReader() with too few arguments must throw TypeError PASS
FileReader interface: existence and properties of interface prototype object's "constructor" property PASS
FileReader interface: operation abort() PASS
File interface: new File(["myFileBits"], "myFileName") must inherit property "lastModified" with the proper type (1) PASS
FileReader interface: attribute onload PASS
FileReader interface: attribute readyState PASS
FileReaderSync interface: existence and properties of interface object PASS
FileReader interface: new FileReader() must inherit property "onload" with the proper type (13) PASS
File must be primary interface of new File(["myFileBits"], "myFileName") PASS
FileReader interface: new FileReader() must inherit property "error" with the proper type (10) PASS
Blob interface: new Blob(["TEST"]) must inherit property "type" with the proper type (1) PASS
File interface: existence and properties of interface object PASS
FileList interface: file_input.files must inherit property "length" with the proper type (1) PASS
FileReader interface object name PASS
Blob interface: new Blob(["TEST"]) must inherit property "slice" with the proper type (2) PASS
FileList interface: file_input.files must inherit property "item" with the proper type (0) PASS
URL interface: operation revokeObjectURL(DOMString) PASS
Blob interface: operation slice(long long,long long,DOMString) PASS
File interface: existence and properties of interface prototype object PASS
FileReader interface: constant EMPTY on interface prototype object PASS
Blob interface object length PASS
FileReader interface: attribute onabort PASS
FileReader interface: calling readAsArrayBuffer(Blob) on new FileReader() with too few arguments must throw TypeError PASS
FileReader interface: new FileReader() must inherit property "DONE" with the proper type (7) PASS
FileReader interface: operation readAsBinaryString(Blob) PASS
FileReader interface: attribute onerror PASS
FileReader interface: new FileReader() must inherit property "onloadend" with the proper type (16) PASS
URL interface: operation createObjectURL(Blob) PASS
FileReader interface: new FileReader() must inherit property "EMPTY" with the proper type (5) PASS
FileReader interface: operation readAsDataURL(Blob) PASS
FileReader interface: new FileReader() must inherit property "readAsText" with the proper type (2) PASS
FileReader interface: new FileReader() must inherit property "abort" with the proper type (4) PASS
FileList interface: existence and properties of interface prototype object's "constructor" property PASS
Stringification of file_input.files PASS
File interface: existence and properties of interface prototype object's "constructor" property PASS
FileReader interface: new FileReader() must inherit property "result" with the proper type (9) PASS
Blob interface: new File(["myFileBits"], "myFileName") must inherit property "size" with the proper type (0) PASS
File interface object length PASS
FileReader interface: attribute onprogress PASS
FileList interface: operation item(unsigned long) PASS
File interface: attribute lastModified PASS
FileReader interface: constant DONE on interface object PASS
FileReader interface: new FileReader() must inherit property "onabort" with the proper type (14) PASS
FileReader interface: new FileReader() must inherit property "readyState" with the proper type (8) PASS
FileReader interface: constant EMPTY on interface object PASS
Blob interface: calling slice(long long,long long,DOMString) on new File(["myFileBits"], "myFileName") with too few arguments must throw TypeError PASS
FileList interface object name PASS
FileReader must be primary interface of new FileReader() PASS
FileReader interface: constant LOADING on interface prototype object PASS
FileReader interface: existence and properties of interface object PASS
Stringification of new File(["myFileBits"], "myFileName") PASS
FileReader interface: constant DONE on interface prototype object PASS
FileReader interface: calling readAsText(Blob,DOMString) on new FileReader() with too few arguments must throw TypeError PASS
Stringification of new Blob(["TEST"]) PASS
FileReader interface: new FileReader() must inherit property "onerror" with the proper type (15) PASS
Blob interface object name PASS
FileReader interface: existence and properties of interface prototype object PASS
FileReader interface: new FileReader() must inherit property "readAsArrayBuffer" with the proper type (0) PASS
Blob interface: attribute size PASS
FileReader interface: new FileReader() must inherit property "readAsDataURL" with the proper type (3) PASS
File interface object name PASS
FileReader interface: new FileReader() must inherit property "onprogress" with the proper type (12) PASS
FileReader interface: calling readAsDataURL(Blob) on new FileReader() with too few arguments must throw TypeError PASS
FileList interface: attribute length PASS
Blob interface: existence and properties of interface prototype object's "constructor" property PASS
Blob interface: existence and properties of interface object PASS
Blob interface: attribute type PASS
FileList interface: existence and properties of interface prototype object PASS
Blob interface: new File(["myFileBits"], "myFileName") must inherit property "slice" with the proper type (2) PASS
FileReader interface object length PASS
Blob interface: new Blob(["TEST"]) must inherit property "size" with the proper type (0) PASS
FileList interface: calling item(unsigned long) on file_input.files with too few arguments must throw TypeError PASS
Blob interface: new File(["myFileBits"], "myFileName") must inherit property "type" with the proper type (1) PASS
Blob must be primary interface of new Blob(["TEST"]) PASS
FileList interface: existence and properties of interface object PASS
FileList interface object length PASS
FileReader interface: attribute onloadend PASS
/FileAPI/historical.html
Subtest Results
OK
"toNativeLineEndings" should not be supported PASS
createFor method should not be supported PASS
"FileException" should not be supported PASS
Blob.close() should not be supported PASS
BlobBuilder should not be supported. PASS
"FileError" should not be supported PASS
Blob should not support slice prefixed PASS

@mkruisselbrink mkruisselbrink merged commit 05c8a23 into web-platform-tests:master Feb 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants