summaryrefslogtreecommitdiff
path: root/ext/web/02_structured_clone.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/02_structured_clone.js')
-rw-r--r--ext/web/02_structured_clone.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/web/02_structured_clone.js b/ext/web/02_structured_clone.js
index 84829c313..776a8ee96 100644
--- a/ext/web/02_structured_clone.js
+++ b/ext/web/02_structured_clone.js
@@ -36,7 +36,6 @@ const {
Uint16Array,
Uint32Array,
BigUint64Array,
- Float16Array,
Float32Array,
Float64Array,
} = primordials;
@@ -59,7 +58,7 @@ function cloneArrayBuffer(
);
}
-// TODO(petamoriken): Resizable ArrayBuffer support in the future
+// TODO(petamoriken): add Resizable ArrayBuffer support
/** Clone a value in a similar way to structured cloning. It is similar to a
* StructureDeserialize(StructuredSerialize(...)). */
function structuredClone(value) {
@@ -117,6 +116,7 @@ function structuredClone(value) {
Constructor = BigUint64Array;
break;
case "Float16Array":
+ // TODO(petamoriken): add Float16Array to primordials
Constructor = Float16Array;
break;
case "Float32Array":