Index: Source/core/xml/WindowXSLT.idl |
diff --git a/Source/modules/battery/NavigatorBattery.idl b/Source/core/xml/WindowXSLT.idl |
similarity index 52% |
copy from Source/modules/battery/NavigatorBattery.idl |
copy to Source/core/xml/WindowXSLT.idl |
index c5bff09da1473e835b8de2b1f59997117385b2c6..6ddf3a5b6b13e28ecd6ca65f0bb7a3025f04eb24 100644 |
--- a/Source/modules/battery/NavigatorBattery.idl |
+++ b/Source/core/xml/WindowXSLT.idl |
@@ -2,9 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-[ |
- RuntimeEnabled=BatteryStatus, |
-] partial interface Navigator { |
- [CallWith=ScriptState] Promise getBattery(); |
+partial interface Window { |
+ [OnlyExposedToPrivateScript] void replaceDocument(DOMString documentSource, DOMString contentType, DOMString encodingName); |
}; |