Skip dev-mode XSS tests unless the browser is Firefox.

This commit is contained in:
hackademix 2019-04-29 09:45:59 +02:00
parent 0c2df08d78
commit 43770cbc85
1 changed files with 1 additions and 1 deletions

View File

@ -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([