gecko-dev/browser
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
..
actors Bug 1490810 - Simulate Fission for browser actors by blocking them from receiving sub-frame events. r=kmag 2018-09-26 21:46:18 +00:00
app Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-27 00:56:23 +03:00
base bug 1493427 - use the docShell to call OnSecurityChange in nsSecureBrowserUIImpl::OnLocationChange r=Gijs 2018-09-27 17:26:00 +00:00
branding Bug 1471657 - Update Nightly DMG background to high-res r=Dolske 2018-08-21 20:54:30 +00:00
components Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-27 19:45:35 +03:00
config Bug 1477490: Merge upstream ASan patch to unpoison thread stacks. r=ted 2018-09-20 17:40:38 -04:00
docs
extensions Bug 1405112 - report whether the user has a touch screen when reporting site issues r=Gijs 2018-09-25 19:27:20 +00:00
fonts
installer Bug 1490575 - Remove MOZ_MULET checks from build files. r=froydnj 2018-09-11 23:16:36 -07:00
locales Backed out changeset eade7b300216 (bug 1488788) for browser_shownRestartRequired.js CS tests failures CLOSED TREE 2018-09-25 01:07:33 +03:00
modules Bug 1490015: Allow tab previews to direct load data uris. r=Gijs 2018-09-26 21:09:49 +00:00
themes Bug 1492841 - Add tab icon for switch-to-tab UrlbarView results. r=adw 2018-09-26 12:32:50 +02:00
tools/mozscreenshots Bug 1485676 - Adapt mozscreenshot code to async TargetFactory.forTab. r=yulia 2018-09-24 09:53:00 -07:00
.eslintrc.js
app.mozbuild
build.mk
confvars.sh Bug 1482256 - Support switching to browser.xul to browser.xhtml. r=mossop 2018-08-14 13:13:38 -07:00
defs.mk
LICENSE
Makefile.in
moz.build Bug 1465251 - use PrioEncoder to encode Telemetry values for pilot project r=kmag 2018-09-09 00:23:52 +00:00
moz.configure Bug 1493315: Build config for dedicated profiles and downgrade protection. r=ted 2018-09-21 23:32:55 +00:00