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

Unified Diff: android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt

Issue 1406243002: Revert of [WebViewLayoutTest] Fix potential rounding error in testBatteryApi() layout test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt
diff --git a/android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt b/android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt
index ca967ee1a240c948304ef70cacddec79be89c85a..64e31f53dd2df22db21d98fb7a34ab785b57cfe3 100644
--- a/android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt
+++ b/android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt
@@ -2,7 +2,7 @@
batteryStatusSuccess invoked
PASS: battery.level is >= 0
PASS: battery.level is <= 1
-PASS: battery.level.toPrecision(2) === battery.level.toString() is true
+PASS: isInteger(battery.level * 100) is true
PASS: !battery.charging || battery.dischargingTime === Infinity is true
PASS: battery.charging || battery.chargingTime === Infinity is true
-TEST FINISHED
+TEST FINISHED
« no previous file with comments | « android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698