Index: modules/encoding/TextDecoder.idl |
diff --git a/modules/encoding/TextDecoder.idl b/modules/encoding/TextDecoder.idl |
index af0ffacaf3441c79d9593746b9ae58e811a415b1..977a8653bc1feb5ddd018263e56d5f1557cf51df 100644 |
--- a/modules/encoding/TextDecoder.idl |
+++ b/modules/encoding/TextDecoder.idl |
@@ -31,7 +31,7 @@ |
[ |
RuntimeEnabled=EncodingAPI, |
Exposed=(Window,Worker), |
- Constructor(optional DOMString label = "utf-8", optional Dictionary options), |
+ Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options), |
RaisesException=Constructor, |
GarbageCollected, |
MeasureAs=TextDecoderConstructor |
@@ -39,5 +39,5 @@ |
readonly attribute DOMString encoding; |
readonly attribute boolean fatal; |
readonly attribute boolean ignoreBOM; |
- [RaisesException, MeasureAs=TextDecoderDecode] DOMString decode(optional ArrayBufferView input, optional Dictionary options); |
+ [RaisesException, MeasureAs=TextDecoderDecode] DOMString decode(optional ArrayBufferView input, optional TextDecodeOptions options); |
}; |