summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorhackademix2019-04-29 09:45:59 +0200
committerhackademix2019-04-29 09:45:59 +0200
commit43770cbc85955a1035669db3b2b33c172fb94c15 (patch)
treecf582dee70292c72e44b05a1bc78dc8e8ad2a505 /src/test
parent0c2df08d783549f74801e060d5656f9f1f7f22ac (diff)
downloadnoscript-43770cbc85955a1035669db3b2b33c172fb94c15.tar.gz
noscript-43770cbc85955a1035669db3b2b33c172fb94c15.tar.xz
noscript-43770cbc85955a1035669db3b2b33c172fb94c15.zip
Skip dev-mode XSS tests unless the browser is Firefox.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/XSS_test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/XSS_test.js b/src/test/XSS_test.js
index 99cbb3d..3ec798c 100644
--- a/src/test/XSS_test.js
+++ b/src/test/XSS_test.js
@@ -1,4 +1,4 @@
-{
+if (UA.isMozilla) {
let y = async (url, originUrl = '') => await XSS.maybe({originUrl, url, method: "GET"});
let n = async (...args) => !await y(...args);
Promise.all([