Quiet down unnecessary debug logging (issue #191).
This commit is contained in:
parent
b7fdaa84d0
commit
61db56d39d
|
@ -624,10 +624,10 @@ var RequestGuard = (() => {
|
|||
let {url, tabId, frameId} = details;
|
||||
let policy = ns.computeChildPolicy({url}, {tab: {id: tabId}, frameId});
|
||||
policy.navigationURL = url;
|
||||
let debugStatement = ns.local.debug ? `console.debug("domPolicy", domPolicy, mark);` : '';
|
||||
return `
|
||||
let debugStatement = ns.local.debug ? `
|
||||
let mark = Date.now() + ":" + Math.random();
|
||||
console.log("domPolicy", document.readyState, mark);
|
||||
console.debug("domPolicy", domPolicy, document.readyState, mark);` : '';
|
||||
return `
|
||||
let domPolicy = ${JSON.stringify(policy)};
|
||||
let {ns} = window;
|
||||
if (ns) {
|
||||
|
|
2
src/nscl
2
src/nscl
|
@ -1 +1 @@
|
|||
Subproject commit 7154eefaba0a1e4d6075feb0a719838658398769
|
||||
Subproject commit 672993281a8d07b2b7c1c3f73d36160f735ea31e
|
Loading…
Reference in New Issue