idlharness.any.html

FAILExpected58 of 111 subtests pass1,394 ms

Details

Test
/FileAPI/idlharness.any.html
Harness
OK

Subtests

StatusSubtestMessage
PASSidl_test setup
PASSidl_test validation
PASSPartial interface URL: original interface defined
PASSPartial interface URL: valid exposure set
PASSPartial interface URL: member names are unique
PASSBlob interface: existence and properties of interface object
PASSBlob interface object length
PASSBlob interface object name
PASSBlob interface: existence and properties of interface prototype object
PASSBlob interface: existence and properties of interface prototype object's "constructor" property
PASSBlob interface: existence and properties of interface prototype object's @@unscopables property
FAILBlob interface: attribute size
assert_equals: getter must have the name 'get size' expected "get size" but got ""
assert_equals: getter must have the name 'get size' expected "get size" but got ""
FAILBlob interface: attribute type
assert_equals: getter must have the name 'get type' expected "get type" but got ""
assert_equals: getter must have the name 'get type' expected "get type" but got ""
PASSBlob interface: operation slice(optional long long, optional long long, optional DOMString)
PASSBlob interface: operation stream()
FAILBlob 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 …
assert_unreached: Throws "TypeError: Illegal invocation: function called with incorrect `this` reference. See https://developers.cloudflare.com/workers/observability/errors/#illegal-invocation-errors …
FAILBlob 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 …
assert_unreached: Throws "TypeError: Illegal invocation: function called with incorrect `this` reference. See https://developers.cloudflare.com/workers/observability/errors/#illegal-invocation-errors …
FAILBlob interface: operation textStream()
assert_own_property: interface prototype object missing non-static operation expected property "textStream" missing
assert_own_property: interface prototype object missing non-static operation expected property "textStream" missing
FAILBlob 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 …
assert_unreached: Throws "TypeError: Illegal invocation: function called with incorrect `this` reference. See https://developers.cloudflare.com/workers/observability/errors/#illegal-invocation-errors …
PASSBlob must be primary interface of new Blob(["TEST"])
PASSStringification of new Blob(["TEST"])
PASSBlob interface: new Blob(["TEST"]) must inherit property "size" with the proper type
PASSBlob interface: new Blob(["TEST"]) must inherit property "type" with the proper type
PASSBlob interface: new Blob(["TEST"]) must inherit property "slice(optional long long, optional long long, optional DOMString)" with the proper type
PASSBlob interface: calling slice(optional long long, optional long long, optional DOMString) on new Blob(["TEST"]) with too few arguments must throw TypeError
PASSBlob interface: new Blob(["TEST"]) must inherit property "stream()" with the proper type
PASSBlob interface: new Blob(["TEST"]) must inherit property "text()" with the proper type
PASSBlob interface: new Blob(["TEST"]) must inherit property "arrayBuffer()" with the proper type
FAILBlob interface: new Blob(["TEST"]) must inherit property "textStream()" with the proper type
assert_inherits: property "textStream" not found in prototype chain
assert_inherits: property "textStream" not found in prototype chain
PASSBlob interface: new Blob(["TEST"]) must inherit property "bytes()" with the proper type
FAILFile 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)…
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)…
FAILFile interface object length
assert_equals: wrong value for File.length expected 2 but got 3
assert_equals: wrong value for File.length expected 2 but got 3
PASSFile interface object name
FAILFile 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]"
assert_equals: prototype of File.prototype is not Blob.prototype expected object "[object Blob]" but got object "[object File]"
PASSFile interface: existence and properties of interface prototype object's "constructor" property
PASSFile interface: existence and properties of interface prototype object's @@unscopables property
FAILFile interface: attribute name
assert_own_property: expected property "name" missing
assert_own_property: expected property "name" missing
FAILFile interface: attribute lastModified
assert_own_property: expected property "lastModified" missing
assert_own_property: expected property "lastModified" missing
PASSFile must be primary interface of new File(["myFileBits"], "myFileName")
PASSStringification of new File(["myFileBits"], "myFileName")
PASSFile interface: new File(["myFileBits"], "myFileName") must inherit property "name" with the proper type
PASSFile interface: new File(["myFileBits"], "myFileName") must inherit property "lastModified" with the proper type
PASSBlob interface: new File(["myFileBits"], "myFileName") must inherit property "size" with the proper type
PASSBlob interface: new File(["myFileBits"], "myFileName") must inherit property "type" with the proper type
PASSBlob interface: new File(["myFileBits"], "myFileName") must inherit property "slice(optional long long, optional long long, optional DOMString)" with the proper type
PASSBlob interface: calling slice(optional long long, optional long long, optional DOMString) on new File(["myFileBits"], "myFileName") with too few arguments must throw TypeError
PASSBlob interface: new File(["myFileBits"], "myFileName") must inherit property "stream()" with the proper type
PASSBlob interface: new File(["myFileBits"], "myFileName") must inherit property "text()" with the proper type
PASSBlob interface: new File(["myFileBits"], "myFileName") must inherit property "arrayBuffer()" with the proper type
FAILBlob interface: new File(["myFileBits"], "myFileName") must inherit property "textStream()" with the proper type
assert_inherits: property "textStream" not found in prototype chain
assert_inherits: property "textStream" not found in prototype chain
PASSBlob interface: new File(["myFileBits"], "myFileName") must inherit property "bytes()" with the proper type
PASSFileList interface: existence and properties of interface object
FAILFileList interface object length
assert_equals: wrong value for FileList.length expected 0 but got 2
assert_equals: wrong value for FileList.length expected 0 but got 2
PASSFileList interface object name
PASSFileList interface: existence and properties of interface prototype object
PASSFileList interface: existence and properties of interface prototype object's "constructor" property
PASSFileList interface: existence and properties of interface prototype object's @@unscopables property
FAILFileList interface: operation item(unsigned long)
assert_true: property should be enumerable expected true got false
assert_true: property should be enumerable expected true got false
FAILFileList interface: attribute length
assert_true: The prototype object must have a property "length" expected true got false
assert_true: The prototype object must have a property "length" expected true got false
PASSFileReader interface: existence and properties of interface object
PASSFileReader interface object length
FAILFileReader interface object name
assert_equals: wrong value for FileReader.name expected "FileReader" but got "FileReaderStub"
assert_equals: wrong value for FileReader.name expected "FileReader" but got "FileReaderStub"
PASSFileReader interface: existence and properties of interface prototype object
PASSFileReader interface: existence and properties of interface prototype object's "constructor" property
PASSFileReader interface: existence and properties of interface prototype object's @@unscopables property
FAILFileReader interface: operation readAsArrayBuffer(Blob)
assert_true: property should be enumerable expected true got false
assert_true: property should be enumerable expected true got false
FAILFileReader interface: operation readAsBinaryString(Blob)
assert_true: property should be enumerable expected true got false
assert_true: property should be enumerable expected true got false
FAILFileReader interface: operation readAsText(Blob, optional DOMString)
assert_true: property should be enumerable expected true got false
assert_true: property should be enumerable expected true got false
FAILFileReader interface: operation readAsDataURL(Blob)
assert_true: property should be enumerable expected true got false
assert_true: property should be enumerable expected true got false
FAILFileReader interface: operation abort()
assert_true: property should be enumerable expected true got false
assert_true: property should be enumerable expected true got false
FAILFileReader interface: constant EMPTY on interface object
assert_false: property should not be writable expected false got true
assert_false: property should not be writable expected false got true
FAILFileReader interface: constant EMPTY on interface prototype object
assert_false: property should not be writable expected false got true
assert_false: property should not be writable expected false got true
FAILFileReader interface: constant LOADING on interface object
assert_false: property should not be writable expected false got true
assert_false: property should not be writable expected false got true
FAILFileReader interface: constant LOADING on interface prototype object
assert_false: property should not be writable expected false got true
assert_false: property should not be writable expected false got true
FAILFileReader interface: constant DONE on interface object
assert_false: property should not be writable expected false got true
assert_false: property should not be writable expected false got true
FAILFileReader interface: constant DONE on interface prototype object
assert_false: property should not be writable expected false got true
assert_false: property should not be writable expected false got true
FAILFileReader interface: attribute readyState
assert_true: The prototype object must have a property "readyState" expected true got false
assert_true: The prototype object must have a property "readyState" expected true got false
FAILFileReader interface: attribute result
assert_true: The prototype object must have a property "result" expected true got false
assert_true: The prototype object must have a property "result" expected true got false
FAILFileReader interface: attribute error
assert_true: The prototype object must have a property "error" expected true got false
assert_true: The prototype object must have a property "error" expected true got false
FAILFileReader interface: attribute onloadstart
assert_true: The prototype object must have a property "onloadstart" expected true got false
assert_true: The prototype object must have a property "onloadstart" expected true got false
FAILFileReader interface: attribute onprogress
assert_true: The prototype object must have a property "onprogress" expected true got false
assert_true: The prototype object must have a property "onprogress" expected true got false
FAILFileReader interface: attribute onload
assert_true: The prototype object must have a property "onload" expected true got false
assert_true: The prototype object must have a property "onload" expected true got false
FAILFileReader interface: attribute onabort
assert_true: The prototype object must have a property "onabort" expected true got false
assert_true: The prototype object must have a property "onabort" expected true got false
FAILFileReader interface: attribute onerror
assert_true: The prototype object must have a property "onerror" expected true got false
assert_true: The prototype object must have a property "onerror" expected true got false
FAILFileReader interface: attribute onloadend
assert_true: The prototype object must have a property "onloadend" expected true got false
assert_true: The prototype object must have a property "onloadend" expected true got false
PASSFileReader must be primary interface of new FileReader()
FAILStringification of new FileReader()
assert_class_string: class string of new FileReader() expected "[object FileReader]" but got "[object EventTarget]"
assert_class_string: class string of new FileReader() expected "[object FileReader]" but got "[object EventTarget]"
PASSFileReader interface: new FileReader() must inherit property "readAsArrayBuffer(Blob)" with the proper type
FAILFileReader 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
assert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw
PASSFileReader interface: new FileReader() must inherit property "readAsBinaryString(Blob)" with the proper type
FAILFileReader 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
assert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw
PASSFileReader interface: new FileReader() must inherit property "readAsText(Blob, optional DOMString)" with the proper type
FAILFileReader 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
assert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw
PASSFileReader interface: new FileReader() must inherit property "readAsDataURL(Blob)" with the proper type
FAILFileReader 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
assert_throws_js: Called with 0 arguments function "function() { fn.apply(obj, args); }" did not throw
PASSFileReader interface: new FileReader() must inherit property "abort()" with the proper type
PASSFileReader interface: new FileReader() must inherit property "EMPTY" with the proper type
PASSFileReader interface: new FileReader() must inherit property "LOADING" with the proper type
PASSFileReader interface: new FileReader() must inherit property "DONE" with the proper type
FAILFileReader interface: new FileReader() must inherit property "readyState" with the proper type
assert_inherits: property "readyState" found on object expected in prototype chain
assert_inherits: property "readyState" found on object expected in prototype chain
FAILFileReader interface: new FileReader() must inherit property "result" with the proper type
assert_inherits: property "result" found on object expected in prototype chain
assert_inherits: property "result" found on object expected in prototype chain
FAILFileReader interface: new FileReader() must inherit property "error" with the proper type
assert_inherits: property "error" found on object expected in prototype chain
assert_inherits: property "error" found on object expected in prototype chain
FAILFileReader interface: new FileReader() must inherit property "onloadstart" with the proper type
assert_inherits: property "onloadstart" found on object expected in prototype chain
assert_inherits: property "onloadstart" found on object expected in prototype chain
FAILFileReader interface: new FileReader() must inherit property "onprogress" with the proper type
assert_inherits: property "onprogress" found on object expected in prototype chain
assert_inherits: property "onprogress" found on object expected in prototype chain
FAILFileReader interface: new FileReader() must inherit property "onload" with the proper type
assert_inherits: property "onload" found on object expected in prototype chain
assert_inherits: property "onload" found on object expected in prototype chain
FAILFileReader interface: new FileReader() must inherit property "onabort" with the proper type
assert_inherits: property "onabort" found on object expected in prototype chain
assert_inherits: property "onabort" found on object expected in prototype chain
FAILFileReader interface: new FileReader() must inherit property "onerror" with the proper type
assert_inherits: property "onerror" found on object expected in prototype chain
assert_inherits: property "onerror" found on object expected in prototype chain
FAILFileReader interface: new FileReader() must inherit property "onloadend" with the proper type
assert_inherits: property "onloadend" found on object expected in prototype chain
assert_inherits: property "onloadend" found on object expected in prototype chain
PASSFileReaderSync interface: existence and properties of interface object
FAILURL interface: operation createObjectURL((Blob or MediaSource))
assert_equals: property has wrong .name expected "createObjectURL" but got ""
assert_equals: property has wrong .name expected "createObjectURL" but got ""
FAILURL interface: operation revokeObjectURL(DOMString)
assert_equals: property has wrong .name expected "revokeObjectURL" but got ""
assert_equals: property has wrong .name expected "revokeObjectURL" but got ""