summaryrefslogtreecommitdiffstats
path: root/browser/components/sessionstore/SessionHistory.jsm
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-30 23:05:55 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-30 23:05:55 +0200
commit3dec348f43b3633cdcd1cfa52bc24b0fba45cb84 (patch)
treeb1d1415a87d7d049d7ebbae4c0e7953045cbfe7a /browser/components/sessionstore/SessionHistory.jsm
parent2cb9f3ceb89038721eb9528dcc56dd33b66b0c85 (diff)
downloadUXP-3dec348f43b3633cdcd1cfa52bc24b0fba45cb84.tar
UXP-3dec348f43b3633cdcd1cfa52bc24b0fba45cb84.tar.gz
UXP-3dec348f43b3633cdcd1cfa52bc24b0fba45cb84.tar.lz
UXP-3dec348f43b3633cdcd1cfa52bc24b0fba45cb84.tar.xz
UXP-3dec348f43b3633cdcd1cfa52bc24b0fba45cb84.zip
Bug 1307736 - Store triggeringPrincipal with all history entries
Diffstat (limited to 'browser/components/sessionstore/SessionHistory.jsm')
-rw-r--r--browser/components/sessionstore/SessionHistory.jsm5
1 files changed, 4 insertions, 1 deletions
diff --git a/browser/components/sessionstore/SessionHistory.jsm b/browser/components/sessionstore/SessionHistory.jsm
index aa9c10379..3d28d87db 100644
--- a/browser/components/sessionstore/SessionHistory.jsm
+++ b/browser/components/sessionstore/SessionHistory.jsm
@@ -95,7 +95,10 @@ var SessionHistoryInternal = {
// record it. For about:blank we explicitly want an empty array without
// an 'index' property to denote that there are no history entries.
if (uri != "about:blank" || (body && body.hasChildNodes())) {
- data.entries.push({ url: uri });
+ data.entries.push({
+ url: uri,
+ triggeringPrincipal_base64: Utils.SERIALIZED_SYSTEMPRINCIPAL
+ });
data.index = 1;
}
}