idlharness.any.html
Details
- Test
/FileAPI/idlharness.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | idl_test setup |
| PASS | idl_test validation |
| PASS | Partial interface URL: original interface defined |
| PASS | Partial interface URL: valid exposure set |
| PASS | Partial interface URL: member names are unique |
| PASS | Blob interface: existence and properties of interface object |
| PASS | Blob interface object length |
| PASS | Blob interface object name |
| PASS | Blob interface: existence and properties of interface prototype object |
| PASS | Blob interface: existence and properties of interface prototype object's "constructor" property |
| PASS | Blob interface: existence and properties of interface prototype object's @@unscopables property |
| FAIL | Blob interface: attribute size assert_equals: getter must have the name 'get size' expected "get size" but got "" |
| FAIL | Blob interface: attribute type assert_equals: getter must have the name 'get type' expected "get type" but got "" |
| PASS | Blob interface: operation slice(optional long long, optional long long, optional DOMString) |
| PASS | Blob interface: operation stream() |
| FAIL | Blob interface: operation text() assert_unreached: Throws "TypeError: Illegal invocation: function called with incorrect `this` reference. See https://developers.cloudflare.com/workers/observability/errors/#illegal-invocation-errors … |
| FAIL | Blob interface: operation arrayBuffer() assert_unreached: Throws "TypeError: Illegal invocation: function called with incorrect `this` reference. See https://developers.cloudflare.com/workers/observability/errors/#illegal-invocation-errors … |
| FAIL | Blob interface: operation textStream() assert_own_property: interface prototype object missing non-static operation expected property "textStream" missing |
| FAIL | Blob interface: operation bytes() assert_unreached: Throws "TypeError: Illegal invocation: function called with incorrect `this` reference. See https://developers.cloudflare.com/workers/observability/errors/#illegal-invocation-errors … |
| PASS | Blob must be primary interface of new Blob(["TEST"]) |
| PASS | Stringification of new Blob(["TEST"]) |
| PASS | Blob interface: new Blob(["TEST"]) must inherit property "size" with the proper type |
| PASS | Blob interface: new Blob(["TEST"]) must inherit property "type" with the proper type |
| PASS | Blob interface: new Blob(["TEST"]) must inherit property "slice(optional long long, optional long long, optional DOMString)" with the proper type |
| PASS | Blob interface: calling slice(optional long long, optional long long, optional DOMString) on new Blob(["TEST"]) with too few arguments must throw TypeError |
| PASS | Blob interface: new Blob(["TEST"]) must inherit property "stream()" with the proper type |
| PASS | Blob interface: new Blob(["TEST"]) must inherit property "text()" with the proper type |
| PASS | Blob interface: new Blob(["TEST"]) must inherit property "arrayBuffer()" with the proper type |
| FAIL | Blob interface: new Blob(["TEST"]) must inherit property "textStream()" with the proper type assert_inherits: property "textStream" not found in prototype chain |
| PASS | Blob interface: new Blob(["TEST"]) must inherit property "bytes()" with the proper type |
| FAIL | File interface: existence and properties of interface object assert_equals: prototype of File is not Blob expected function "function Di(t,e){if(!new.target)throw new TypeError("Constructor Blob requires 'new'");return Reflect.construct(hu,[tf(t),e],new.target)… |
| FAIL | File interface object length assert_equals: wrong value for File.length expected 2 but got 3 |
| PASS | File interface object name |
| FAIL | File interface: existence and properties of interface prototype object assert_equals: prototype of File.prototype is not Blob.prototype expected object "[object Blob]" but got object "[object File]" |
| PASS | File interface: existence and properties of interface prototype object's "constructor" property |
| PASS | File interface: existence and properties of interface prototype object's @@unscopables property |
| FAIL | File interface: attribute name assert_own_property: expected property "name" missing |
| FAIL | File interface: attribute lastModified assert_own_property: expected property "lastModified" missing |
| PASS | File must be primary interface of new File(["myFileBits"], "myFileName") |
| PASS | Stringification of new File(["myFileBits"], "myFileName") |
| PASS | File interface: new File(["myFileBits"], "myFileName") must inherit property "name" with the proper type |
| PASS | File interface: new File(["myFileBits"], "myFileName") must inherit property "lastModified" with the proper type |
| PASS | Blob interface: new File(["myFileBits"], "myFileName") must inherit property "size" with the proper type |
| PASS | Blob interface: new File(["myFileBits"], "myFileName") must inherit property "type" with the proper type |
| PASS | Blob interface: new File(["myFileBits"], "myFileName") must inherit property "slice(optional long long, optional long long, optional DOMString)" with the proper type |
| PASS | Blob interface: calling slice(optional long long, optional long long, optional DOMString) on new File(["myFileBits"], "myFileName") with too few arguments must throw TypeError |
| PASS | Blob interface: new File(["myFileBits"], "myFileName") must inherit property "stream()" with the proper type |
| PASS | Blob interface: new File(["myFileBits"], "myFileName") must inherit property "text()" with the proper type |
| PASS | Blob interface: new File(["myFileBits"], "myFileName") must inherit property "arrayBuffer()" with the proper type |
| FAIL | Blob interface: new File(["myFileBits"], "myFileName") must inherit property "textStream()" with the proper type assert_inherits: property "textStream" not found in prototype chain |
| PASS | Blob interface: new File(["myFileBits"], "myFileName") must inherit property "bytes()" with the proper type |
| PASS | FileList interface: existence and properties of interface object |
| FAIL | FileList interface object length assert_equals: wrong value for FileList.length expected 0 but got 2 |
| PASS | FileList interface object name |
| PASS | FileList interface: existence and properties of interface prototype object |
| PASS | FileList interface: existence and properties of interface prototype object's "constructor" property |
| PASS | FileList interface: existence and properties of interface prototype object's @@unscopables property |
| FAIL | FileList interface: operation item(unsigned long) assert_true: property should be enumerable expected true got false |
| FAIL | FileList interface: attribute length assert_true: The prototype object must have a property "length" expected true got false |
| PASS | FileReader interface: existence and properties of interface object |
| PASS | FileReader interface object length |
| FAIL | FileReader interface object name assert_equals: wrong value for FileReader.name expected "FileReader" but got "FileReaderStub" |
| PASS | FileReader interface: existence and properties of interface prototype object |
| PASS | FileReader interface: existence and properties of interface prototype object's "constructor" property |
| PASS | FileReader interface: existence and properties of interface prototype object's @@unscopables property |
| FAIL | FileReader interface: operation readAsArrayBuffer(Blob) assert_true: property should be enumerable expected true got false |
| FAIL | FileReader interface: operation readAsBinaryString(Blob) assert_true: property should be enumerable expected true got false |
| FAIL | FileReader interface: operation readAsText(Blob, optional DOMString) assert_true: property should be enumerable expected true got false |
| FAIL | FileReader interface: operation readAsDataURL(Blob) assert_true: property should be enumerable expected true got false |
| FAIL | FileReader interface: operation abort() assert_true: property should be enumerable expected true got false |
| FAIL | FileReader interface: constant EMPTY on interface object assert_false: property should not be writable expected false got true |
| FAIL | FileReader interface: constant EMPTY on interface prototype object assert_false: property should not be writable expected false got true |
| FAIL | FileReader interface: constant LOADING on interface object assert_false: property should not be writable expected false got true |
| FAIL | FileReader interface: constant LOADING on interface prototype object assert_false: property should not be writable expected false got true |
| FAIL | FileReader interface: constant DONE on interface object assert_false: property should not be writable expected false got true |
| FAIL | FileReader interface: constant DONE on interface prototype object assert_false: property should not be writable expected false got true |
| FAIL | FileReader interface: attribute readyState assert_true: The prototype object must have a property "readyState" expected true got false |
| FAIL | FileReader interface: attribute result assert_true: The prototype object must have a property "result" expected true got false |
| FAIL | FileReader interface: attribute error assert_true: The prototype object must have a property "error" expected true got false |
| FAIL | FileReader interface: attribute onloadstart assert_true: The prototype object must have a property "onloadstart" expected true got false |
| FAIL | FileReader interface: attribute onprogress assert_true: The prototype object must have a property "onprogress" expected true got false |
| FAIL | FileReader interface: attribute onload assert_true: The prototype object must have a property "onload" expected true got false |
| FAIL | FileReader interface: attribute onabort assert_true: The prototype object must have a property "onabort" expected true got false |
| FAIL | FileReader interface: attribute onerror assert_true: The prototype object must have a property "onerror" expected true got false |
| FAIL | FileReader interface: attribute onloadend assert_true: The prototype object must have a property "onloadend" expected true got false |
| PASS | FileReader must be primary interface of new FileReader() |
| FAIL | Stringification of new FileReader() assert_class_string: class string of new FileReader() expected "[object FileReader]" but got "[object EventTarget]" |
| PASS | FileReader interface: new FileReader() must inherit property "readAsArrayBuffer(Blob)" with the proper type |
| FAIL | FileReader interface: calling readAsArrayBuffer(Blob) on new FileReader() with too few arguments must throw TypeError assert_throws_js: Called with 0 arguments function "function() {
fn.apply(obj, args);
}" did not throw |
| PASS | FileReader interface: new FileReader() must inherit property "readAsBinaryString(Blob)" with the proper type |
| FAIL | FileReader interface: calling readAsBinaryString(Blob) on new FileReader() with too few arguments must throw TypeError assert_throws_js: Called with 0 arguments function "function() {
fn.apply(obj, args);
}" did not throw |
| PASS | FileReader interface: new FileReader() must inherit property "readAsText(Blob, optional DOMString)" with the proper type |
| FAIL | FileReader interface: calling readAsText(Blob, optional DOMString) on new FileReader() with too few arguments must throw TypeError assert_throws_js: Called with 0 arguments function "function() {
fn.apply(obj, args);
}" did not throw |
| PASS | FileReader interface: new FileReader() must inherit property "readAsDataURL(Blob)" with the proper type |
| FAIL | FileReader interface: calling readAsDataURL(Blob) on new FileReader() with too few arguments must throw TypeError assert_throws_js: Called with 0 arguments function "function() {
fn.apply(obj, args);
}" did not throw |
| PASS | FileReader interface: new FileReader() must inherit property "abort()" with the proper type |
| PASS | FileReader interface: new FileReader() must inherit property "EMPTY" with the proper type |
| PASS | FileReader interface: new FileReader() must inherit property "LOADING" with the proper type |
| PASS | FileReader interface: new FileReader() must inherit property "DONE" with the proper type |
| FAIL | FileReader interface: new FileReader() must inherit property "readyState" with the proper type assert_inherits: property "readyState" found on object expected in prototype chain |
| FAIL | FileReader interface: new FileReader() must inherit property "result" with the proper type assert_inherits: property "result" found on object expected in prototype chain |
| FAIL | FileReader interface: new FileReader() must inherit property "error" with the proper type assert_inherits: property "error" found on object expected in prototype chain |
| FAIL | FileReader interface: new FileReader() must inherit property "onloadstart" with the proper type assert_inherits: property "onloadstart" found on object expected in prototype chain |
| FAIL | FileReader interface: new FileReader() must inherit property "onprogress" with the proper type assert_inherits: property "onprogress" found on object expected in prototype chain |
| FAIL | FileReader interface: new FileReader() must inherit property "onload" with the proper type assert_inherits: property "onload" found on object expected in prototype chain |
| FAIL | FileReader interface: new FileReader() must inherit property "onabort" with the proper type assert_inherits: property "onabort" found on object expected in prototype chain |
| FAIL | FileReader interface: new FileReader() must inherit property "onerror" with the proper type assert_inherits: property "onerror" found on object expected in prototype chain |
| FAIL | FileReader interface: new FileReader() must inherit property "onloadend" with the proper type assert_inherits: property "onloadend" found on object expected in prototype chain |
| PASS | FileReaderSync interface: existence and properties of interface object |
| FAIL | URL interface: operation createObjectURL((Blob or MediaSource)) assert_equals: property has wrong .name expected "createObjectURL" but got "" |
| FAIL | URL interface: operation revokeObjectURL(DOMString) assert_equals: property has wrong .name expected "revokeObjectURL" but got "" |