Summary: | Add SPI to query whether a URL would be upgraded to HTTPS | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alex Christensen <achristensen> | ||||||
Component: | New Bugs | Assignee: | Alex Christensen <achristensen> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ggaren, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Alex Christensen
2021-04-28 09:57:00 PDT
Created attachment 427271 [details]
Patch
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. Created attachment 427274 [details]
Patch
|