summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
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 3ec798c..4337e2f 100644
--- a/src/test/XSS_test.js
+++ b/src/test/XSS_test.js
@@ -1,5 +1,5 @@
if (UA.isMozilla) {
- let y = async (url, originUrl = '') => await XSS.maybe({originUrl, url, method: "GET"});
+ let y = async (url, originUrl = '') => await XSS.maybe(XSS.parseRequest({originUrl, url, method: "GET"}));
let n = async (...args) => !await y(...args);
Promise.all([
() => y("https://noscript.net/<script"),