Changeset 234960 in webkit


Ignore:
Timestamp:
Aug 16, 2018 3:10:20 PM (6 years ago)
Author:
achristensen@apple.com
Message:

Add temporary SPI WKContextHandlesSafeBrowsing
https://bugs.webkit.org/show_bug.cgi?id=188676

Reviewed by Joseph Pecoraro.

WebKit showing the safe browsing warning doesn't play well with Safari showing the safe browsing warning.
I plan to adopt this SPI in Safari to disable Safari's safe browsing check if it's true.
Then when I implement safe browsing in WebKit, I can switch this value to true in the same change and
not have a broken Safari.

  • UIProcess/API/C/mac/WKContextPrivateMac.h:
  • UIProcess/API/C/mac/WKContextPrivateMac.mm:

(WKContextHandlesSafeBrowsing):

Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r234958 r234960  
     12018-08-16  Alex Christensen  <achristensen@webkit.org>
     2
     3        Add temporary SPI WKContextHandlesSafeBrowsing
     4        https://bugs.webkit.org/show_bug.cgi?id=188676
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        WebKit showing the safe browsing warning doesn't play well with Safari showing the safe browsing warning.
     9        I plan to adopt this SPI in Safari to disable Safari's safe browsing check if it's true.
     10        Then when I implement safe browsing in WebKit, I can switch this value to true in the same change and
     11        not have a broken Safari.
     12
     13        * UIProcess/API/C/mac/WKContextPrivateMac.h:
     14        * UIProcess/API/C/mac/WKContextPrivateMac.mm:
     15        (WKContextHandlesSafeBrowsing):
     16
    1172018-08-16  Ben Richards  <benton_richards@apple.com>
    218
  • trunk/Source/WebKit/UIProcess/API/C/mac/WKContextPrivateMac.h

    r212473 r234960  
    7575WK_EXPORT bool WKContextShouldSuggestBlockWebGL();
    7676
     77WK_EXPORT bool WKContextHandlesSafeBrowsing();
     78
    7779#ifdef __cplusplus
    7880}
  • trunk/Source/WebKit/UIProcess/API/C/mac/WKContextPrivateMac.mm

    r232520 r234960  
    173173#endif
    174174}
     175
     176bool WKContextHandlesSafeBrowsing()
     177{
     178    return false;
     179}
Note: See TracChangeset for help on using the changeset viewer.