Browse Source

Firefox: behind-the-scene request types

pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
223240bba0
  1. 5
      platform/firefox/vapi-background.js

5
platform/firefox/vapi-background.js

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