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

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

Issue 329723005: Battery Status API: blink promise implementation and layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert to a single resolver at a time Created 6 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
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 remove d from a web page and garbage collected. Test should not crash and properties sh ould be set to sane defaults. 2 Tests property access on a cached DOMWindow after the associated frame is remove d from a web page and garbage collected. Test should not crash and properties sh ould be set to sane defaults.
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 23 matching lines...) Expand all
34 FAIL childWindow.location.pathname should be blank (of type string). Was undefin ed (of type undefined). 34 FAIL childWindow.location.pathname should be blank (of type string). Was undefin ed (of type undefined).
35 FAIL childWindow.location.port should be (of type string). Was undefined (of ty pe undefined). 35 FAIL childWindow.location.port should be (of type string). Was undefined (of ty pe undefined).
36 FAIL childWindow.location.protocol should be about: (of type string). Was undefi ned (of type undefined). 36 FAIL childWindow.location.protocol should be about: (of type string). Was undefi ned (of type undefined).
37 FAIL childWindow.location.search should be (of type string). Was undefined (of type undefined). 37 FAIL childWindow.location.search should be (of type string). Was undefined (of type undefined).
38 PASS childWindow.locationbar.visible is false 38 PASS childWindow.locationbar.visible is false
39 PASS childWindow.menubar.visible is false 39 PASS childWindow.menubar.visible is false
40 PASS childWindow.name is '' 40 PASS childWindow.name is ''
41 PASS childWindow.navigator.appCodeName is window.navigator.appCodeName 41 PASS childWindow.navigator.appCodeName is window.navigator.appCodeName
42 PASS childWindow.navigator.appName is window.navigator.appName 42 PASS childWindow.navigator.appName is window.navigator.appName
43 PASS childWindow.navigator.appVersion is '' 43 PASS childWindow.navigator.appVersion is ''
44 FAIL childWindow.navigator.battery.charging should be false. Threw exception Typ eError: Cannot read property 'charging' of null
45 FAIL childWindow.navigator.battery.chargingTime should be 0. Threw exception Typ eError: Cannot read property 'chargingTime' of null
46 FAIL childWindow.navigator.battery.dischargingTime should be 0. Threw exception TypeError: Cannot read property 'dischargingTime' of null
47 FAIL childWindow.navigator.battery.level should be 0. Threw exception TypeError: Cannot read property 'level' of null
48 FAIL childWindow.navigator.battery.onchargingchange should be null. Threw except ion TypeError: Cannot read property 'onchargingchange' of null
49 FAIL childWindow.navigator.battery.onchargingtimechange should be null. Threw ex ception TypeError: Cannot read property 'onchargingtimechange' of null
50 FAIL childWindow.navigator.battery.ondischargingtimechange should be null. Threw exception TypeError: Cannot read property 'ondischargingtimechange' of null
51 FAIL childWindow.navigator.battery.onlevelchange should be null. Threw exception TypeError: Cannot read property 'onlevelchange' of null
52 FAIL childWindow.navigator.connection.ontypechange should be null. Threw excepti on TypeError: Cannot read property 'ontypechange' of null 44 FAIL childWindow.navigator.connection.ontypechange should be null. Threw excepti on TypeError: Cannot read property 'ontypechange' of null
53 FAIL childWindow.navigator.connection.type should be other. Threw exception Type Error: Cannot read property 'type' of null 45 FAIL childWindow.navigator.connection.type should be other. Threw exception Type Error: Cannot read property 'type' of null
54 PASS childWindow.navigator.cookieEnabled is false 46 PASS childWindow.navigator.cookieEnabled is false
55 PASS childWindow.navigator.doNotTrack is null 47 PASS childWindow.navigator.doNotTrack is null
56 PASS childWindow.navigator.hardwareConcurrency is window.navigator.hardwareConcu rrency 48 PASS childWindow.navigator.hardwareConcurrency is window.navigator.hardwareConcu rrency
57 PASS childWindow.navigator.language is window.navigator.language 49 PASS childWindow.navigator.language is window.navigator.language
58 PASS childWindow.navigator.maxTouchPoints is 0 50 PASS childWindow.navigator.maxTouchPoints is 0
59 PASS childWindow.navigator.onLine is window.navigator.onLine 51 PASS childWindow.navigator.onLine is window.navigator.onLine
60 PASS childWindow.navigator.platform is window.navigator.platform 52 PASS childWindow.navigator.platform is window.navigator.platform
61 PASS childWindow.navigator.product is window.navigator.product 53 PASS childWindow.navigator.product is window.navigator.product
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 FAIL childWindow.speechSynthesis.pending should be false. Threw exception TypeEr ror: Cannot read property 'pending' of null 197 FAIL childWindow.speechSynthesis.pending should be false. Threw exception TypeEr ror: Cannot read property 'pending' of null
206 FAIL childWindow.speechSynthesis.speaking should be false. Threw exception TypeE rror: Cannot read property 'speaking' of null 198 FAIL childWindow.speechSynthesis.speaking should be false. Threw exception TypeE rror: Cannot read property 'speaking' of null
207 PASS childWindow.status is '' 199 PASS childWindow.status is ''
208 PASS childWindow.statusbar.visible is false 200 PASS childWindow.statusbar.visible is false
209 PASS childWindow.styleMedia.type is '' 201 PASS childWindow.styleMedia.type is ''
210 PASS childWindow.toolbar.visible is false 202 PASS childWindow.toolbar.visible is false
211 PASS successfullyParsed is true 203 PASS successfullyParsed is true
212 204
213 TEST COMPLETE 205 TEST COMPLETE
214 206
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698