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

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

Issue 538323003: Have window.closed return true when frame is closed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Un-inline and improve formatting of Frame::setHasBeenClosed() Created 6 years, 3 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 CONSOLE WARNING: 'webkitIndexedDB' is deprecated. Please use 'indexedDB' instead . 2 CONSOLE WARNING: 'webkitIndexedDB' is deprecated. Please use 'indexedDB' instead .
3 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 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.
4 4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 6
7 7
8 FAIL childWindow.applicationCache.oncached should be null. Threw exception TypeE rror: Cannot read property 'oncached' of null 8 FAIL childWindow.applicationCache.oncached should be null. Threw exception TypeE rror: Cannot read property 'oncached' of null
9 FAIL childWindow.applicationCache.onchecking should be null. Threw exception Typ eError: Cannot read property 'onchecking' of null 9 FAIL childWindow.applicationCache.onchecking should be null. Threw exception Typ eError: Cannot read property 'onchecking' of null
10 FAIL childWindow.applicationCache.ondownloading should be null. Threw exception TypeError: Cannot read property 'ondownloading' of null 10 FAIL childWindow.applicationCache.ondownloading should be null. Threw exception TypeError: Cannot read property 'ondownloading' of null
11 FAIL childWindow.applicationCache.onerror should be null. Threw exception TypeEr ror: Cannot read property 'onerror' of null 11 FAIL childWindow.applicationCache.onerror should be null. Threw exception TypeEr ror: Cannot read property 'onerror' of null
12 FAIL childWindow.applicationCache.onnoupdate should be null. Threw exception Typ eError: Cannot read property 'onnoupdate' of null 12 FAIL childWindow.applicationCache.onnoupdate should be null. Threw exception Typ eError: Cannot read property 'onnoupdate' of null
13 FAIL childWindow.applicationCache.onobsolete should be null. Threw exception Typ eError: Cannot read property 'onobsolete' of null 13 FAIL childWindow.applicationCache.onobsolete should be null. Threw exception Typ eError: Cannot read property 'onobsolete' of null
14 FAIL childWindow.applicationCache.onprogress should be null. Threw exception Typ eError: Cannot read property 'onprogress' of null 14 FAIL childWindow.applicationCache.onprogress should be null. Threw exception Typ eError: Cannot read property 'onprogress' of null
15 FAIL childWindow.applicationCache.onupdateready should be null. Threw exception TypeError: Cannot read property 'onupdateready' of null 15 FAIL childWindow.applicationCache.onupdateready should be null. Threw exception TypeError: Cannot read property 'onupdateready' of null
16 FAIL childWindow.applicationCache.status should be 0. Threw exception TypeError: Cannot read property 'status' of null 16 FAIL childWindow.applicationCache.status should be 0. Threw exception TypeError: Cannot read property 'status' of null
17 FAIL childWindow.closed should be false. Was true. 17 PASS childWindow.closed is true
18 PASS childWindow.defaultStatus is '' 18 PASS childWindow.defaultStatus is ''
19 PASS childWindow.defaultstatus is '' 19 PASS childWindow.defaultstatus is ''
20 PASS childWindow.devicePixelRatio is 0 20 PASS childWindow.devicePixelRatio is 0
21 PASS childWindow.frameElement is null 21 PASS childWindow.frameElement is null
22 PASS childWindow.history.length is 0 22 PASS childWindow.history.length is 0
23 PASS childWindow.history.state is null 23 PASS childWindow.history.state is null
24 PASS childWindow.innerHeight is 0 24 PASS childWindow.innerHeight is 0
25 PASS childWindow.innerWidth is 0 25 PASS childWindow.innerWidth is 0
26 FAIL childWindow.isJsTest should be false (of type boolean). Was undefined (of t ype undefined). 26 FAIL childWindow.isJsTest should be false (of type boolean). Was undefined (of t ype undefined).
27 FAIL childWindow.jsTestIsAsync should be false (of type boolean). Was undefined (of type undefined). 27 FAIL childWindow.jsTestIsAsync should be false (of type boolean). Was undefined (of type undefined).
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 FAIL childWindow.speechSynthesis.pending should be false. Threw exception TypeEr ror: Cannot read property 'pending' of null 199 FAIL childWindow.speechSynthesis.pending should be false. Threw exception TypeEr ror: Cannot read property 'pending' of null
200 FAIL childWindow.speechSynthesis.speaking should be false. Threw exception TypeE rror: Cannot read property 'speaking' of null 200 FAIL childWindow.speechSynthesis.speaking should be false. Threw exception TypeE rror: Cannot read property 'speaking' of null
201 PASS childWindow.status is '' 201 PASS childWindow.status is ''
202 PASS childWindow.statusbar.visible is false 202 PASS childWindow.statusbar.visible is false
203 PASS childWindow.styleMedia.type is '' 203 PASS childWindow.styleMedia.type is ''
204 PASS childWindow.toolbar.visible is false 204 PASS childWindow.toolbar.visible is false
205 PASS successfullyParsed is true 205 PASS successfullyParsed is true
206 206
207 TEST COMPLETE 207 TEST COMPLETE
208 208
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698