1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-29 11:30:20 +12:00

Firefox: use correct data for parentFrameId

This commit is contained in:
Deathamns 2015-01-27 17:56:04 +01:00 committed by gorhill
parent f4a7378ff2
commit 1ee1bd052a

View file

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