structured-clone.any.html

FAILExpected123 of 152 subtests pass513 ms

Details

Test
/html/webappapis/structured-clone/structured-clone.any.html
Harness
OK

Subtests

StatusSubtestMessage
PASSprimitive undefined
PASSprimitive null
PASSprimitive true
PASSprimitive false
PASSprimitive string, empty string
PASSprimitive string, lone high surrogate
PASSprimitive string, lone low surrogate
PASSprimitive string, NUL
PASSprimitive string, astral character
PASSprimitive number, 0.2
PASSprimitive number, 0
PASSprimitive number, -0
PASSprimitive number, NaN
PASSprimitive number, Infinity
PASSprimitive number, -Infinity
PASSprimitive number, 9007199254740992
PASSprimitive number, -9007199254740992
PASSprimitive number, 9007199254740994
PASSprimitive number, -9007199254740994
PASSprimitive BigInt, 0n
PASSprimitive BigInt, -0n
PASSprimitive BigInt, -9007199254740994000n
PASSprimitive BigInt, -9007199254740994000900719925474099400090071992547409940009007199254740994000n
PASSArray primitives
PASSObject primitives
PASSBoolean true
PASSBoolean false
PASSArray Boolean objects
PASSObject Boolean objects
PASSString empty string
PASSString lone high surrogate
PASSString lone low surrogate
PASSString NUL
PASSString astral character
PASSArray String objects
PASSObject String objects
PASSNumber 0.2
PASSNumber 0
PASSNumber -0
PASSNumber NaN
PASSNumber Infinity
PASSNumber -Infinity
PASSNumber 9007199254740992
PASSNumber -9007199254740992
PASSNumber 9007199254740994
PASSNumber -9007199254740994
PASSBigInt -9007199254740994n
PASSArray Number objects
PASSObject Number objects
PASSDate 0
PASSDate -0
PASSDate -8.64e15
PASSDate 8.64e15
PASSArray Date objects
PASSObject Date objects
PASSRegExp flags and lastIndex
PASSRegExp sticky flag
PASSRegExp unicode flag
PASSRegExp empty
PASSRegExp slash
PASSRegExp new line
PASSArray RegExp object, RegExp flags and lastIndex
PASSArray RegExp object, RegExp sticky flag
PASSArray RegExp object, RegExp unicode flag
PASSArray RegExp object, RegExp empty
PASSArray RegExp object, RegExp slash
PASSArray RegExp object, RegExp new line
PASSObject RegExp object, RegExp flags and lastIndex
PASSObject RegExp object, RegExp sticky flag
PASSObject RegExp object, RegExp unicode flag
PASSObject RegExp object, RegExp empty
PASSObject RegExp object, RegExp slash
PASSObject RegExp object, RegExp new line
FAILEmpty Error object
assert_equals: Checking message existence expected false but got true
assert_equals: Checking message existence expected false but got true
FAILError object
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
FAILEvalError object
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
FAILRangeError object
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
FAILReferenceError object
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
FAILSyntaxError object
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
FAILTypeError object
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
FAILURIError object
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing"
PASSBlob basic
PASSBlob unpaired high surrogate (invalid utf-8)
PASSBlob unpaired low surrogate (invalid utf-8)
PASSBlob paired surrogates (invalid utf-8)
PASSBlob empty
PASSBlob NUL
PASSArray Blob object, Blob basic
PASSArray Blob object, Blob unpaired high surrogate (invalid utf-8)
PASSArray Blob object, Blob unpaired low surrogate (invalid utf-8)
PASSArray Blob object, Blob paired surrogates (invalid utf-8)
PASSArray Blob object, Blob empty
PASSArray Blob object, Blob NUL
PASSArray Blob object, two Blobs
PASSObject Blob object, Blob basic
PASSObject Blob object, Blob unpaired high surrogate (invalid utf-8)
PASSObject Blob object, Blob unpaired low surrogate (invalid utf-8)
PASSObject Blob object, Blob paired surrogates (invalid utf-8)
PASSObject Blob object, Blob empty
PASSObject Blob object, Blob NUL
FAILFile basic
promise_test: Unhandled rejection with value: object "DataCloneError: Could not serialize object of type "Hb". This type does not support serialization."
promise_test: Unhandled rejection with value: object "DataCloneError: Could not serialize object of type "Hb". This type does not support serialization."
FAILFileList empty
assert_true: instanceof FileList expected true got false
assert_true: instanceof FileList expected true got false
FAILArray FileList object, FileList empty
assert_true: instanceof FileList expected true got false
assert_true: instanceof FileList expected true got false
FAILObject FileList object, FileList empty
assert_true: instanceof FileList expected true got false
assert_true: instanceof FileList expected true got false
PASSImageData 1x1 transparent black
PASSImageData 1x1 non-transparent non-black
PASSArray ImageData object, ImageData 1x1 transparent black
PASSArray ImageData object, ImageData 1x1 non-transparent non-black
PASSObject ImageData object, ImageData 1x1 transparent black
PASSObject ImageData object, ImageData 1x1 non-transparent non-black
PASSArray sparse
PASSArray with non-index property
PASSObject with index property and length
PASSArray with circular reference
PASSObject with circular reference
PASSArray with identical property values
PASSObject with identical property values
PASSObject with property on prototype
PASSObject with non-enumerable property
PASSObject with non-writable property
PASSObject with non-configurable property
PASSObject with a getter that throws
FAILImageBitmap 1x1 transparent black
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
FAILImageBitmap 1x1 non-transparent non-black
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
FAILArray ImageBitmap object, ImageBitmap 1x1 transparent black
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
FAILArray ImageBitmap object, ImageBitmap 1x1 transparent non-black
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
FAILObject ImageBitmap object, ImageBitmap 1x1 transparent black
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
FAILObject ImageBitmap object, ImageBitmap 1x1 transparent non-black
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
PASSObjectPrototype must lose its exotic-ness when cloned
FAILSerializing a non-serializable platform object fails
assert_unreached: Should have rejected: undefined Reached unreachable code
assert_unreached: Should have rejected: undefined Reached unreachable code
PASSAn object whose interface is deleted from the global must still deserialize
FAILA subclass instance will deserialize as its closest serializable superclass
promise_test: Unhandled rejection with value: object "DataCloneError: Could not serialize object of type "FileSubclass". This type does not support serialization."
promise_test: Unhandled rejection with value: object "DataCloneError: Could not serialize object of type "FileSubclass". This type does not support serialization."
PASSResizable ArrayBuffer
FAILGrowable SharedArrayBuffer
assert_true: instanceof ArrayBuffer expected true got false
assert_true: instanceof ArrayBuffer expected true got false
PASSLength-tracking TypedArray
PASSLength-tracking DataView
PASSSerializing OOB TypedArray throws
PASSSerializing OOB DataView throws
PASSArrayBuffer
FAILMessagePort
promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable"
promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable"
FAILImageBitmap
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined"
FAILOffscreenCanvas
promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable"
promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable"
FAILA detached ArrayBuffer cannot be transferred
assert_unreached: Should have rejected: undefined Reached unreachable code
assert_unreached: Should have rejected: undefined Reached unreachable code
FAILA detached platform object cannot be transferred
promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable"
promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable"
FAILTransferring a non-transferable platform object fails
promise_rejects_dom: function "function() { throw e; }" threw object "TypeError: Object is not transferable" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected …
promise_rejects_dom: function "function() { throw e; }" threw object "TypeError: Object is not transferable" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected …
FAILAn object whose interface is deleted from the global object must still be received
promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable"
promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable"
FAILA subclass instance will be received as its closest transferable superclass
promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable"
promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable"
PASSResizable ArrayBuffer is transferable
PASSLength-tracking TypedArray is transferable
PASSLength-tracking DataView is transferable
PASSTransferring OOB TypedArray throws
PASSTransferring OOB DataView throws