diff options
Diffstat (limited to 'components/sessionstore/SessionHistory.jsm')
-rw-r--r-- | components/sessionstore/SessionHistory.jsm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/sessionstore/SessionHistory.jsm b/components/sessionstore/SessionHistory.jsm index 3d28d87..907a608 100644 --- a/components/sessionstore/SessionHistory.jsm +++ b/components/sessionstore/SessionHistory.jsm @@ -64,11 +64,10 @@ var SessionHistoryInternal = { * The docShell that owns the session history. */ collect: function (docShell) { - let loadContext = docShell.QueryInterface(Ci.nsILoadContext); let webNavigation = docShell.QueryInterface(Ci.nsIWebNavigation); let history = webNavigation.sessionHistory.QueryInterface(Ci.nsISHistoryInternal); - let data = {entries: [], userContextId: loadContext.originAttributes.userContextId }; + let data = {entries: []}; if (history && history.count > 0) { // Loop over the transaction linked list directly so we can get the |