diff options
author | JustOff <Off.Just.Off@gmail.com> | 2018-08-21 18:32:45 +0300 |
---|---|---|
committer | JustOff <Off.Just.Off@gmail.com> | 2018-08-21 18:32:45 +0300 |
commit | d39cf6a1125c4103bd98e0c26c04233317c4ec63 (patch) | |
tree | a5b0442971d12166142940e0eed3590ea16d0466 | |
parent | 7231eca3c132907c095a66aa8b135a822aeffc7b (diff) | |
download | UXP-d39cf6a1125c4103bd98e0c26c04233317c4ec63.tar UXP-d39cf6a1125c4103bd98e0c26c04233317c4ec63.tar.gz UXP-d39cf6a1125c4103bd98e0c26c04233317c4ec63.tar.lz UXP-d39cf6a1125c4103bd98e0c26c04233317c4ec63.tar.xz UXP-d39cf6a1125c4103bd98e0c26c04233317c4ec63.zip |
Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage"
-rw-r--r-- | docshell/base/nsDocShell.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index 8eca47495..21234b896 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; } } |