Richard Pospesel pushed to branch base-browser-102.8.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits:
-
1aaacc15
by Pier Angelo Vendrame at 2023-02-22T11:35:58+00:00
1 changed file:
Changes:
... | ... | @@ -77,7 +77,7 @@ static const RedirEntry kRedirMap[] = { |
77 | 77 | #endif
|
78 | 78 | {"policies", "chrome://browser/content/policies/aboutPolicies.html",
|
79 | 79 | nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI},
|
80 | - {"privatebrowsing", "chrome://browser/content/aboutPrivateBrowsing.html",
|
|
80 | + {"privatebrowsing", "about:blank",
|
|
81 | 81 | nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
|
82 | 82 | nsIAboutModule::URI_MUST_LOAD_IN_CHILD | nsIAboutModule::ALLOW_SCRIPT |
|
83 | 83 | nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS},
|
... | ... | @@ -190,7 +190,8 @@ AboutRedirector::NewChannel(nsIURI* aURI, nsILoadInfo* aLoadInfo, |
190 | 190 | // enabled about:newtab. Disabled about:newtab page uses fallback.
|
191 | 191 | if (path.EqualsLiteral("home") ||
|
192 | 192 | (StaticPrefs::browser_newtabpage_enabled() &&
|
193 | - path.EqualsLiteral("newtab"))) {
|
|
193 | + path.EqualsLiteral("newtab")) ||
|
|
194 | + path.EqualsLiteral("privatebrowsing")) {
|
|
194 | 195 | nsCOMPtr<nsIAboutNewTabService> aboutNewTabService =
|
195 | 196 | do_GetService("@mozilla.org/browser/aboutnewtab-service;1", &rv);
|
196 | 197 | NS_ENSURE_SUCCESS(rv, rv);
|