From 151166d9373b69f821701e7b9f11a9e90f1a1aa4 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Mon, 19 Aug 2024 14:26:32 +0200 Subject: [PATCH] Merge Growable SharedArrayBuffer + Resizable ArrayBuffer (#1605) --- features/growable-sharedarraybuffer.yml | 8 -------- features/resizable-arraybuffer.yml | 8 -------- features/resizable-arraybuffer.yml.dist | 19 ------------------- features/resizable-buffers.yml | 14 ++++++++++++++ ...er.yml.dist => resizable-buffers.yml.dist} | 6 +++++- 5 files changed, 19 insertions(+), 36 deletions(-) delete mode 100644 features/growable-sharedarraybuffer.yml delete mode 100644 features/resizable-arraybuffer.yml delete mode 100644 features/resizable-arraybuffer.yml.dist create mode 100644 features/resizable-buffers.yml rename features/{growable-sharedarraybuffer.yml.dist => resizable-buffers.yml.dist} (68%) diff --git a/features/growable-sharedarraybuffer.yml b/features/growable-sharedarraybuffer.yml deleted file mode 100644 index e81c6463da8..00000000000 --- a/features/growable-sharedarraybuffer.yml +++ /dev/null @@ -1,8 +0,0 @@ -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/resizable-arraybuffer.yml b/features/resizable-arraybuffer.yml deleted file mode 100644 index eb6c8ceb032..00000000000 --- a/features/resizable-arraybuffer.yml +++ /dev/null @@ -1,8 +0,0 @@ -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 deleted file mode 100644 index 4fb01a21b60..00000000000 --- a/features/resizable-arraybuffer.yml.dist +++ /dev/null @@ -1,19 +0,0 @@ -# Generated from: resizable-arraybuffer.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: low - baseline_low_date: 2024-07-09 - support: - chrome: "111" - chrome_android: "111" - edge: "111" - firefox: "128" - firefox_android: "128" - safari: "16.4" - safari_ios: "16.4" -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-buffers.yml b/features/resizable-buffers.yml new file mode 100644 index 00000000000..b8deb2da695 --- /dev/null +++ b/features/resizable-buffers.yml @@ -0,0 +1,14 @@ +name: Resizable buffers +description: The `resize()` method of an `ArrayBuffer` and the `grow()` method of a `SharedArrayBuffer`, 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 + - https://tc39.es/ecma262/multipage/structured-data.html#sec-get-sharedarraybuffer.prototype.growable +compat_features: + - javascript.builtins.ArrayBuffer.ArrayBuffer.maxByteLength_option + - javascript.builtins.ArrayBuffer.maxByteLength + - javascript.builtins.ArrayBuffer.resizable + - javascript.builtins.ArrayBuffer.resize + - 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/resizable-buffers.yml.dist similarity index 68% rename from features/growable-sharedarraybuffer.yml.dist rename to features/resizable-buffers.yml.dist index 1e69b11e0a9..d4752b478d2 100644 --- a/features/growable-sharedarraybuffer.yml.dist +++ b/features/resizable-buffers.yml.dist @@ -1,4 +1,4 @@ -# Generated from: growable-sharedarraybuffer.yml +# Generated from: resizable-buffers.yml # Do not edit this file by hand. Edit the source file instead! status: @@ -13,6 +13,10 @@ status: safari: "16.4" safari_ios: "16.4" compat_features: + - javascript.builtins.ArrayBuffer.ArrayBuffer.maxByteLength_option + - javascript.builtins.ArrayBuffer.maxByteLength + - javascript.builtins.ArrayBuffer.resizable + - javascript.builtins.ArrayBuffer.resize - javascript.builtins.SharedArrayBuffer.SharedArrayBuffer.maxByteLength_option - javascript.builtins.SharedArrayBuffer.grow - javascript.builtins.SharedArrayBuffer.growable