Issue #756 - Remove Contextual Identity from Basilisk

This commit is contained in:
Gaming4JC 2019-03-18 20:51:28 -04:00 • committed by Roy Tam
commit ac50c95756
46 changed files with 39 additions and 1467 deletions

View file

@ -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