Skip to content

Add support for [AllowResizable] inputs#362

Open
daxpedda wants to merge 1 commit intowhatwg:mainfrom
daxpedda:allow-resizable
Open

Add support for [AllowResizable] inputs#362
daxpedda wants to merge 1 commit intowhatwg:mainfrom
daxpedda:allow-resizable

Conversation

@daxpedda
Copy link

@daxpedda daxpedda commented Mar 20, 2026

Add support for [AllowResizable] inputs

(See WHATWG Working Mode: Changes for more details.)

Resolves #344.

constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {});

USVString decode(optional AllowSharedBufferSource input, optional TextDecodeOptions options = {});
USVString decode(optional [AllowResizable] AllowSharedBufferSource input, optional TextDecodeOptions options = {});
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a new AllowResizableAndSharedBufferSource here?
Unlike AllowShared, AllowResizable is allowed on ArrayBuffer, so this should work?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I add text to the SharedArrayBuffer warning about resizable buffers as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add support for [AllowResizable] inputs

1 participant