RESOLVED FIXED 225154
Add SPI to query whether a URL would be upgraded to HTTPS
https://bugs.webkit.org/show_bug.cgi?id=225154
Summary Add SPI to query whether a URL would be upgraded to HTTPS
Alex Christensen
Reported 2021-04-28 09:57:00 PDT
Add SPI to query whether a URL would be upgraded to HTTPS
Attachments
Patch (6.80 KB, patch)
2021-04-28 09:57 PDT, Alex Christensen
no flags
Patch (6.78 KB, patch)
2021-04-28 10:06 PDT, Alex Christensen
no flags
Alex Christensen
Comment 1 2021-04-28 09:57:59 PDT
Alex Christensen
Comment 2 2021-04-28 09:58:02 PDT
Geoffrey Garen
Comment 3 2021-04-28 10:03:28 PDT
Comment on attachment 427271 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427271&action=review r=me -- but let's consider another name > Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h:249 > ++ (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.
Alex Christensen
Comment 4 2021-04-28 10:06:14 PDT
Alex Christensen
Comment 5 2021-04-28 12:00:41 PDT
Note You need to log in before you can comment on or make changes to this bug.