Index: Source/modules/encoding/TextEncoder.idl |
diff --git a/Source/modules/encoding/TextEncoder.idl b/Source/modules/encoding/TextEncoder.idl |
index 30440ebd901bbff174673df5dc7791e7ce1a1ead..1914ba0b475f81c5193bfcacff82dd51dd839695 100644 |
--- a/Source/modules/encoding/TextEncoder.idl |
+++ b/Source/modules/encoding/TextEncoder.idl |
@@ -30,7 +30,7 @@ |
[ |
RuntimeEnabled=EncodingAPI, |
- GlobalContext=Window&WorkerGlobalScope, |
+ Exposed=Window&Worker, |
Constructor([Default=NullString] optional DOMString utfLabel), |
RaisesException=Constructor, |
GarbageCollected |