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

Side by Side Diff: LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-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 no lon ger in a web page. Test should not crash and properties should be set to sane de faults. 3 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.
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 PASS childWindow.closed is false 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 PASS childWindow.length is 0 27 PASS childWindow.length is 0
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 PASS childWindow.speechSynthesis.pending is false 198 PASS childWindow.speechSynthesis.pending is false
199 PASS childWindow.speechSynthesis.speaking is false 199 PASS childWindow.speechSynthesis.speaking is false
200 PASS childWindow.status is '' 200 PASS childWindow.status is ''
201 PASS childWindow.statusbar.visible is false 201 PASS childWindow.statusbar.visible is false
202 PASS childWindow.styleMedia.type is '' 202 PASS childWindow.styleMedia.type is ''
203 PASS childWindow.toolbar.visible is false 203 PASS childWindow.toolbar.visible is false
204 PASS successfullyParsed is true 204 PASS successfullyParsed is true
205 205
206 TEST COMPLETE 206 TEST COMPLETE
207 207
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698