| Index: modules/encoding/TextDecoder.idl
|
| diff --git a/modules/encoding/TextDecoder.idl b/modules/encoding/TextDecoder.idl
|
| index 2a1f987209370aa92bdc985ca10b0b0866d40820..f71c7b896474def93df016c4ab0b4fce48dae88c 100644
|
| --- a/modules/encoding/TextDecoder.idl
|
| +++ b/modules/encoding/TextDecoder.idl
|
| @@ -30,11 +30,14 @@
|
|
|
| [
|
| RuntimeEnabled=EncodingAPI,
|
| - GlobalContext=Window&WorkerGlobalScope,
|
| - Constructor([Default=NullString] optional DOMString label, optional Dictionary options),
|
| + Exposed=Window&Worker,
|
| + Constructor(optional DOMString label = null, optional Dictionary options),
|
| RaisesException=Constructor,
|
| - WillBeGarbageCollected
|
| + GarbageCollected,
|
| + MeasureAs=TextDecoderConstructor
|
| ] interface TextDecoder {
|
| readonly attribute DOMString encoding;
|
| - [RaisesException] DOMString decode(optional ArrayBufferView input, optional Dictionary options);
|
| + readonly attribute boolean fatal;
|
| + readonly attribute boolean ignoreBOM;
|
| + [RaisesException, MeasureAs=TextDecoderDecode] DOMString decode(optional ArrayBufferView input, optional Dictionary options);
|
| };
|
|
|