Changeset 64953 in webkit
- Timestamp:
- Aug 8, 2010 10:56:08 AM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r64945 r64953 1 2010-08-08 Mihai Parparita <mihaip@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 fast/events/onunload-back-to-page-cache.html does not pass with GTK DRT 6 https://bugs.webkit.org/show_bug.cgi?id=43692 7 8 Update onunload-back-to-page-cache.html to set the frame name later, 9 so that the onunload handler console message doesn't have it. Also 10 include a message about what exactly we're testing. 11 12 * fast/events/onunload-back-to-page-cache-expected.txt: 13 * fast/events/script-tests/onunload-back-to-page-cache.js: 14 (onpageshow): 15 1 16 2010-08-08 Adam Barth <abarth@webkit.org> 2 17 -
trunk/LayoutTests/fast/events/onunload-back-to-page-cache-expected.txt
r64939 r64953 1 main frame "navigated"- has 1 onunload handler(s)1 main frame - has 1 onunload handler(s) 2 2 Simulates flow from a page that's in the page cache to one that's not, and then back to the page cached page. 3 3 … … 5 5 6 6 7 PASS WebTiming asserts in FrameLoader.cpp did not fire 7 8 PASS successfullyParsed is true 8 9 -
trunk/LayoutTests/fast/events/script-tests/onunload-back-to-page-cache.js
r64939 r64953 3 3 onpageshow = function(event) { 4 4 if (window.name == 'navigated') { 5 testPassed('WebTiming asserts in FrameLoader.cpp did not fire'); 5 6 finishJSTest(); 6 7 } else { 7 8 if (window.layoutTestController) 8 9 layoutTestController.overridePreference('WebKitUsesPageCachePreferenceKey', 1); 9 window.name = 'navigated'; 10 setTimeout(function() {location.href = 'data:text/html,<script>onunload=function() {},onload=function(){history.back();}<' + '/script>';}, 0); 10 setTimeout(function() {location.href = 'data:text/html,<script>onunload=function() {},onload=function(){window.name = \'navigated\';history.back();}<' + '/script>';}, 0); 11 11 } 12 12 }
Note: See TracChangeset
for help on using the changeset viewer.