Browse Source

Firefox: use correct data for parentFrameId

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

2
platform/firefox/vapi-background.js

@ -988,7 +988,7 @@ var httpObserver = {
result = vAPI.net.onHeadersReceived.callback({
hostname: URI.asciiHost,
parentFrameId: channelData[0] === this.MAIN_FRAME ? -1 : 0,
parentFrameId: channelData[4],
responseHeaders: result ? [{name: topic, value: result}] : [],
tabId: channelData[1],
url: URI.asciiSpec

Loading…
Cancel
Save