From 5ff6fb5c898e11ea0c1efd580d3e61b0289f6e61 Mon Sep 17 00:00:00 2001 From: daxpedda Date: Fri, 20 Mar 2026 08:56:02 +0100 Subject: [PATCH] Add support for `[AllowResizable]` inputs --- encoding.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/encoding.bs b/encoding.bs index fe69752..1a80a8c 100644 --- a/encoding.bs +++ b/encoding.bs @@ -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 = {}); }; TextDecoder includes TextDecoderCommon; @@ -1621,7 +1621,7 @@ interface TextEncoder { constructor(); [NewObject] Uint8Array encode(optional USVString input = ""); - TextEncoderEncodeIntoResult encodeInto(USVString source, [AllowShared] Uint8Array destination); + TextEncoderEncodeIntoResult encodeInto(USVString source, [AllowResizable, AllowShared] Uint8Array destination); }; TextEncoder includes TextEncoderCommon;