Changeset 251267 in webkit


Ignore:
Timestamp:
Oct 17, 2019 4:42:09 PM (5 years ago)
Author:
Chris Dumez
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

Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r251263 r251267  
     12019-10-17  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed, rolling out r251255.
     4
     5        This is causing the existing back/forward tests to be flaky
     6
     7        Reverted changeset:
     8
     9        "Don't put pages that have not reached the non-visually empty
     10        layout milestone in the back/forward cache"
     11        https://bugs.webkit.org/show_bug.cgi?id=203108
     12        https://trac.webkit.org/changeset/251255
     13
    1142019-10-17  Mark Lam  <mark.lam@apple.com>
    215
  • trunk/Source/WebCore/history/BackForwardCache.cpp

    r251255 r251267  
    133133        isCacheable = false;
    134134    }
    135     if (frame.isMainFrame() && frame.view() && !frame.view()->isVisuallyNonEmpty()) {
    136         PCLOG("   -Main frame is visually empty");
    137         logBackForwardCacheFailureDiagnosticMessage(diagnosticLoggingClient, DiagnosticLoggingKeys::visuallyEmptyKey());
    138         isCacheable = false;
    139     }
    140135    if (frameLoader.quickRedirectComing()) {
    141136        PCLOG("   -Quick redirect is coming");
  • trunk/Source/WebCore/page/DiagnosticLoggingKeys.cpp

    r251255 r251267  
    219219}
    220220
    221 String DiagnosticLoggingKeys::visuallyEmptyKey()
    222 {
    223     return "visuallyEmpty"_s;
    224 }
    225 
    226221String DiagnosticLoggingKeys::noDocumentLoaderKey()
    227222{
  • trunk/Source/WebCore/page/DiagnosticLoggingKeys.h

    r251255 r251267  
    117117    static String backForwardCacheKey();
    118118    static String backForwardCacheFailureKey();
    119     static String visuallyEmptyKey();
    120119    static String pageContainsAtLeastOneMediaEngineKey();
    121120    static String pageContainsAtLeastOnePluginKey();
Note: See TracChangeset for help on using the changeset viewer.