structured-clone.any.html
Details
- Test
/html/webappapis/structured-clone/structured-clone.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | primitive undefined |
| PASS | primitive null |
| PASS | primitive true |
| PASS | primitive false |
| PASS | primitive string, empty string |
| PASS | primitive string, lone high surrogate |
| PASS | primitive string, lone low surrogate |
| PASS | primitive string, NUL |
| PASS | primitive string, astral character |
| PASS | primitive number, 0.2 |
| PASS | primitive number, 0 |
| PASS | primitive number, -0 |
| PASS | primitive number, NaN |
| PASS | primitive number, Infinity |
| PASS | primitive number, -Infinity |
| PASS | primitive number, 9007199254740992 |
| PASS | primitive number, -9007199254740992 |
| PASS | primitive number, 9007199254740994 |
| PASS | primitive number, -9007199254740994 |
| PASS | primitive BigInt, 0n |
| PASS | primitive BigInt, -0n |
| PASS | primitive BigInt, -9007199254740994000n |
| PASS | primitive BigInt, -9007199254740994000900719925474099400090071992547409940009007199254740994000n |
| PASS | Array primitives |
| PASS | Object primitives |
| PASS | Boolean true |
| PASS | Boolean false |
| PASS | Array Boolean objects |
| PASS | Object Boolean objects |
| PASS | String empty string |
| PASS | String lone high surrogate |
| PASS | String lone low surrogate |
| PASS | String NUL |
| PASS | String astral character |
| PASS | Array String objects |
| PASS | Object String objects |
| PASS | Number 0.2 |
| PASS | Number 0 |
| PASS | Number -0 |
| PASS | Number NaN |
| PASS | Number Infinity |
| PASS | Number -Infinity |
| PASS | Number 9007199254740992 |
| PASS | Number -9007199254740992 |
| PASS | Number 9007199254740994 |
| PASS | Number -9007199254740994 |
| PASS | BigInt -9007199254740994n |
| PASS | Array Number objects |
| PASS | Object Number objects |
| PASS | Date 0 |
| PASS | Date -0 |
| PASS | Date -8.64e15 |
| PASS | Date 8.64e15 |
| PASS | Array Date objects |
| PASS | Object Date objects |
| PASS | RegExp flags and lastIndex |
| PASS | RegExp sticky flag |
| PASS | RegExp unicode flag |
| PASS | RegExp empty |
| PASS | RegExp slash |
| PASS | RegExp new line |
| PASS | Array RegExp object, RegExp flags and lastIndex |
| PASS | Array RegExp object, RegExp sticky flag |
| PASS | Array RegExp object, RegExp unicode flag |
| PASS | Array RegExp object, RegExp empty |
| PASS | Array RegExp object, RegExp slash |
| PASS | Array RegExp object, RegExp new line |
| PASS | Object RegExp object, RegExp flags and lastIndex |
| PASS | Object RegExp object, RegExp sticky flag |
| PASS | Object RegExp object, RegExp unicode flag |
| PASS | Object RegExp object, RegExp empty |
| PASS | Object RegExp object, RegExp slash |
| PASS | Object RegExp object, RegExp new line |
| FAIL | Empty Error object assert_equals: Checking message existence expected false but got true |
| FAIL | Error object assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing" |
| FAIL | EvalError object assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing" |
| FAIL | RangeError object assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing" |
| FAIL | ReferenceError object assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing" |
| FAIL | SyntaxError object assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing" |
| FAIL | TypeError object assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing" |
| FAIL | URIError object assert_equals: Checking for absence of custom property expected (undefined) undefined but got (string) "testing" |
| PASS | Blob basic |
| PASS | Blob unpaired high surrogate (invalid utf-8) |
| PASS | Blob unpaired low surrogate (invalid utf-8) |
| PASS | Blob paired surrogates (invalid utf-8) |
| PASS | Blob empty |
| PASS | Blob NUL |
| PASS | Array Blob object, Blob basic |
| PASS | Array Blob object, Blob unpaired high surrogate (invalid utf-8) |
| PASS | Array Blob object, Blob unpaired low surrogate (invalid utf-8) |
| PASS | Array Blob object, Blob paired surrogates (invalid utf-8) |
| PASS | Array Blob object, Blob empty |
| PASS | Array Blob object, Blob NUL |
| PASS | Array Blob object, two Blobs |
| PASS | Object Blob object, Blob basic |
| PASS | Object Blob object, Blob unpaired high surrogate (invalid utf-8) |
| PASS | Object Blob object, Blob unpaired low surrogate (invalid utf-8) |
| PASS | Object Blob object, Blob paired surrogates (invalid utf-8) |
| PASS | Object Blob object, Blob empty |
| PASS | Object Blob object, Blob NUL |
| FAIL | File basic promise_test: Unhandled rejection with value: object "DataCloneError: Could not serialize object of type "Hb". This type does not support serialization." |
| FAIL | FileList empty assert_true: instanceof FileList expected true got false |
| FAIL | Array FileList object, FileList empty assert_true: instanceof FileList expected true got false |
| FAIL | Object FileList object, FileList empty assert_true: instanceof FileList expected true got false |
| PASS | ImageData 1x1 transparent black |
| PASS | ImageData 1x1 non-transparent non-black |
| PASS | Array ImageData object, ImageData 1x1 transparent black |
| PASS | Array ImageData object, ImageData 1x1 non-transparent non-black |
| PASS | Object ImageData object, ImageData 1x1 transparent black |
| PASS | Object ImageData object, ImageData 1x1 non-transparent non-black |
| PASS | Array sparse |
| PASS | Array with non-index property |
| PASS | Object with index property and length |
| PASS | Array with circular reference |
| PASS | Object with circular reference |
| PASS | Array with identical property values |
| PASS | Object with identical property values |
| PASS | Object with property on prototype |
| PASS | Object with non-enumerable property |
| PASS | Object with non-writable property |
| PASS | Object with non-configurable property |
| PASS | Object with a getter that throws |
| FAIL | ImageBitmap 1x1 transparent black promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined" |
| FAIL | ImageBitmap 1x1 non-transparent non-black promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined" |
| FAIL | Array ImageBitmap object, ImageBitmap 1x1 transparent black promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined" |
| FAIL | Array ImageBitmap object, ImageBitmap 1x1 transparent non-black promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined" |
| FAIL | Object ImageBitmap object, ImageBitmap 1x1 transparent black promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined" |
| FAIL | Object ImageBitmap object, ImageBitmap 1x1 transparent non-black promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined" |
| PASS | ObjectPrototype must lose its exotic-ness when cloned |
| FAIL | Serializing a non-serializable platform object fails assert_unreached: Should have rejected: undefined Reached unreachable code |
| PASS | An object whose interface is deleted from the global must still deserialize |
| FAIL | A 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." |
| PASS | Resizable ArrayBuffer |
| FAIL | Growable SharedArrayBuffer assert_true: instanceof ArrayBuffer expected true got false |
| PASS | Length-tracking TypedArray |
| PASS | Length-tracking DataView |
| PASS | Serializing OOB TypedArray throws |
| PASS | Serializing OOB DataView throws |
| PASS | ArrayBuffer |
| FAIL | MessagePort promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable" |
| FAIL | ImageBitmap promise_test: Unhandled rejection with value: object "ReferenceError: createImageBitmap is not defined" |
| FAIL | OffscreenCanvas promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable" |
| FAIL | A detached ArrayBuffer cannot be transferred assert_unreached: Should have rejected: undefined Reached unreachable code |
| FAIL | A detached platform object cannot be transferred promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable" |
| FAIL | Transferring 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 … |
| FAIL | An 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" |
| FAIL | A subclass instance will be received as its closest transferable superclass promise_test: Unhandled rejection with value: object "TypeError: Object is not transferable" |
| PASS | Resizable ArrayBuffer is transferable |
| PASS | Length-tracking TypedArray is transferable |
| PASS | Length-tracking DataView is transferable |
| PASS | Transferring OOB TypedArray throws |
| PASS | Transferring OOB DataView throws |