1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

remove stray prototype code from last commit (84b81f751c)

This commit is contained in:
gorhill 2016-06-10 13:28:04 -04:00
parent 84b81f751c
commit f902c53be7

View File

@ -2016,15 +2016,6 @@ var httpObserver = {
// https://github.com/gorhill/uBlock/issues/959
// Try to synthesize a pending request from a behind-the-scene request.
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);
if ( tabId === vAPI.noTabId ) {
return null;