Re: [whatwg/encoding] Add support for `[AllowResizable]` inputs (PR #362)

@daxpedda commented on this pull request.



> @@ -1459,7 +1459,7 @@ dictionary TextDecodeOptions {
 interface TextDecoder {
   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 = {});

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/pull/362#pullrequestreview-3980047368
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/encoding/pull/362/review/3980047368@github.com>

Received on Friday, 20 March 2026 07:59:11 UTC