diff options
author | hackademix | 2019-09-24 11:38:47 +0200 |
---|---|---|
committer | hackademix | 2019-09-24 11:38:47 +0200 |
commit | deb108761dcb36ea01e4346d746898c8c4aaf54a (patch) | |
tree | 9ba115d22b6e31c2713abd34887e7bd96aa79f89 /src/xss | |
parent | da1fdcb173d0eb26fc2badbd52da5ac6ced1b043 (diff) | |
download | noscript-deb108761dcb36ea01e4346d746898c8c4aaf54a.tar.gz noscript-deb108761dcb36ea01e4346d746898c8c4aaf54a.tar.xz noscript-deb108761dcb36ea01e4346d746898c8c4aaf54a.zip |
Removed XSS prompt for timeouts.
Diffstat (limited to 'src/xss')
-rw-r--r-- | src/xss/XSS.js | 2 |
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; } |