mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 10:35:06 +00:00

NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
9 lines
309 B
Text
9 lines
309 B
Text
[Exposed=(Window,Worker), UseDeprecatedAKString]
|
|
interface TextEncoder {
|
|
constructor();
|
|
|
|
[NewObject] Uint8Array encode(optional USVString input = "");
|
|
// TextEncoderEncodeIntoResult encodeInto(USVString source, [AllowShared] Uint8Array destination);
|
|
|
|
readonly attribute DOMString encoding;
|
|
};
|