https://bugs.webkit.org/show_bug.cgi?id=149317
<rdar://problem/
22521514>
Reviewed by Tim Horton.
Source/WebCore:
Disable on Mavericks a PageCache optimization from r182449 which lets
into PageCache pages that only have certain types of pending loads
(images and XHR). This is because it has been determined via bisection
that this change is the one that introduced the bug on Mavericks.
* loader/DocumentLoader.cpp:
(WebCore::areAllLoadersPageCacheAcceptable):
LayoutTests:
Skip a couple of PageCache layout tests on Mavericks now that a PageCache
optimization has been disabled.
* platform/mac/TestExpectations:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189976
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-09-18 Chris Dumez <cdumez@apple.com>
+
+ REGRESSION (r182449, Mavericks ONLY): Pages re-open empty after swiping back and scrolling on them
+ https://bugs.webkit.org/show_bug.cgi?id=149317
+ <rdar://problem/22521514>
+
+ Reviewed by Tim Horton.
+
+ Skip a couple of PageCache layout tests on Mavericks now that a PageCache
+ optimization has been disabled.
+
+ * platform/mac/TestExpectations:
+
2015-09-18 Zalan Bujtas <zalan@apple.com>
Unreviewed iOS gardening.
webkit.org/b/149246 [ Mavericks ] css3/font-feature-settings-rendering-2.html
+# This feature is disabled on Mavericks.
+[ Mavericks ] http/tests/navigation/page-cache-pending-image-load.html [ Skip ]
+[ Mavericks ] http/tests/navigation/page-cache-pending-image-load-cache-partition.html [ Skip ]
+[ Mavericks ] http/tests/navigation/page-cache-xhr.html [ Skip ]
+
webkit.org/b/68278 http/tests/history/back-with-fragment-change.php [ Failure ]
# Skip because this platform does not support a paging mouse wheel event
+2015-09-18 Chris Dumez <cdumez@apple.com>
+
+ REGRESSION (r182449, Mavericks ONLY): Pages re-open empty after swiping back and scrolling on them
+ https://bugs.webkit.org/show_bug.cgi?id=149317
+ <rdar://problem/22521514>
+
+ Reviewed by Tim Horton.
+
+ Disable on Mavericks a PageCache optimization from r182449 which lets
+ into PageCache pages that only have certain types of pending loads
+ (images and XHR). This is because it has been determined via bisection
+ that this change is the one that introduced the bug on Mavericks.
+
+ * loader/DocumentLoader.cpp:
+ (WebCore::areAllLoadersPageCacheAcceptable):
+
2015-09-18 Brent Fulgham <bfulgham@apple.com>
[Win] Use tiled drawing for main background layer
loader->setDefersLoading(defers);
}
+#if !PLATFORM(MAC) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
static bool areAllLoadersPageCacheAcceptable(const ResourceLoaderMap& loaders)
{
Vector<RefPtr<ResourceLoader>> loadersCopy;
}
return true;
}
+#endif
DocumentLoader::DocumentLoader(const ResourceRequest& req, const SubstituteData& substituteData)
: m_deferMainResourceDataLoad(true)
// loading but there are subresource loads during cancellation. This must be done before the
// frame->stopLoading() call, which may evict the CachedResources, which we rely on to check
// the type of the resource loads.
+#if !PLATFORM(MAC) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
+ // Disabled on Mavericks because it seems to cause issues (rdar://problem/22521514).
if (loading && m_committed && !mainResourceLoader() && !m_subresourceLoaders.isEmpty())
m_subresourceLoadersArePageCacheAcceptable = areAllLoadersPageCacheAcceptable(m_subresourceLoaders);
+#endif
if (m_committed) {
// Attempt to stop the frame if the document loader is loading, or if it is done loading but