Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: third_party/WebKit/LayoutTests/battery-status/api-defined.html

Issue 1740843002: Revert of Migrates battery_status from content/renderer/ to WebKit/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/blink/BUILD.gn ('k') | third_party/WebKit/LayoutTests/battery-status/multiple-promises.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/battery-status/api-defined.html
diff --git a/third_party/WebKit/LayoutTests/battery-status/api-defined.html b/third_party/WebKit/LayoutTests/battery-status/api-defined.html
index 3dfb9ae309eb839e17d4f213d2a2c0a9e33e69cf..ea2a985e5fd7460c0fd4f98b096699499ab4e7ea 100644
--- a/third_party/WebKit/LayoutTests/battery-status/api-defined.html
+++ b/third_party/WebKit/LayoutTests/battery-status/api-defined.html
@@ -7,8 +7,6 @@
if (!window.testRunner)
debug('This test cannot be run without the TestRunner');
-if (!window.internals)
- debug('This test cannot be run without the window.internals');
// Clean-up any unused battery manager objects from previous tests.
gc();
@@ -21,7 +19,7 @@
chargingTime: chargingTime,
dischargingTime: dischargingTime,
level: level };
- window.internals.updateBatteryStatus(charging, chargingTime, dischargingTime, level);
+ testRunner.didChangeBatteryStatus(charging, chargingTime, dischargingTime, level);
}
var battery;
« no previous file with comments | « media/blink/BUILD.gn ('k') | third_party/WebKit/LayoutTests/battery-status/multiple-promises.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698