summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhackademix2019-09-24 11:38:47 +0200
committerhackademix2019-09-24 11:38:47 +0200
commitdeb108761dcb36ea01e4346d746898c8c4aaf54a (patch)
tree9ba115d22b6e31c2713abd34887e7bd96aa79f89 /src
parentda1fdcb173d0eb26fc2badbd52da5ac6ced1b043 (diff)
downloadnoscript-deb108761dcb36ea01e4346d746898c8c4aaf54a.tar.gz
noscript-deb108761dcb36ea01e4346d746898c8c4aaf54a.tar.xz
noscript-deb108761dcb36ea01e4346d746898c8c4aaf54a.zip
Removed XSS prompt for timeouts.
Diffstat (limited to 'src')
-rw-r--r--src/xss/XSS.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xss/XSS.js b/src/xss/XSS.js
index 14a2ad6..f41e2a2 100644
--- a/src/xss/XSS.js
+++ b/src/xss/XSS.js
@@ -58,7 +58,7 @@ var XSS = (() => {
data = [];
} catch (e) {
error(e, "XSS filter processing %o", xssReq);
- if (e instanceof TimingException && !/\btimeout\b/i.test(e.message)) {
+ if (e instanceof TimingException) {
// we don't want prompts if the request expired / errored first
return;
}