Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a59dfde83041b73130bc86f01dbb0fc2702f66af
https://github.com/WebKit/WebKit/commit/a59dfde83041b73130bc86f01dbb0fc2702f66af
Author: Matthew Finkel <[email protected]>
Date: 2026-07-01 (Wed, 01 Jul 2026)
Changed paths:
M Tools/MiniBrowser/mac/SettingsController.h
M Tools/MiniBrowser/mac/SettingsController.m
M Tools/MiniBrowser/mac/WK2BrowserWindowController.m
Log Message:
-----------
[cocoa] Add MiniBrowser setting for allowing all TLS certificates
https://bugs.webkit.org/show_bug.cgi?id=318296
rdar://problem/181081781
Reviewed by Alex Christensen.
This is only a setting for WK2. The setting is disabled by default, and it
allows loading a page with any TLS certificate (regardless of passing
validation). If the setting is enabled, then we accept an invalid certificate
and continue loading the page.
* Tools/MiniBrowser/mac/SettingsController.h:
* Tools/MiniBrowser/mac/SettingsController.m:
(-[SettingsController _populateMenu:]):
(-[SettingsController validateMenuItem:]):
(-[SettingsController toggleAcceptAllTLSCertificates:]):
(-[SettingsController acceptAllTLSCertificates]):
* Tools/MiniBrowser/mac/WK2BrowserWindowController.m:
(-[WK2BrowserWindowController
webView:didReceiveAuthenticationChallenge:completionHandler:]):
Canonical link: https://commits.webkit.org/316310@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications