Skip to content

Commit cf84091

Browse files
committed
Add minor tweaks to logging
1 parent 29739f8 commit cf84091

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/bg/RequestGuard.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,6 @@ var RequestGuard = (() => {
641641
}
642642

643643
async function injectPolicyScript(details) {
644-
console.debug("INJECT", details);
645644
let {url, tabId, frameId} = details;
646645
let tab = await browser.tabs.get(tabId);
647646
let policy = ns.computeChildPolicy({url}, {tab, frameId});

src/bg/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
// debug("get policy", cookieStoreId, ns.policy, ns.contextStore);
254254
if (ns.contextStore.policies.hasOwnProperty(cookieStoreId)) {
255255
let currentPolicy = ns.contextStore.policies[cookieStoreId];
256-
debug("has cookiestore", cookieStoreId, currentPolicy);
256+
debug("id", cookieStoreId, "has cookiestore", currentPolicy);
257257
if (currentPolicy) return currentPolicy;
258258
}
259259
debug("default cookiestore", cookieStoreId);

src/ui/ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ var UI = (() => {
130130
// debug("get policy", cookieStoreId, this.policy, this.contextStore);
131131
if (this.contextStore.policies.hasOwnProperty(cookieStoreId)) {
132132
let currentPolicy = this.contextStore.policies[cookieStoreId];
133-
debug("has cookiestore", cookieStoreId, currentPolicy);
133+
debug("id", cookieStoreId, "has cookiestore", currentPolicy);
134134
return currentPolicy;
135135
} else {
136136
debug("default cookiestore", cookieStoreId);

0 commit comments

Comments
 (0)