Index: modules/encoding/TextEncoder.idl |
diff --git a/modules/encoding/TextEncoder.idl b/modules/encoding/TextEncoder.idl |
index b3daede41d31212df4aa616f0a381d2c1af3d52a..9258c0cf437fbf0517d9ef60d1ca4f2ca610a792 100644 |
--- a/modules/encoding/TextEncoder.idl |
+++ b/modules/encoding/TextEncoder.idl |
@@ -32,7 +32,7 @@ |
RuntimeEnabled=EncodingAPI, |
GlobalContext=Window&WorkerGlobalScope, |
Constructor([Default=NullString] optional DOMString utfLabel), |
- ConstructorRaisesException |
+ RaisesException=Constructor |
] interface TextEncoder { |
readonly attribute DOMString encoding; |
Uint8Array encode([Default=NullString] optional DOMString input, optional Dictionary options); |