Title: [251267] trunk/Source/WebCore
- Revision
- 251267
- Author
- [email protected]
- Date
- 2019-10-17 16:42:09 -0700 (Thu, 17 Oct 2019)
Log Message
Unreviewed, rolling out r251255.
This is causing the existing back/forward tests to be flaky
Reverted changeset:
"Don't put pages that have not reached the non-visually empty
layout milestone in the back/forward cache"
https://bugs.webkit.org/show_bug.cgi?id=203108
https://trac.webkit.org/changeset/251255
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (251266 => 251267)
--- trunk/Source/WebCore/ChangeLog 2019-10-17 23:38:19 UTC (rev 251266)
+++ trunk/Source/WebCore/ChangeLog 2019-10-17 23:42:09 UTC (rev 251267)
@@ -1,3 +1,16 @@
+2019-10-17 Chris Dumez <[email protected]>
+
+ Unreviewed, rolling out r251255.
+
+ This is causing the existing back/forward tests to be flaky
+
+ Reverted changeset:
+
+ "Don't put pages that have not reached the non-visually empty
+ layout milestone in the back/forward cache"
+ https://bugs.webkit.org/show_bug.cgi?id=203108
+ https://trac.webkit.org/changeset/251255
+
2019-10-17 Mark Lam <[email protected]>
Use constexpr in more places and remove some unnecessary external linkage.
Modified: trunk/Source/WebCore/history/BackForwardCache.cpp (251266 => 251267)
--- trunk/Source/WebCore/history/BackForwardCache.cpp 2019-10-17 23:38:19 UTC (rev 251266)
+++ trunk/Source/WebCore/history/BackForwardCache.cpp 2019-10-17 23:42:09 UTC (rev 251267)
@@ -132,11 +132,6 @@
logBackForwardCacheFailureDiagnosticMessage(diagnosticLoggingClient, DiagnosticLoggingKeys::noCurrentHistoryItemKey());
isCacheable = false;
}
- if (frame.isMainFrame() && frame.view() && !frame.view()->isVisuallyNonEmpty()) {
- PCLOG(" -Main frame is visually empty");
- logBackForwardCacheFailureDiagnosticMessage(diagnosticLoggingClient, DiagnosticLoggingKeys::visuallyEmptyKey());
- isCacheable = false;
- }
if (frameLoader.quickRedirectComing()) {
PCLOG(" -Quick redirect is coming");
logBackForwardCacheFailureDiagnosticMessage(diagnosticLoggingClient, DiagnosticLoggingKeys::quirkRedirectComingKey());
Modified: trunk/Source/WebCore/page/DiagnosticLoggingKeys.cpp (251266 => 251267)
--- trunk/Source/WebCore/page/DiagnosticLoggingKeys.cpp 2019-10-17 23:38:19 UTC (rev 251266)
+++ trunk/Source/WebCore/page/DiagnosticLoggingKeys.cpp 2019-10-17 23:42:09 UTC (rev 251267)
@@ -218,11 +218,6 @@
return "backForwardCacheFailure"_s;
}
-String DiagnosticLoggingKeys::visuallyEmptyKey()
-{
- return "visuallyEmpty"_s;
-}
-
String DiagnosticLoggingKeys::noDocumentLoaderKey()
{
return "noDocumentLoader"_s;
Modified: trunk/Source/WebCore/page/DiagnosticLoggingKeys.h (251266 => 251267)
--- trunk/Source/WebCore/page/DiagnosticLoggingKeys.h 2019-10-17 23:38:19 UTC (rev 251266)
+++ trunk/Source/WebCore/page/DiagnosticLoggingKeys.h 2019-10-17 23:42:09 UTC (rev 251267)
@@ -116,7 +116,6 @@
WEBCORE_EXPORT static String otherKey();
static String backForwardCacheKey();
static String backForwardCacheFailureKey();
- static String visuallyEmptyKey();
static String pageContainsAtLeastOneMediaEngineKey();
static String pageContainsAtLeastOnePluginKey();
static String pageContainsMediaEngineKey();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes