mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 1779055 - Change private browsing new tab title to "New Private Tab". r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D151534
This commit is contained in:
parent
69e8a22280
commit
0a07b885b5
@ -1000,7 +1000,7 @@
|
||||
// Normal tab title is used also in the permanent private browsing mode.
|
||||
return PrivateBrowsingUtils.isWindowPrivate(window) &&
|
||||
!Services.prefs.getBoolPref("browser.privatebrowsing.autostart")
|
||||
? "tabs.emptyPrivateTabTitle"
|
||||
? "tabs.emptyPrivateTabTitle2"
|
||||
: "tabs.emptyTabTitle";
|
||||
}
|
||||
|
||||
|
@ -72,8 +72,8 @@ function test() {
|
||||
|
||||
is(
|
||||
privateWin.gBrowser.tabs[0].label,
|
||||
"Private Browsing",
|
||||
"New tabs in the private browsing windows should have 'Private Browsing' as the title."
|
||||
"New Private Tab",
|
||||
"New tabs in the private browsing windows should have 'New Private Tab' as the title."
|
||||
);
|
||||
|
||||
privateWin.close();
|
||||
|
@ -3,7 +3,7 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
tabs.emptyTabTitle=New Tab
|
||||
tabs.emptyPrivateTabTitle=Private Browsing
|
||||
tabs.emptyPrivateTabTitle2=New Private Tab
|
||||
tabs.closeTab=Close Tab
|
||||
tabs.close=Close
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user