From d39cf6a1125c4103bd98e0c26c04233317c4ec63 Mon Sep 17 00:00:00 2001 From: JustOff Date: Tue, 21 Aug 2018 18:32:45 +0300 Subject: Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage" --- docshell/base/nsDocShell.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docshell') diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index 8eca474950..21234b896b 100644 --- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -12281,7 +12281,11 @@ nsDocShell::ShouldAddToSessionHistory(nsIURI* aURI) return false; } - if (buf.EqualsLiteral("blank") || buf.EqualsLiteral("newtab")) { + if (buf.EqualsLiteral("blank") || buf.EqualsLiteral("logopage") +#ifndef MC_PALEMOON + || buf.EqualsLiteral("newtab") +#endif + ) { return false; } } -- cgit v1.2.3