From 43770cbc85955a1035669db3b2b33c172fb94c15 Mon Sep 17 00:00:00 2001 From: hackademix Date: Mon, 29 Apr 2019 09:45:59 +0200 Subject: Skip dev-mode XSS tests unless the browser is Firefox. --- src/test/XSS_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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([ -- cgit v1.2.3