Browse Source

this fixes #172

pull/2/head
gorhill 10 years ago
parent
commit
4f2ecc710d
  1. 4
      platform/firefox/vapi-background.js

4
platform/firefox/vapi-background.js

@ -1185,10 +1185,10 @@ var httpObserver = {
result = vAPI.net.onHeadersReceived.callback({ result = vAPI.net.onHeadersReceived.callback({
hostname: URI.asciiHost, hostname: URI.asciiHost,
parentFrameId: type === 6 ? -1 : 0,
parentFrameId: type === 'main_frame' ? -1 : 0,
responseHeaders: result ? [{name: topic, value: result}] : [], responseHeaders: result ? [{name: topic, value: result}] : [],
tabId: channelData[0], tabId: channelData[0],
type: this.typeMap[type] || 'other',
type: type,
url: URI.asciiSpec url: URI.asciiSpec
}); });

Loading…
Cancel
Save