Changeset 241736 in webkit


Ignore:
Timestamp:
Feb 18, 2019 1:34:26 PM (5 years ago)
Author:
achristensen@apple.com
Message:

Fix API test after r241728

https://bugs.webkit.org/show_bug.cgi?id=194723

  • TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm:

(TEST):
The test should check the default preference value, not make sure the preference is NO after setting it to YES :/

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r241734 r241736  
     12019-02-18  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix API test after r241728
     4       ​https://bugs.webkit.org/show_bug.cgi?id=194723
     5
     6        * TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm:
     7        (TEST):
     8        The test should check the default preference value, not make sure the preference is NO after setting it to YES :/
     9
    1102019-02-18  Daniel Bates  <dabates@apple.com>
    211
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm

    r241728 r241736  
    171171
    172172    auto webView = adoptNS([WKWebView new]);
     173    EXPECT_FALSE([webView configuration].preferences._safeBrowsingEnabled);
    173174    [webView configuration].preferences._safeBrowsingEnabled = YES;
    174175    [webView setNavigationDelegate:delegate.get()];
    175     EXPECT_FALSE([webView configuration].preferences._safeBrowsingEnabled);
    176176    [webView configuration].preferences._safeBrowsingEnabled = YES;
    177177    [webView loadRequest:[NSURLRequest requestWithURL:resourceURL(@"simple")]];
Note: See TracChangeset for help on using the changeset viewer.