Skip to content

Commit

Permalink
Add growable and resizable buffers (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 committed Jun 25, 2024
1 parent 388b984 commit 7b1e0d1
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
8 changes: 8 additions & 0 deletions features/growable-sharedarraybuffer.yml
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions features/growable-sharedarraybuffer.yml.dist
Original file line number Diff line number Diff line change
@@ -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"
8 changes: 8 additions & 0 deletions features/resizable-arraybuffer.yml
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions features/resizable-arraybuffer.yml.dist
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 7b1e0d1

Please # to comment.