gecko-dev/security
Dana Keeler b3b9e414bc bug 1493427 - use the docShell to call OnSecurityChange in nsSecureBrowserUIImpl::OnLocationChange r=Gijs
When navigating to an about: page that doesn't exist (e.g.
"about:somethingthatdoesnotexist"), the docShell will call
nsSecureBrowserUIImpl::OnLocationChange with a request that is null.
Consequently, we can't use that to QueryInterface to a nsISecurityEventSink to
call OnSecurityChange. The previous implementation would use the prior
request's nsISecurityEventSink, which was a bug but luckily this produced the
correct behavior. Since the original docShell the nsSecureBrowserUIImpl was
initialized with is what needs to be notified, we can just QueryInterface that
to an nsISecurityEventSink and call OnSecurityChange directly instead.

Differential Revision: https://phabricator.services.mozilla.com/D6951

--HG--
rename : browser/base/content/test/siteIdentity/browser_tls_handshake_failure.js => browser/base/content/test/siteIdentity/browser_navigation_failures.js
extra : moz-landing-system : lando
2018-09-27 17:26:00 +00:00
..
apps
certverifier Bug 1492414 - Modify CertBlocklist interface to a form that should work with Rust XPCom bindings r=keeler 2018-09-21 13:10:40 +00:00
manager bug 1493427 - use the docShell to call OnSecurityChange in nsSecureBrowserUIImpl::OnLocationChange r=Gijs 2018-09-27 17:26:00 +00:00
nss Bug 1488622 - land NSS 2c85f81f9b5e UPGRADE_NSS_RELEASE, r=me 2018-09-22 17:04:35 -07:00
pkix Bug 1491849 - Disable C5045 only if optimization is disabled. r=dmajor 2018-09-15 21:20:32 +09:00
sandbox Backed out 2 changesets (bug 1479035) for assertion failure: mEvents. CLOSED TREE 2018-09-26 23:40:13 +03:00
.eslintrc.js Bug 1487246: Enable the eslint no-sequences rule. r=Standard8 2018-08-29 16:15:33 -07:00
generate_certdata.py
generate_mapfile.py
moz.build
nss.symbols