Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage"

This commit is contained in:
JustOff 2018-08-21 18:32:45 +03:00 committed by Roy Tam
commit a4755ad177

View file

@ -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;
}
}