⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 235405 in webkit


Ignore:
Timestamp:
Aug 27, 2018, 3:23:03 PM (8 years ago)
Author:
achristensen@apple.com
Message:

Fix API test after r235398
https://bugs.webkit.org/show_bug.cgi?id=188997

  • TestWebKitAPI/Tests/WebKit/ShouldKeepCurrentBackForwardListItemInList.cpp:

(TestWebKitAPI::setPageLoaderClient):
(TestWebKitAPI::willGoToBackForwardListItem): Deleted.
willGoToBackForwardListItem is unused and unsupported. Removing its check.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r235404 r235405  
     12018-08-27  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix API test after r235398
     4        https://bugs.webkit.org/show_bug.cgi?id=188997
     5
     6        * TestWebKitAPI/Tests/WebKit/ShouldKeepCurrentBackForwardListItemInList.cpp:
     7        (TestWebKitAPI::setPageLoaderClient):
     8        (TestWebKitAPI::willGoToBackForwardListItem): Deleted.
     9        willGoToBackForwardListItem is unused and unsupported.  Removing its check.
     10
    1112018-08-27  Daniel Bates  <dabates@apple.com>
    212
  • trunk/Tools/TestWebKitAPI/Tests/WebKit/ShouldKeepCurrentBackForwardListItemInList.cpp

    r235157 r235405  
    102102}
    103103
    104 static void willGoToBackForwardListItem(WKPageRef, WKBackForwardListItemRef item, WKTypeRef userData, const void*)
    105 {
    106     if (!itemURLLastComponentIsString(item, "simple.html"))
    107         successfulSoFar = false;
    108 }
    109 
    110104static bool shouldKeepCurrentBackForwardListItemInList(WKPageRef page, WKBackForwardListItemRef item, const void*)
    111105{
     
    124118    loaderClient.didFinishLoadForFrame = didFinishLoadForFrame;
    125119    loaderClient.shouldKeepCurrentBackForwardListItemInList = shouldKeepCurrentBackForwardListItemInList;
    126     loaderClient.willGoToBackForwardListItem = willGoToBackForwardListItem;
    127120
    128121    WKPageSetPageLoaderClient(page, &loaderClient.base);
Note: See TracChangeset for help on using the changeset viewer.