Add SPI to query whether a URL would be upgraded to HTTPS
Created attachment 427271 [details]
Comment on attachment 427271 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=427271&action=review
r=me -- but let's consider another name
> ++ (BOOL)_shouldUpgradeToHTTPS:(NSURL *)url WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA));
I think I would call this _willUpgradeToHTTPS, since it's a question about what the WebView will do.
Created attachment 427274 [details]