Steps to reproduce:
If a website's SSL cert is expired or throwing some other error, the JS call to view cert doesn't work
javascript:CertificateWarningHandler.showCertificate()
Expected behavior:
Clicking view cert link should open SSL cert viewer
Orion, OS version; hardware type:
MacBook Pro (macOS Monterey 12.6 build 21G115)
Version 0.99.121-beta (WebKit 614.1.20)