mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 00:02:37 +00:00

The `MockSecurityInfo` instances in the patched devtools tests are not actually being used as `nsITransportSecurityInfo` instances; while `QueryInterface` methods were generated for the them, these were never called. Additionally, the methods they are being passed to are not XPCOM-defined and therefore do not strictly require `nsITransportSecurityInfo`. In addition `NetworkHelper#parseSecurityInfo` now requires its `securityInfo` to be `QueryInterface`d to a `nsITransportSecurityInfo` before calling the function (except in the case of `MockSecurityInfo`, which is structurally similar). Differential Revision: https://phabricator.services.mozilla.com/D40521 --HG-- extra : moz-landing-system : lando