1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

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
parent 1c7dbcfb7c
commit a4755ad177
+5 -1
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;
}
}