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 17f3bfd commit 445d7ffCopy full SHA for 445d7ff
src/lib/Timing.js
@@ -31,7 +31,7 @@ class Timing {
31
throw new TimingException(`Timing: exceeded ${this.longTime}ms timeout`);
32
}
33
this.calls = 0;
34
- await Timing.sleep(this.pauseTime);
+ if (this.pauseTime > 0) await Timing.sleep(this.pauseTime);
35
this.lastPause = Date.now();
36
return true;
37
src/xss/InjectionCheckWorker.js
@@ -36,7 +36,7 @@ include("InjectionChecker.js");
let {timing} = ic;
38
timingsMap.set(request.requestId, timing);
39
- timing.fatalTimeout = true;
+ timing.pauseTime = 0; // skip the default 20ms nap
40
41
let postInjection = xssReq.isPost &&
42
request.requestBody && request.requestBody.formData &&
0 commit comments