summaryrefslogtreecommitdiff
path: root/src/bg/ChildPolicies.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/bg/ChildPolicies.js')
-rw-r--r--src/bg/ChildPolicies.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bg/ChildPolicies.js b/src/bg/ChildPolicies.js
index b6904f8..74aeccb 100644
--- a/src/bg/ChildPolicies.js
+++ b/src/bg/ChildPolicies.js
@@ -105,9 +105,10 @@
var ChildPolicies = {
addTabInfoCookie(request, info) {
+ let {tabId, frameId} = request;
let h = {
name: "Set-Cookie",
- value: `${marker}=${JSON.stringify(info)}`
+ value: `${marker}_${tabId}_${frameId}=${JSON.stringify(info)}`
};
let {responseHeaders} = request;
if (responseHeaders.some(({value, name}) => h.value === value && h.name === name)) {