Skip to content

ArrayBuffer.prototype.resize: Unnecessary for immutable when ArrayBuffer is guaranteed to be resizable #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
anba opened this issue May 2, 2025 · 1 comment · May be fixed by #50

Comments

@anba
Copy link

anba commented May 2, 2025

Immutable ArrayBuffers don't have an [[ArrayBufferMaxByteLength]] internal slot, so this step isn't needed:

  1. If IsImmutableBuffer(O) is true, throw a TypeError exception.
gibson042 added a commit to gibson042/tc39-proposal-immutable-arraybuffer that referenced this issue May 2, 2025
@gibson042
Copy link
Collaborator

Thanks for the report; opened #50 to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants