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

Side by Side Diff: LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-expected.txt

Issue 203693003: BatteryStatus: fix chargingTime() to follow the specification. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test results Created 6 years, 9 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
OLDNEW
1 CONSOLE WARNING: 'window.webkitStorageInfo' is deprecated. Please use 'navigator .webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead. 1 CONSOLE WARNING: 'window.webkitStorageInfo' is deprecated. Please use 'navigator .webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead.
2 Tests property access on a cached DOMWindow after the associated frame is no lon ger in a web page. Test should not crash and properties should be set to sane de faults. 2 Tests property access on a cached DOMWindow after the associated frame is no lon ger in a web page. Test should not crash and properties should be set to sane de faults.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 FAIL childWindow.applicationCache.oncached should be null. Threw exception TypeE rror: Cannot read property 'oncached' of null 7 FAIL childWindow.applicationCache.oncached should be null. Threw exception TypeE rror: Cannot read property 'oncached' of null
8 FAIL childWindow.applicationCache.onchecking should be null. Threw exception Typ eError: Cannot read property 'onchecking' of null 8 FAIL childWindow.applicationCache.onchecking should be null. Threw exception Typ eError: Cannot read property 'onchecking' of null
9 FAIL childWindow.applicationCache.ondownloading should be null. Threw exception TypeError: Cannot read property 'ondownloading' of null 9 FAIL childWindow.applicationCache.ondownloading should be null. Threw exception TypeError: Cannot read property 'ondownloading' of null
10 FAIL childWindow.applicationCache.onerror should be null. Threw exception TypeEr ror: Cannot read property 'onerror' of null 10 FAIL childWindow.applicationCache.onerror should be null. Threw exception TypeEr ror: Cannot read property 'onerror' of null
(...skipping 22 matching lines...) Expand all
33 PASS childWindow.location.port is '' 33 PASS childWindow.location.port is ''
34 PASS childWindow.location.protocol is 'about:' 34 PASS childWindow.location.protocol is 'about:'
35 PASS childWindow.location.search is '' 35 PASS childWindow.location.search is ''
36 PASS childWindow.locationbar.visible is false 36 PASS childWindow.locationbar.visible is false
37 PASS childWindow.menubar.visible is false 37 PASS childWindow.menubar.visible is false
38 PASS childWindow.name is '' 38 PASS childWindow.name is ''
39 PASS childWindow.navigator.appCodeName is window.navigator.appCodeName 39 PASS childWindow.navigator.appCodeName is window.navigator.appCodeName
40 PASS childWindow.navigator.appName is window.navigator.appName 40 PASS childWindow.navigator.appName is window.navigator.appName
41 PASS childWindow.navigator.appVersion is '' 41 PASS childWindow.navigator.appVersion is ''
42 FAIL childWindow.navigator.battery.charging should be false. Was true. 42 FAIL childWindow.navigator.battery.charging should be false. Was true.
43 FAIL childWindow.navigator.battery.chargingTime should be 0. Was Infinity. 43 PASS childWindow.navigator.battery.chargingTime is 0
44 FAIL childWindow.navigator.battery.dischargingTime should be 0. Was Infinity. 44 FAIL childWindow.navigator.battery.dischargingTime should be 0. Was Infinity.
45 FAIL childWindow.navigator.battery.level should be 0. Was 1. 45 FAIL childWindow.navigator.battery.level should be 0. Was 1.
46 PASS childWindow.navigator.battery.onchargingchange is null 46 PASS childWindow.navigator.battery.onchargingchange is null
47 PASS childWindow.navigator.battery.onchargingtimechange is null 47 PASS childWindow.navigator.battery.onchargingtimechange is null
48 PASS childWindow.navigator.battery.ondischargingtimechange is null 48 PASS childWindow.navigator.battery.ondischargingtimechange is null
49 PASS childWindow.navigator.battery.onlevelchange is null 49 PASS childWindow.navigator.battery.onlevelchange is null
50 PASS childWindow.navigator.cookieEnabled is false 50 PASS childWindow.navigator.cookieEnabled is false
51 PASS childWindow.navigator.doNotTrack is null 51 PASS childWindow.navigator.doNotTrack is null
52 PASS childWindow.navigator.language is window.navigator.language 52 PASS childWindow.navigator.language is window.navigator.language
53 PASS childWindow.navigator.maxTouchPoints is 0 53 PASS childWindow.navigator.maxTouchPoints is 0
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 PASS childWindow.speechSynthesis.pending is false 194 PASS childWindow.speechSynthesis.pending is false
195 PASS childWindow.speechSynthesis.speaking is false 195 PASS childWindow.speechSynthesis.speaking is false
196 PASS childWindow.status is '' 196 PASS childWindow.status is ''
197 PASS childWindow.statusbar.visible is false 197 PASS childWindow.statusbar.visible is false
198 PASS childWindow.styleMedia.type is '' 198 PASS childWindow.styleMedia.type is ''
199 PASS childWindow.toolbar.visible is false 199 PASS childWindow.toolbar.visible is false
200 PASS successfullyParsed is true 200 PASS successfullyParsed is true
201 201
202 TEST COMPLETE 202 TEST COMPLETE
203 203
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698