Changeset 215772 in webkit


Ignore:
Timestamp:
Apr 25, 2017 5:07:13 PM (7 years ago)
Author:
Ryan Haddad
Message:

Unreviewed, rolling out r215730.

The LayoutTest for this change is a flaky timeout on mac-wk1
debug.

Reverted changeset:

"Enable expired-only reload policy on Mac and iOS"
https://bugs.webkit.org/show_bug.cgi?id=171264
http://trac.webkit.org/changeset/215730

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r215767 r215772  
     12017-04-25  Ryan Haddad  <ryanhaddad@apple.com>
     2
     3        Unreviewed, rolling out r215730.
     4
     5        The LayoutTest for this change is a flaky timeout on mac-wk1
     6        debug.
     7
     8        Reverted changeset:
     9
     10        "Enable expired-only reload policy on Mac and iOS"
     11        https://bugs.webkit.org/show_bug.cgi?id=171264
     12        http://trac.webkit.org/changeset/215730
     13
    1142017-04-25  Said Abou-Hallawa  <sabouhallawa@apple.com>
    215
  • trunk/LayoutTests/fast/loader/display-image-unset-can-block-image-and-can-reload-in-place.html

    r215730 r215772  
    1111    window.internals.settings.setImagesEnabled(true);
    1212    testRunner.overridePreference('WebKitDisplayImagesKey', 0);
    13     window.internals.clearMemoryCache();
    1413    testRunner.queueReload();
    1514}
  • trunk/Source/WebCore/ChangeLog

    r215771 r215772  
     12017-04-25  Ryan Haddad  <ryanhaddad@apple.com>
     2
     3        Unreviewed, rolling out r215730.
     4
     5        The LayoutTest for this change is a flaky timeout on mac-wk1
     6        debug.
     7
     8        Reverted changeset:
     9
     10        "Enable expired-only reload policy on Mac and iOS"
     11        https://bugs.webkit.org/show_bug.cgi?id=171264
     12        http://trac.webkit.org/changeset/215730
     13
    1142017-04-24  Matt Rajca  <mrajca@apple.com>
    215
  • trunk/Source/WebCore/loader/NavigationAction.cpp

    r215730 r215772  
    4242    if (haveEvent)
    4343        return NavigationType::LinkClicked;
    44     if (isReload(frameLoadType))
     44    if (frameLoadType == FrameLoadType::Reload || frameLoadType == FrameLoadType::ReloadFromOrigin)
    4545        return NavigationType::Reload;
    4646    if (isBackForwardLoadType(frameLoadType))
  • trunk/Source/WebKit2/ChangeLog

    r215771 r215772  
     12017-04-25  Ryan Haddad  <ryanhaddad@apple.com>
     2
     3        Unreviewed, rolling out r215730.
     4
     5        The LayoutTest for this change is a flaky timeout on mac-wk1
     6        debug.
     7
     8        Reverted changeset:
     9
     10        "Enable expired-only reload policy on Mac and iOS"
     11        https://bugs.webkit.org/show_bug.cgi?id=171264
     12        http://trac.webkit.org/changeset/215730
     13
    1142017-04-24  Matt Rajca  <mrajca@apple.com>
    215
  • trunk/Source/WebKit2/UIProcess/API/C/WKPage.cpp

    r215771 r215772  
    9494#endif
    9595
    96 #if PLATFORM(COCOA)
    97 #include "VersionChecks.h"
    98 #endif
    99 
    10096using namespace WebCore;
    10197using namespace WebKit;
     
    247243void WKPageReload(WKPageRef pageRef)
    248244{
    249     OptionSet<WebCore::ReloadOption> reloadOptions;
    250 #if PLATFORM(COCOA)
    251     if (linkedOnOrAfter(WebKit::SDKVersion::FirstWithExpiredOnlyReloadBehavior))
    252         reloadOptions |= WebCore::ReloadOption::ExpiredOnly;
    253 #endif
    254 
    255     toImpl(pageRef)->reload(reloadOptions);
     245    toImpl(pageRef)->reload({ });
    256246}
    257247
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm

    r215730 r215772  
    843843- (WKNavigation *)reload
    844844{
    845     OptionSet<WebCore::ReloadOption> reloadOptions;
    846     if (linkedOnOrAfter(WebKit::SDKVersion::FirstWithExpiredOnlyReloadBehavior))
    847         reloadOptions |= WebCore::ReloadOption::ExpiredOnly;
    848 
    849     auto navigation = _page->reload(reloadOptions);
     845    auto navigation = _page->reload({ });
    850846    if (!navigation)
    851847        return nil;
  • trunk/Source/WebKit2/UIProcess/Cocoa/VersionChecks.h

    r215730 r215772  
    3737    FirstToExcludeLocalStorageFromBackup = DYLD_IOS_VERSION_11_0,
    3838    FirstToUseSelectionGranularityCharacterByDefault = DYLD_IOS_VERSION_11_0,
    39     FirstWithExpiredOnlyReloadBehavior = DYLD_IOS_VERSION_11_0,
    4039#elif PLATFORM(MAC)
    4140    FirstWithNetworkCache = DYLD_MACOSX_VERSION_10_11,
    4241    FirstWithExceptionsForDuplicateCompletionHandlerCalls = DYLD_MACOSX_VERSION_10_13,
    43     FirstWithDropToNavigateDisallowedByDefault = DYLD_MACOSX_VERSION_10_13,
    44     FirstWithExpiredOnlyReloadBehavior = DYLD_MACOSX_VERSION_10_13,
     42    FirstWithDropToNavigateDisallowedByDefault = DYLD_MACOSX_VERSION_10_13
    4543#endif
    4644};
Note: See TracChangeset for help on using the changeset viewer.