mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
remove stray prototype code from last commit (84b81f751c
)
This commit is contained in:
parent
84b81f751c
commit
f902c53be7
@ -2016,15 +2016,6 @@ var httpObserver = {
|
|||||||
// https://github.com/gorhill/uBlock/issues/959
|
// https://github.com/gorhill/uBlock/issues/959
|
||||||
// Try to synthesize a pending request from a behind-the-scene request.
|
// Try to synthesize a pending request from a behind-the-scene request.
|
||||||
synthesizePendingRequest: function(channel, rawtype) {
|
synthesizePendingRequest: function(channel, rawtype) {
|
||||||
var data = this.channelDataFromChannel(channel);
|
|
||||||
if ( data !== null ) {
|
|
||||||
return {
|
|
||||||
frameId: data[0],
|
|
||||||
parentFrameId: data[1],
|
|
||||||
tabId: data[2],
|
|
||||||
rawtype: data[3]
|
|
||||||
};
|
|
||||||
}
|
|
||||||
var tabId = this.tabIdFromChannel(channel);
|
var tabId = this.tabIdFromChannel(channel);
|
||||||
if ( tabId === vAPI.noTabId ) {
|
if ( tabId === vAPI.noTabId ) {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user