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

@annevk 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 = {});

Yeah I think this would work.

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

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

Received on Monday, 13 April 2026 08:51:42 UTC