aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/TextDecoder.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/TextDecoder.webidl')
-rw-r--r--components/script/dom/webidls/TextDecoder.webidl6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webidls/TextDecoder.webidl b/components/script/dom/webidls/TextDecoder.webidl
index b511fec3d79..4e9c3683dd7 100644
--- a/components/script/dom/webidls/TextDecoder.webidl
+++ b/components/script/dom/webidls/TextDecoder.webidl
@@ -5,18 +5,18 @@
// https://encoding.spec.whatwg.org/#interface-textdecoder
dictionary TextDecoderOptions {
boolean fatal = false;
- // boolean ignoreBOM = false;
+ boolean ignoreBOM = false;
};
dictionary TextDecodeOptions {
- // boolean stream = false;
+ boolean stream = false;
};
[Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options), Exposed=(Window,Worker)]
interface TextDecoder {
readonly attribute DOMString encoding;
readonly attribute boolean fatal;
- // readonly attribute boolean ignoreBOM;
+ readonly attribute boolean ignoreBOM;
[Throws]
USVString decode(optional BufferSource input, optional TextDecodeOptions options);
};