html/infrastructure/safe-passing-of-structured-data/

877 / 896 WPT subtests passing

Failed
17
Timed out
2
Not run
0
Test files
29
Blocking files
0

Chrome none reported WPT subtests passing on the same files, none blocking, 29 without a result

Tests

1 directory, 8 test files here
DirectorySubtests passingChromeTest filesStanding
shared-array-buffers/85 / 88—21none blocking

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
cross-origin-transfer-resizable-arraybuffer.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. postMessaging resizable ArrayBuffer to OOPIF
messagechannel.any.js563 / 563 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.html OK 152 / 152

152 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.serviceworker.html OK 137 / 137

137 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.sharedworker.html OK 137 / 137

137 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.worker.html OK 137 / 137

137 passing subtests are not listed: this file has more than 500 subtests, so only those that did not pass are kept.

structured-cloning-error-extra.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. Throwing name getter fails serialization
  2. Errors sent across realms should preserve their type
structured-cloning-error-stack-optional.sub.window.js12 / 20 passingChrome —8 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILpage-created DOMException (structuredClone())
    assert_equals: expected (string) "some message: InvalidStateError\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:12:10\n    at Test.<anonymous> (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:41:19)\n    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)\n    at test (http://web-platform.test:8000/resources/testharness.js:633:30)\n    at stackTests (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:40:3)\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:11:1" but got (undefined) undefined
  2. FAILpage-created DOMException (worker)
    assert_equals: expected (string) "some message: InvalidStateError\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:12:10\n    at Test.<anonymous> (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:53:19)\n    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)\n    at async_test (http://web-platform.test:8000/resources/testharness.js:681:34)\n    at stackTests (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:52:3)\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:11:1" but got (undefined) undefined
  3. FAILpage-created DOMException (cross-site iframe)
    assert_equals: expected (string) "some message: InvalidStateError\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:12:10\n    at iframeTest (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:72:19)\n    at Test.<anonymous> (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:99:5)\n    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)\n    at async_test (http://web-platform.test:8000/resources/testharness.js:681:34)\n    at stackTests (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:96:3)\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:11:1" but got (undefined) undefined
  4. FAILpage-created DOMException (same-origin iframe)
    assert_equals: expected (string) "some message: InvalidStateError\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:12:10\n    at iframeTest (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:72:19)\n    at Test.<anonymous> (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:104:5)\n    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)\n    at async_test (http://web-platform.test:8000/resources/testharness.js:681:34)\n    at stackTests (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:102:3)\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:11:1" but got (undefined) undefined
  5. FAILweb API-created DOMException (structuredClone())
    assert_equals: expected (string) "InvalidCharacterError: InvalidCharacterError\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:33:14\n    at Test.<anonymous> (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:41:19)\n    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)\n    at test (http://web-platform.test:8000/resources/testharness.js:633:30)\n    at stackTests (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:40:3)\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:31:1" but got (undefined) undefined
  6. FAILweb API-created DOMException (worker)
    assert_equals: expected (string) "InvalidCharacterError: InvalidCharacterError\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:33:14\n    at Test.<anonymous> (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:53:19)\n    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)\n    at async_test (http://web-platform.test:8000/resources/testharness.js:681:34)\n    at stackTests (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:52:3)\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:31:1" but got (undefined) undefined
  7. FAILweb API-created DOMException (cross-site iframe)
    assert_equals: expected (string) "InvalidCharacterError: InvalidCharacterError\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:33:14\n    at iframeTest (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:72:19)\n    at Test.<anonymous> (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:99:5)\n    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)\n    at async_test (http://web-platform.test:8000/resources/testharness.js:681:34)\n    at stackTests (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:96:3)\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:31:1" but got (undefined) undefined
  8. FAILweb API-created DOMException (same-origin iframe)
    assert_equals: expected (string) "InvalidCharacterError: InvalidCharacterError\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:33:14\n    at iframeTest (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:72:19)\n    at Test.<anonymous> (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:104:5)\n    at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)\n    at async_test (http://web-platform.test:8000/resources/testharness.js:681:34)\n    at stackTests (http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:102:3)\n    at http://web-platform.test:8000/html/infrastructure/safe-passing-of-structured-data/structured-cloning-error-stack-optional.sub.window.js:31:1" but got (undefined) undefined
12 passing subtests
  1. page-created Error (structuredClone())
  2. page-created Error (worker)
  3. page-created Error (cross-site iframe)
  4. page-created Error (same-origin iframe)
  5. JS-engine-created TypeError (structuredClone())
  6. JS-engine-created TypeError (worker)
  7. JS-engine-created TypeError (cross-site iframe)
  8. JS-engine-created TypeError (same-origin iframe)
  9. web API-created TypeError (structuredClone())
  10. web API-created TypeError (worker)
  11. web API-created TypeError (cross-site iframe)
  12. web API-created TypeError (same-origin iframe)
structured-cloning-error-stack.window.js7 / 10 passingChrome —3 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILstructuredClone() preserves .stack on DOMException
    assert_equals: cloned stack must be a string expected "string" but got "undefined"
  2. FAILstructuredClone() preserves .stack on a thrown DOMException
    assert_equals: cloned stack must be a string expected "string" but got "undefined"
  3. FAILstructuredClone() preserves .stack via [[Stack]] internal slot, not as own property
    assert_false: cloned error must not have an own stack property expected false got true
7 passing subtests
  1. structuredClone() preserves .stack on Error
  2. structuredClone() preserves .stack on TypeError
  3. structuredClone() preserves .stack on RangeError
  4. structuredClone() preserves .stack on EvalError
  5. structuredClone() preserves .stack on ReferenceError
  6. structuredClone() preserves .stack on SyntaxError
  7. structuredClone() preserves .stack on URIError
structuredclone_0.html43 / 43 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
43 passing subtests
  1. Primitive string is cloned
  2. Primitive integer is cloned
  3. Primitive floating point is cloned
  4. Primitive floating point (negative) is cloned
  5. Primitive number (hex) is cloned
  6. Primitive number (scientific) is cloned
  7. Primitive boolean is cloned
  8. Instance of Boolean is cloned
  9. Instance of Number is cloned
  10. Instance of String is cloned
  11. Instance of Date is cloned
  12. Instance of RegExp is cloned
  13. Value 'null' is cloned
  14. Value 'undefined' is cloned
  15. Object properties are cloned
  16. Prototype chains are not walked.
  17. Property descriptors of Objects are not cloned
  18. Cycles are preserved in Objects
  19. Identity of duplicates is preserved
  20. Property order is preserved
  21. Enumerable properties of Arrays are cloned
  22. Property descriptors of Arrays are not cloned
  23. Cycles are preserved in Arrays
  24. ImageData object can be cloned
  25. ImageData expandos are not cloned
  26. Window objects cannot be cloned
  27. Document objects cannot be cloned
  28. Empty Error objects can be cloned
  29. Error objects can be cloned
  30. EvalError objects can be cloned
  31. RangeError objects can be cloned
  32. ReferenceError objects can be cloned
  33. SyntaxError objects can be cloned
  34. TypeError objects can be cloned
  35. URIError objects can be cloned
  36. URIError objects from other realms are treated as URIError
  37. Cloning a modified Error
  38. Error.message: getter is ignored when cloning
  39. Error.message: undefined property is stringified
  40. DOMException objects can be cloned
  41. DOMException objects created by the UA can be cloned
  42. QuotaExceededError objects can be cloned
  43. QuotaExceededError objects with empty quota/requested can be cloned
transfer-errors.window.js12 / 17 passingChrome —5 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILSerialize should throw before a detached ArrayBuffer is found
    assert_throws_exactly: function "() => self.postMessage({ get whatever() { throw customError } }, "*", [transferable])" threw object "DataCloneError: DataCloneError" but we expected it to throw object "Error: hi"
  2. FAILCannot transfer ArrayBuffer detached while the message was serialized
    assert_throws_dom: function "() => self.postMessage(message, "*", [transferable])" did not throw
  3. FAILSerialize should throw before a detached MessagePort is found
    assert_throws_exactly: function "() => self.postMessage({ get whatever() { throw customError } }, "*", [transferable])" threw object "DataCloneError: DataCloneError" but we expected it to throw object "Error: hi"
  4. FAILSerialize should throw before a detached ImageBitmap is found
    assert_throws_exactly: function "() => self.postMessage({ get whatever() { throw customError } }, "*", [transferable])" threw object "DataCloneError: DataCloneError" but we expected it to throw object "Error: hi"
  5. FAILSerialize should throw before a detached OffscreenCanvas is found
    assert_throws_exactly: function "() => self.postMessage({ get whatever() { throw customError } }, "*", [transferable])" threw object "DataCloneError: DataCloneError" but we expected it to throw object "Error: hi"
12 passing subtests
  1. Cannot transfer all objects
  2. Cannot transfer the same ArrayBuffer twice
  3. Serialize should make the ArrayBuffer detached, so it cannot be transferred again
  4. Cannot transfer the same MessagePort twice
  5. Serialize should make the MessagePort detached, so it cannot be transferred again
  6. Cannot transfer MessagePort detached while the message was serialized
  7. Cannot transfer the same ImageBitmap twice
  8. Serialize should make the ImageBitmap detached, so it cannot be transferred again
  9. Cannot transfer ImageBitmap detached while the message was serialized
  10. Cannot transfer the same OffscreenCanvas twice
  11. Serialize should make the OffscreenCanvas detached, so it cannot be transferred again
  12. Cannot transfer OffscreenCanvas detached while the message was serialized
window-postmessage.window.js152 / 152 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
152 passing subtests
  1. primitive undefined
  2. primitive null
  3. primitive true
  4. primitive false
  5. primitive string, empty string
  6. primitive string, lone high surrogate
  7. primitive string, lone low surrogate
  8. primitive string, NUL
  9. primitive string, astral character
  10. primitive number, 0.2
  11. primitive number, 0
  12. primitive number, -0
  13. primitive number, NaN
  14. primitive number, Infinity
  15. primitive number, -Infinity
  16. primitive number, 9007199254740992
  17. primitive number, -9007199254740992
  18. primitive number, 9007199254740994
  19. primitive number, -9007199254740994
  20. primitive BigInt, 0n
  21. primitive BigInt, -0n
  22. primitive BigInt, -9007199254740994000n
  23. primitive BigInt, -9007199254740994000900719925474099400090071992547409940009007199254740994000n
  24. Array primitives
  25. Object primitives
  26. Boolean true
  27. Boolean false
  28. Array Boolean objects
  29. Object Boolean objects
  30. String empty string
  31. String lone high surrogate
  32. String lone low surrogate
  33. String NUL
  34. String astral character
  35. Array String objects
  36. Object String objects
  37. Number 0.2
  38. Number 0
  39. Number -0
  40. Number NaN
  41. Number Infinity
  42. Number -Infinity
  43. Number 9007199254740992
  44. Number -9007199254740992
  45. Number 9007199254740994
  46. Number -9007199254740994
  47. BigInt -9007199254740994n
  48. Array Number objects
  49. Object Number objects
  50. Date 0
  51. Date -0
  52. Date -8.64e15
  53. Date 8.64e15
  54. Array Date objects
  55. Object Date objects
  56. RegExp flags and lastIndex
  57. RegExp sticky flag
  58. RegExp unicode flag
  59. RegExp empty
  60. RegExp slash
  61. RegExp new line
  62. Array RegExp object, RegExp flags and lastIndex
  63. Array RegExp object, RegExp sticky flag
  64. Array RegExp object, RegExp unicode flag
  65. Array RegExp object, RegExp empty
  66. Array RegExp object, RegExp slash
  67. Array RegExp object, RegExp new line
  68. Object RegExp object, RegExp flags and lastIndex
  69. Object RegExp object, RegExp sticky flag
  70. Object RegExp object, RegExp unicode flag
  71. Object RegExp object, RegExp empty
  72. Object RegExp object, RegExp slash
  73. Object RegExp object, RegExp new line
  74. Empty Error object
  75. Error object
  76. EvalError object
  77. RangeError object
  78. ReferenceError object
  79. SyntaxError object
  80. TypeError object
  81. URIError object
  82. Blob basic
  83. Blob unpaired high surrogate (invalid utf-8)
  84. Blob unpaired low surrogate (invalid utf-8)
  85. Blob paired surrogates (invalid utf-8)
  86. Blob empty
  87. Blob NUL
  88. Array Blob object, Blob basic
  89. Array Blob object, Blob unpaired high surrogate (invalid utf-8)
  90. Array Blob object, Blob unpaired low surrogate (invalid utf-8)
  91. Array Blob object, Blob paired surrogates (invalid utf-8)
  92. Array Blob object, Blob empty
  93. Array Blob object, Blob NUL
  94. Array Blob object, two Blobs
  95. Object Blob object, Blob basic
  96. Object Blob object, Blob unpaired high surrogate (invalid utf-8)
  97. Object Blob object, Blob unpaired low surrogate (invalid utf-8)
  98. Object Blob object, Blob paired surrogates (invalid utf-8)
  99. Object Blob object, Blob empty
  100. Object Blob object, Blob NUL
  101. File basic
  102. FileList empty
  103. Array FileList object, FileList empty
  104. Object FileList object, FileList empty
  105. ImageData 1x1 transparent black
  106. ImageData 1x1 non-transparent non-black
  107. Array ImageData object, ImageData 1x1 transparent black
  108. Array ImageData object, ImageData 1x1 non-transparent non-black
  109. Object ImageData object, ImageData 1x1 transparent black
  110. Object ImageData object, ImageData 1x1 non-transparent non-black
  111. Array sparse
  112. Array with non-index property
  113. Object with index property and length
  114. Array with circular reference
  115. Object with circular reference
  116. Array with identical property values
  117. Object with identical property values
  118. Object with property on prototype
  119. Object with non-enumerable property
  120. Object with non-writable property
  121. Object with non-configurable property
  122. Object with a getter that throws
  123. ImageBitmap 1x1 transparent black
  124. ImageBitmap 1x1 non-transparent non-black
  125. Array ImageBitmap object, ImageBitmap 1x1 transparent black
  126. Array ImageBitmap object, ImageBitmap 1x1 transparent non-black
  127. Object ImageBitmap object, ImageBitmap 1x1 transparent black
  128. Object ImageBitmap object, ImageBitmap 1x1 transparent non-black
  129. ObjectPrototype must lose its exotic-ness when cloned
  130. Serializing a non-serializable platform object fails
  131. An object whose interface is deleted from the global must still deserialize
  132. A subclass instance will deserialize as its closest serializable superclass
  133. Resizable ArrayBuffer
  134. Growable SharedArrayBuffer
  135. Length-tracking TypedArray
  136. Length-tracking DataView
  137. Serializing OOB TypedArray throws
  138. Serializing OOB DataView throws
  139. ArrayBuffer
  140. MessagePort
  141. ImageBitmap
  142. OffscreenCanvas
  143. A detached ArrayBuffer cannot be transferred
  144. A detached platform object cannot be transferred
  145. Transferring a non-transferable platform object fails
  146. An object whose interface is deleted from the global object must still be received
  147. A subclass instance will be received as its closest transferable superclass
  148. Resizable ArrayBuffer is transferable
  149. Length-tracking TypedArray is transferable
  150. Length-tracking DataView is transferable
  151. Transferring OOB TypedArray throws
  152. Transferring OOB DataView throws

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.