-
Notifications
You must be signed in to change notification settings - Fork 92
Add support for [AllowResizable] inputs
#362
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 = {}); | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need a new
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I think this would work. |
||
| }; | ||
| TextDecoder includes TextDecoderCommon; | ||
| </pre> | ||
|
|
@@ -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; | ||
| </pre> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.