Skip to content

Commit

Permalink
Merge Growable SharedArrayBuffer + Resizable ArrayBuffer (#1605)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 authored Aug 19, 2024
1 parent 2d06cd0 commit 151166d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 36 deletions.
8 changes: 0 additions & 8 deletions features/growable-sharedarraybuffer.yml

This file was deleted.

8 changes: 0 additions & 8 deletions features/resizable-arraybuffer.yml

This file was deleted.

19 changes: 0 additions & 19 deletions features/resizable-arraybuffer.yml.dist

This file was deleted.

14 changes: 14 additions & 0 deletions features/resizable-buffers.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 151166d

Please # to comment.