Hi,
Is there a way for the code in
https://dxr.mozilla.org/mozilla-central/source/security/manager/ssl/SSLServerCertVerification.cpp
to obtain the nsHttpChannel that triggered the TLS handshake? I'm not
seeing an obvious way to do so, but I'm not particularly familiar with
this codebase.
I'm asking in the context of
https://bugzilla.mozilla.org/show_bug.cgi?id=1322748 ; I'd like to
trigger webRequest events so that WebExtensions can alter the
certificate validation result. If there's a better way to provide
similar functionality, please feel free to suggest it -- I'm totally
open to a different approach, I'm just not an expert on the codebase and
this looked like a plausible approach.
Cheers,
--
-Jeremy Rand
Lead Application Engineer at Namecoin
Mobile email:
jeremyra...@airmail.cc
Mobile OpenPGP: 2158 0643 C13B B40F B0FD 5854 B007 A32D AB44 3D9C
Send non-security-critical things to my Mobile with OpenPGP.
Please don't send me unencrypted messages.
My business email
jer...@veclabs.net is having technical issues at the
moment.