Bug 1536504 - Update outdated comment about _blank.html r=mixedpuppy

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Rob Wu 2019-03-19 16:51:50 +00:00
parent d1458a807e
commit 0bf802b216

View File

@ -372,7 +372,7 @@ bool ExtensionProtocolHandler::ResolveSpecialCases(const nsACString& aHost,
const nsACString& aPath,
const nsACString& aPathname,
nsACString& aResult) {
// Create special moz-extension:-pages such as moz-extension://foo/_blank.html
// Create special moz-extension://foo/_generated_background_page.html page
// for all registered extensions. We can't just do this as a substitution
// because substitutions can only match on host.
if (!SubstitutingProtocolHandler::HasSubstitution(aHost)) {