summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/encoding/text_decoder_stream.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/encoding/text_decoder_stream.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/encoding/text_decoder_stream.idl7
1 files changed, 2 insertions, 5 deletions
diff --git a/chromium/third_party/blink/renderer/modules/encoding/text_decoder_stream.idl b/chromium/third_party/blink/renderer/modules/encoding/text_decoder_stream.idl
index 286489d726e..427c971373b 100644
--- a/chromium/third_party/blink/renderer/modules/encoding/text_decoder_stream.idl
+++ b/chromium/third_party/blink/renderer/modules/encoding/text_decoder_stream.idl
@@ -4,12 +4,9 @@
// https://encoding.spec.whatwg.org/#interface-textdecoderstream
[
- Exposed=(Window,Worker),
- Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options),
- ConstructorCallWith=ScriptState,
- RaisesException=Constructor,
- MeasureAs=TextDecoderStreamConstructor
+ Exposed=(Window,Worker)
] interface TextDecoderStream {
+ [CallWith=ScriptState, RaisesException, MeasureAs=TextDecoderStreamConstructor] constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {});
readonly attribute DOMString encoding;
readonly attribute boolean fatal;
readonly attribute boolean ignoreBOM;