Index: modules/encoding/TextDecoder.idl |
diff --git a/modules/encoding/TextDecoder.idl b/modules/encoding/TextDecoder.idl |
index f71c7b896474def93df016c4ab0b4fce48dae88c..af0ffacaf3441c79d9593746b9ae58e811a415b1 100644 |
--- a/modules/encoding/TextDecoder.idl |
+++ b/modules/encoding/TextDecoder.idl |
@@ -30,8 +30,8 @@ |
[ |
RuntimeEnabled=EncodingAPI, |
- Exposed=Window&Worker, |
- Constructor(optional DOMString label = null, optional Dictionary options), |
+ Exposed=(Window,Worker), |
+ Constructor(optional DOMString label = "utf-8", optional Dictionary options), |
RaisesException=Constructor, |
GarbageCollected, |
MeasureAs=TextDecoderConstructor |