summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-08-21 18:32:45 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-08-21 18:32:45 +0300
commit6195ab14a37e2123f02a7cd7aa79aad30569b37e (patch)
treea5b0442971d12166142940e0eed3590ea16d0466
parentffe881b45929461dd8efb712e44a7373ebb2c045 (diff)
downloaduxp-6195ab14a37e2123f02a7cd7aa79aad30569b37e.tar.gz
Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage"
-rw-r--r--docshell/base/nsDocShell.cpp6
1 files changed, 5 insertions, 1 deletions
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;
}
}