Skip to content

Commit

Permalink
Expose APIs everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger authored Jan 24, 2022
1 parent e5da41c commit f09648a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions encoding.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ dictionary TextDecodeOptions {
boolean stream = false;
};

[Exposed=(Window,Worker)]
[Exposed=*]
interface TextDecoder {
constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {});

Expand Down Expand Up @@ -1494,7 +1494,7 @@ dictionary TextEncoderEncodeIntoResult {
unsigned long long written;
};

[Exposed=(Window,Worker)]
[Exposed=*]
interface TextEncoder {
constructor();

Expand Down Expand Up @@ -1659,7 +1659,7 @@ function convertString(buffer, input, callback) {
<h3 id=interface-textdecoderstream>Interface {{TextDecoderStream}}</h3>

<pre class=idl>
[Exposed=(Window,Worker)]
[Exposed=*]
interface TextDecoderStream {
constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {});
};
Expand Down Expand Up @@ -1842,7 +1842,7 @@ steps:
<h3 id=interface-textencoderstream>Interface {{TextEncoderStream}}</h3>

<pre class=idl>
[Exposed=(Window,Worker)]
[Exposed=*]
interface TextEncoderStream {
constructor();
};
Expand Down

0 comments on commit f09648a

Please sign in to comment.