RESOLVED FIXED 221591
Add API to disable HTTPS upgrade
https://bugs.webkit.org/show_bug.cgi?id=221591
Summary Add API to disable HTTPS upgrade
Alex Christensen
Reported 2021-02-08 19:19:29 PST
Add API to disable HTTPS upgrade
Attachments
Patch (28.81 KB, patch)
2021-02-08 19:28 PST, Alex Christensen
no flags
Patch (26.32 KB, patch)
2021-02-12 10:11 PST, Alex Christensen
ews-feeder: commit-queue-
Alex Christensen
Comment 1 2021-02-08 19:28:12 PST
Geoffrey Garen
Comment 2 2021-02-08 21:06:43 PST
Comment on attachment 419669 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=419669&action=review r=me > Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration.h:134 > +/*! @abstract A Boolean value indicating whether HTTP requests to servers known to support HTTPS should be automatically upgraded to HTTPS requests. > + @discussion The default value is YES. > + */ > +@property (nonatomic) BOOL upgradeCommonKnownRequestsToHTTPS WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); This property should probably go through API review. I think "upgradeKnownHostsToHTTPS" might be a better name. I removed "Common" because common is not an clear threshold, and probably not the salient part of the feature. I changed "Requests" to "Hosts" because the feature is per-host. This will get a little awkward if we ever offer API to disable HSTS. Oh well.
Alex Christensen
Comment 3 2021-02-12 10:11:21 PST
Radar WebKit Bug Importer
Comment 4 2021-02-15 19:20:16 PST
Alex Christensen
Comment 5 2021-02-16 11:40:25 PST
Note You need to log in before you can comment on or make changes to this bug.