From 7b1e0d1ca9308dc53c12e53facbff93455315a44 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Tue, 25 Jun 2024 18:12:40 +0200 Subject: [PATCH] Add growable and resizable buffers (#1242) --- features/growable-sharedarraybuffer.yml | 8 ++++++++ features/growable-sharedarraybuffer.yml.dist | 11 +++++++++++ features/resizable-arraybuffer.yml | 8 ++++++++ features/resizable-arraybuffer.yml.dist | 11 +++++++++++ 4 files changed, 38 insertions(+) create mode 100644 features/growable-sharedarraybuffer.yml create mode 100644 features/growable-sharedarraybuffer.yml.dist create mode 100644 features/resizable-arraybuffer.yml create mode 100644 features/resizable-arraybuffer.yml.dist diff --git a/features/growable-sharedarraybuffer.yml b/features/growable-sharedarraybuffer.yml new file mode 100644 index 00000000000..e81c6463da8 --- /dev/null +++ b/features/growable-sharedarraybuffer.yml @@ -0,0 +1,8 @@ +name: Growable SharedArrayBuffer +description: The `grow()` method of a `SharedArrayBuffer`, constructed with the `maxByteLength` option, increases the size of the buffer in place. +spec: https://tc39.es/ecma262/multipage/structured-data.html#sec-get-sharedarraybuffer.prototype.growable +compat_features: + - javascript.builtins.SharedArrayBuffer.SharedArrayBuffer.maxByteLength_option + - javascript.builtins.SharedArrayBuffer.grow + - javascript.builtins.SharedArrayBuffer.growable + - javascript.builtins.SharedArrayBuffer.maxByteLength diff --git a/features/growable-sharedarraybuffer.yml.dist b/features/growable-sharedarraybuffer.yml.dist new file mode 100644 index 00000000000..bb2f9092cc0 --- /dev/null +++ b/features/growable-sharedarraybuffer.yml.dist @@ -0,0 +1,11 @@ +# Generated from: growable-sharedarraybuffer.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "111" + chrome_android: "111" + edge: "111" + safari: "16.4" + safari_ios: "16.4" diff --git a/features/resizable-arraybuffer.yml b/features/resizable-arraybuffer.yml new file mode 100644 index 00000000000..eb6c8ceb032 --- /dev/null +++ b/features/resizable-arraybuffer.yml @@ -0,0 +1,8 @@ +name: Resizable ArrayBuffer +description: The `resize()` method of an `ArrayBuffer`, constructed with the `maxByteLength` option, changes the size of the buffer in place. +spec: https://tc39.es/ecma262/multipage/structured-data.html#sec-get-arraybuffer.prototype.resizable +compat_features: + - javascript.builtins.ArrayBuffer.ArrayBuffer.maxByteLength_option + - javascript.builtins.ArrayBuffer.maxByteLength + - javascript.builtins.ArrayBuffer.resizable + - javascript.builtins.ArrayBuffer.resize diff --git a/features/resizable-arraybuffer.yml.dist b/features/resizable-arraybuffer.yml.dist new file mode 100644 index 00000000000..d52133dcda0 --- /dev/null +++ b/features/resizable-arraybuffer.yml.dist @@ -0,0 +1,11 @@ +# Generated from: resizable-arraybuffer.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "111" + chrome_android: "111" + edge: "111" + safari: "16.4" + safari_ios: "16.4"