removed spurious lines of code

This commit is contained in:
gorhill 2015-04-07 16:27:11 -04:00
parent f396e95a85
commit ad2bc8df74
2 changed files with 0 additions and 6 deletions

View File

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

View File

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