From ad2bc8df74038f8f47c28c0309130f310c4d78b4 Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 7 Apr 2015 16:27:11 -0400 Subject: [PATCH] removed spurious lines of code --- platform/firefox/frameModule.js | 3 --- platform/firefox/vapi-background.js | 3 --- 2 files changed, 6 deletions(-) diff --git a/platform/firefox/frameModule.js b/platform/firefox/frameModule.js index f4f6829ac..94d1c6931 100644 --- a/platform/firefox/frameModule.js +++ b/platform/firefox/frameModule.js @@ -168,9 +168,6 @@ const contentObserver = { type: type, url: location.spec }; - if ( type === 7 ) { - details.attrSrc = context.frameElement.getAttribute('src'); - } if ( typeof messageManager.sendRpcMessage === 'function' ) { // https://bugzil.la/1092216 diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 1a216b16d..c32e26c8f 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -1311,9 +1311,6 @@ vAPI.net.registerListeners = function() { type: details.type, url: details.url }; - if ( details.attrSrc !== undefined ) { - lastRequest[0].attrSrc = details.attrSrc; - } }; vAPI.messaging.globalMessageManager.addMessageListener(