2023-09-06 01:06:53 -03:00
|
|
|
[Exposed=(Window,Worker)]
|
2022-02-15 07:46:21 -03:00
|
|
|
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;
|
|
|
|
|
};
|