Summary: | URLs clicked on from -[WKWebView _showSafeBrowsingWarningWithURL:title:warning:details:completionHandler:] are ignored | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Richard Houle <rhoule> | ||||||||||
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Critical | CC: | achristensen, beidson, webkit-bug-importer | ||||||||||
Priority: | P1 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | All | ||||||||||||
OS: | macOS 10.15 | ||||||||||||
Attachments: |
|
Description
Richard Houle
2020-06-04 23:29:35 PDT
Comment on attachment 401122 [details] Proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=401122&action=review > Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:-2155 > -- (void)_showSafeBrowsingWarningWithTitle:(NSString *)title warning:(NSString *)warning details:(NSAttributedString *)details completionHandler:(void(^)(BOOL))completionHandler This changes and removes SPI, will it break using ToT WebKit with shipping Safari? It will. I will submit a modified patch that keeps compatibility with shipping Safari. Created attachment 401350 [details]
Proposed fix V2
Comment on attachment 401350 [details]
Proposed fix V2
You should use WK_MAC_TBA and WK_IOS_TBA in the WK_API_AVAILABLE macros.
You should also add a ChangeLog entry with the change.
Created attachment 401351 [details]
Proposed fix V3
You need to change the file Source/WebKit/ChangeLog Created attachment 401352 [details]
Proposed fix V4
Committed r262732: <https://trac.webkit.org/changeset/262732> All reviewed patches have been landed. Closing bug and clearing flags on attachment 401352 [details]. |