Index: modules/encoding/TextEncoder.idl |
diff --git a/core/inspector/InspectorOverlayHost.idl b/modules/encoding/TextEncoder.idl |
similarity index 82% |
copy from core/inspector/InspectorOverlayHost.idl |
copy to modules/encoding/TextEncoder.idl |
index 2f1978e4e1f4aee160ec91e972d07b57db755d79..ed63e2748d46c5be028e7edcbcbee6bbb3aecb75 100644 |
--- a/core/inspector/InspectorOverlayHost.idl |
+++ b/modules/encoding/TextEncoder.idl |
@@ -29,8 +29,11 @@ |
*/ |
[ |
- NoInterfaceObject |
-] interface InspectorOverlayHost { |
- void resume(); |
- void stepOver(); |
+ EnabledAtRuntime=EncodingAPI, |
+ GlobalContext=Window&WorkerGlobalScope, |
+ Constructor([Default=NullString] optional DOMString utfLabel), |
+ ConstructorRaisesException |
+] interface TextEncoder { |
+ readonly attribute DOMString encoding; |
+ Uint8Array encode([Default=NullString] optional DOMString input, optional Dictionary options); |
}; |