We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 445d7ff commit 10e02b4Copy full SHA for 10e02b4
src/xss/InjectionChecker.js
@@ -47,7 +47,7 @@ XSS.InjectionChecker = (async () => {
47
if (msg) msg = this._printable(msg);
48
msg = `${msg} - TIME: ${this.timing.elapsed}`;
49
if (iterations) msg = `${msg} - ITER: ${iterations}`;
50
- debug("[InjectionChecker]", msg);
+ debug("[InjectionChecker]", msg, new Error().stack);
51
},
52
53
_printable: function(msg) {
@@ -57,7 +57,7 @@ XSS.InjectionChecker = (async () => {
57
58
log: function() {},
59
get logEnabled() {
60
- return this.log == this._log;
+ return this.log === this._log;
61
62
set logEnabled(v) {
63
this.log = v ? this._log : function() {};
0 commit comments