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

Side by Side Diff: LayoutTests/batterystatus/window-property-expected.txt

Issue 16298005: Remove Battery Status API support code from Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/batterystatus/window-property.html ('k') | Source/WebKit/chromium/WebKit.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests that the window.navigator.battery properties are present.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 FAIL typeof navigator.webkitBattery == 'object' should be true. Was false.
7 FAIL hasOnBatteryProperty() should be true. Was false.
8 FAIL navigator.webkitBattery.hasOwnProperty('onchargingchange') should be true. Threw exception TypeError: Cannot call method 'hasOwnProperty' of undefined
9 FAIL navigator.webkitBattery.hasOwnProperty('onchargingtimechange') should be tr ue. Threw exception TypeError: Cannot call method 'hasOwnProperty' of undefined
10 FAIL navigator.webkitBattery.hasOwnProperty('ondischargingtimechange') should be true. Threw exception TypeError: Cannot call method 'hasOwnProperty' of undefin ed
11 FAIL navigator.webkitBattery.hasOwnProperty('onlevelchange') should be true. Thr ew exception TypeError: Cannot call method 'hasOwnProperty' of undefined
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15
OLDNEW
« no previous file with comments | « LayoutTests/batterystatus/window-property.html ('k') | Source/WebKit/chromium/WebKit.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698