From fe9fefce310442da38b54e86ae4259f2a8bd93b9 Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 10 Apr 2015 17:38:08 -0400 Subject: [PATCH] removed pointless lines -- remnants of trying out stuff --- 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 71ce100ca..f99d08977 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 e4404bfa8..842ed3901 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(