diff options
author | hackademix | 2019-04-29 09:45:59 +0200 |
---|---|---|
committer | hackademix | 2019-04-29 09:45:59 +0200 |
commit | 43770cbc85955a1035669db3b2b33c172fb94c15 (patch) | |
tree | cf582dee70292c72e44b05a1bc78dc8e8ad2a505 /src/test | |
parent | 0c2df08d783549f74801e060d5656f9f1f7f22ac (diff) | |
download | noscript-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.js | 2 |
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([ |