Firefox: behind-the-scene request types

pull/2/head
Deathamns 9 years ago committed by gorhill
parent bace1708f9
commit 223240bba0

@ -1064,7 +1064,10 @@ var httpObserver = {
var lastRequest = this.lastRequest;
if ( lastRequest.url === null ) {
this.handleRequest(channel, URI, {tabId: vAPI.noTabId, type: 1});
this.handleRequest(channel, URI, {
tabId: vAPI.noTabId,
type: channel.loadInfo && channel.loadInfo.contentPolicyType || 1
});
return;
}

Loading…
Cancel
Save