summaryrefslogtreecommitdiffstats
path: root/dom/security/test/unit/test_csp_reports.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/security/test/unit/test_csp_reports.js')
-rw-r--r--dom/security/test/unit/test_csp_reports.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/security/test/unit/test_csp_reports.js b/dom/security/test/unit/test_csp_reports.js
index 36da1a13e5..3d5a00b0f6 100644
--- a/dom/security/test/unit/test_csp_reports.js
+++ b/dom/security/test/unit/test_csp_reports.js
@@ -23,7 +23,7 @@ const REPORT_SERVER_URI = "http://localhost";
* or fails a test based on what it gets.
*/
function makeReportHandler(testpath, message, expectedJSON) {
- return function (request, response) {
+ return function (request) {
// we only like "POST" submissions for reports!
if (request.method !== "POST") {
do_throw("violation report should be a POST request");