From 1ee1bd052a52ad6576e85b15c97c722a1851ee67 Mon Sep 17 00:00:00 2001 From: Deathamns Date: Tue, 27 Jan 2015 17:56:04 +0100 Subject: [PATCH] Firefox: use correct data for parentFrameId --- platform/firefox/vapi-background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index e3cdd6c..a982043 100644 --- a/platform/firefox/vapi-background.js +++ b/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