diff --git a/encoding.bs b/encoding.bs index 126d68e..a91e225 100644 --- a/encoding.bs +++ b/encoding.bs @@ -1337,7 +1337,7 @@ dictionary TextDecodeOptions { boolean stream = false; }; -[Exposed=(Window,Worker)] +[Exposed=*] interface TextDecoder { constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {}); @@ -1494,7 +1494,7 @@ dictionary TextEncoderEncodeIntoResult { unsigned long long written; }; -[Exposed=(Window,Worker)] +[Exposed=*] interface TextEncoder { constructor(); @@ -1659,7 +1659,7 @@ function convertString(buffer, input, callback) {
-[Exposed=(Window,Worker)] +[Exposed=*] interface TextDecoderStream { constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {}); }; @@ -1842,7 +1842,7 @@ steps:Interface {{TextEncoderStream}}
-[Exposed=(Window,Worker)] +[Exposed=*] interface TextEncoderStream { constructor(); };