Changeset 50153 in webkit
- Timestamp:
- Oct 27, 2009, 9:43:39 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/platform/mac/Skipped (modified) (1 diff)
-
LayoutTests/platform/win/Skipped (modified) (1 diff)
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/loader/FrameLoader.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r50148 r50153 1 2009-10-27 Brady Eidson <beidson@apple.com> 2 3 Rubberstamped by Sam Weinig. 4 5 Re-enable the check that disallows pages with unload handlers in the page cache. 6 7 <rdar://problem/7196485> and http://webkit.org/b/29021 8 9 * platform/mac/Skipped: 10 * platform/win/Skipped: 11 1 12 2009-10-27 Xan Lopez <xlopez@igalia.com> 2 13 -
trunk/LayoutTests/platform/mac/Skipped
r49995 r50153 88 88 media/video-volume-slider.html 89 89 90 # As long as pages with unload handlers are put in the Page Cache, this test doesn't make any sense for Mac.91 # <rdar://problem/7196485> and https://bugs.webkit.org/show_bug.cgi?id=2902192 fast/loader/frames-with-unload-handlers-in-page-cache.html93 94 90 # This port doesn't support detecting slow unload handlers. 95 91 fast/dom/Window/slow_unload_handler.html -
trunk/LayoutTests/platform/win/Skipped
r49995 r50153 638 638 http/tests/security/mixedContent 639 639 640 # As long as pages with unload handlers are put in the Page Cache, this test doesn't make any sense for Windows.641 # <rdar://problem/7196485> and https://bugs.webkit.org/show_bug.cgi?id=29021642 fast/loader/frames-with-unload-handlers-in-page-cache.html643 644 640 # <https://bugs.webkit.org/show_bug.cgi?id=29057> 645 641 editing/pasteboard/files-during-page-drags.html -
trunk/WebCore/ChangeLog
r50152 r50153 1 2009-10-27 Brady Eidson <beidson@apple.com> 2 3 Rubberstamped by Sam Weinig. 4 5 Re-enable the check that disallows pages with unload handlers in the page cache. 6 7 <rdar://problem/7196485> and http://webkit.org/b/29021 8 9 * loader/FrameLoader.cpp: 10 (WebCore::FrameLoader::canCachePageContainingThisFrame): 11 (WebCore::FrameLoader::logCanCacheFrameDecision): 12 1 13 2009-10-27 Timothy Hatcher <timothy@apple.com> 2 14 -
trunk/WebCore/loader/FrameLoader.cpp
r50116 r50153 114 114 #endif 115 115 116 #if PLATFORM(MAC) || PLATFORM(WIN)117 #define PAGE_CACHE_ACCEPTS_UNLOAD_HANDLERS118 #endif119 120 116 namespace WebCore { 121 117 … … 1469 1465 && !m_containsPlugIns 1470 1466 && !m_URL.protocolIs("https") 1471 #ifndef PAGE_CACHE_ACCEPTS_UNLOAD_HANDLERS1472 1467 && (!m_frame->domWindow() || !m_frame->domWindow()->hasEventListeners(eventNames().unloadEvent)) 1473 #endif1474 1468 #if ENABLE(DATABASE) 1475 1469 && !m_frame->document()->hasOpenDatabases() … … 1616 1610 if (m_URL.protocolIs("https")) 1617 1611 { PCLOG(" -Frame is HTTPS"); cannotCache = true; } 1618 #ifndef PAGE_CACHE_ACCEPTS_UNLOAD_HANDLERS1619 1612 if (m_frame->domWindow() && m_frame->domWindow()->hasEventListeners(eventNames().unloadEvent)) 1620 1613 { PCLOG(" -Frame has an unload event listener"); cannotCache = true; } 1621 #endif1622 1614 #if ENABLE(DATABASE) 1623 1615 if (m_frame->document()->hasOpenDatabases())
Note:
See TracChangeset
for help on using the changeset viewer.