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.
13 lines
470 B
Text
13 lines
470 B
Text
[Exposed=(Window,Worker), UseDeprecatedAKString]
|
|
interface TextDecoder {
|
|
// FIXME: 'optional TextDecoderOptions options = {}'
|
|
constructor(optional DOMString label = "utf-8");
|
|
|
|
// FIXME: [AllowShared] on the first parameter.
|
|
// FIXME: 'optional TextDecodeOptions options = {}'
|
|
USVString decode(optional BufferSource input);
|
|
|
|
readonly attribute DOMString encoding;
|
|
readonly attribute boolean fatal;
|
|
readonly attribute boolean ignoreBOM;
|
|
};
|