mirror of https://github.com/gorhill/uBlock.git
removed spurious lines of code
This commit is contained in:
parent
f396e95a85
commit
ad2bc8df74
|
@ -168,9 +168,6 @@ const contentObserver = {
|
||||||
type: type,
|
type: type,
|
||||||
url: location.spec
|
url: location.spec
|
||||||
};
|
};
|
||||||
if ( type === 7 ) {
|
|
||||||
details.attrSrc = context.frameElement.getAttribute('src');
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( typeof messageManager.sendRpcMessage === 'function' ) {
|
if ( typeof messageManager.sendRpcMessage === 'function' ) {
|
||||||
// https://bugzil.la/1092216
|
// https://bugzil.la/1092216
|
||||||
|
|
|
@ -1311,9 +1311,6 @@ vAPI.net.registerListeners = function() {
|
||||||
type: details.type,
|
type: details.type,
|
||||||
url: details.url
|
url: details.url
|
||||||
};
|
};
|
||||||
if ( details.attrSrc !== undefined ) {
|
|
||||||
lastRequest[0].attrSrc = details.attrSrc;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
vAPI.messaging.globalMessageManager.addMessageListener(
|
vAPI.messaging.globalMessageManager.addMessageListener(
|
||||||
|
|
Loading…
Reference in New Issue