From 57ab5f2d0feff8be94d400b745d06aa55dbde61c Mon Sep 17 00:00:00 2001 From: Ian Neal Date: Tue, 26 May 2020 01:30:14 +0100 Subject: [PATCH] Bug 1640773 - Remove unnecessary nsIFrameLoaderOwner QI from nsSessionStore.js. r=frg --- suite/components/sessionstore/nsSessionStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/components/sessionstore/nsSessionStore.js b/suite/components/sessionstore/nsSessionStore.js index 156fec59dd..e469af96bb 100644 --- a/suite/components/sessionstore/nsSessionStore.js +++ b/suite/components/sessionstore/nsSessionStore.js @@ -2738,7 +2738,7 @@ SessionStoreService.prototype = { if (tabData.storage) { for (let origin of Object.getOwnPropertyNames(tabData.storage)) { try { - let {frameLoader} = browser.QueryInterface(Ci.nsIFrameLoaderOwner); + let {frameLoader} = browser; if (frameLoader.tabParent) { let attrs = browser.contentPrincipal.originAttributes; let dataPrincipal = Services.scriptSecurityManager.createCodebasePrincipalFromOrigin(origin);