1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-01 18:10:17 +12:00

Firefox: behind-the-scene request types

This commit is contained in:
Deathamns 2015-02-28 07:38:41 +01:00 committed by gorhill
parent bace1708f9
commit 223240bba0

View file

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