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

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

Issue 203053002: Add null check for frame when creating WebCore::Performance. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add rebaseline expectations 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 | 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 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 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 PASS childWindow.devicePixelRatio is 0 7 PASS childWindow.devicePixelRatio is 0
8 PASS childWindow.history.length is 0 8 PASS childWindow.history.length is 0
9 PASS childWindow.innerHeight is 0 9 PASS childWindow.innerHeight is 0
10 PASS childWindow.innerWidth is 0 10 PASS childWindow.innerWidth is 0
11 FAIL childWindow.jsTestIsAsync should be false (of type boolean). Was undefined (of type undefined).
11 PASS childWindow.length is 0 12 PASS childWindow.length is 0
12 PASS childWindow.location.href is 'about:blank' 13 FAIL childWindow.location.href should be about:blank (of type string). Was undef ined (of type undefined).
13 PASS childWindow.location.origin is 'null' 14 FAIL childWindow.location.origin should be null (of type string). Was undefined (of type undefined).
14 PASS childWindow.location.pathname is 'blank' 15 FAIL childWindow.location.pathname should be blank (of type string). Was undefin ed (of type undefined).
15 PASS childWindow.location.protocol is 'about:' 16 FAIL childWindow.location.protocol should be about: (of type string). Was undefi ned (of type undefined).
16 PASS childWindow.locationbar.visible is false 17 PASS childWindow.locationbar.visible is false
17 PASS childWindow.menubar.visible is false 18 PASS childWindow.menubar.visible is false
18 PASS childWindow.navigator.appCodeName is window.navigator.appCodeName 19 PASS childWindow.navigator.appCodeName is window.navigator.appCodeName
19 PASS childWindow.navigator.appName is window.navigator.appName 20 PASS childWindow.navigator.appName is window.navigator.appName
20 PASS childWindow.navigator.appVersion is '' 21 PASS childWindow.navigator.appVersion is ''
21 PASS childWindow.navigator.battery.charging is true 22 FAIL childWindow.navigator.battery.charging should be false. Threw exception Typ eError: Cannot read property 'charging' of null
22 PASS childWindow.navigator.battery.chargingTime is Infinity 23 FAIL childWindow.navigator.battery.chargingTime should be 0. Threw exception Typ eError: Cannot read property 'chargingTime' of null
23 PASS childWindow.navigator.battery.dischargingTime is Infinity 24 FAIL childWindow.navigator.battery.dischargingTime should be 0. Threw exception TypeError: Cannot read property 'dischargingTime' of null
24 PASS childWindow.navigator.battery.level is 1 25 FAIL childWindow.navigator.battery.level should be 0. Threw exception TypeError: Cannot read property 'level' of null
25 PASS childWindow.navigator.cookieEnabled is false 26 PASS childWindow.navigator.cookieEnabled is false
26 PASS childWindow.navigator.language is window.navigator.language 27 PASS childWindow.navigator.language is window.navigator.language
27 PASS childWindow.navigator.onLine is window.navigator.onLine 28 PASS childWindow.navigator.onLine is window.navigator.onLine
28 PASS childWindow.navigator.platform is window.navigator.platform 29 PASS childWindow.navigator.platform is window.navigator.platform
29 PASS childWindow.navigator.product is window.navigator.product 30 PASS childWindow.navigator.product is window.navigator.product
30 PASS childWindow.navigator.productSub is window.navigator.productSub 31 PASS childWindow.navigator.productSub is window.navigator.productSub
31 PASS childWindow.navigator.userAgent is '' 32 PASS childWindow.navigator.userAgent is ''
32 PASS childWindow.navigator.vendor is window.navigator.vendor 33 PASS childWindow.navigator.vendor is window.navigator.vendor
33 FAIL childWindow.offscreenBuffering should be false. Was true. 34 FAIL childWindow.offscreenBuffering should be false. Was true.
34 PASS childWindow.outerHeight is 0 35 PASS childWindow.outerHeight is 0
(...skipping 17 matching lines...) Expand all
52 PASS childWindow.screen.pixelDepth is 0 53 PASS childWindow.screen.pixelDepth is 0
53 PASS childWindow.screen.width is 0 54 PASS childWindow.screen.width is 0
54 PASS childWindow.scrollbars.visible is false 55 PASS childWindow.scrollbars.visible is false
55 PASS childWindow.statusbar.visible is false 56 PASS childWindow.statusbar.visible is false
56 PASS childWindow.styleMedia.type is '' 57 PASS childWindow.styleMedia.type is ''
57 PASS childWindow.toolbar.visible is false 58 PASS childWindow.toolbar.visible is false
58 PASS successfullyParsed is true 59 PASS successfullyParsed is true
59 60
60 TEST COMPLETE 61 TEST COMPLETE
61 62
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698