summaryrefslogtreecommitdiffstats
path: root/docshell/test/mochitest/test_content_javascript_loads.html
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/test/mochitest/test_content_javascript_loads.html')
-rw-r--r--docshell/test/mochitest/test_content_javascript_loads.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docshell/test/mochitest/test_content_javascript_loads.html b/docshell/test/mochitest/test_content_javascript_loads.html
index eabc1d314e..d82cdf35aa 100644
--- a/docshell/test/mochitest/test_content_javascript_loads.html
+++ b/docshell/test/mochitest/test_content_javascript_loads.html
@@ -13,7 +13,7 @@
<script type="application/javascript">
"use strict";
-function promiseMessage(source, filter = event => true) {
+function promiseMessage(source, filter = () => true) {
return new Promise(resolve => {
function listener(event) {
if (event.source == source && filter(event)) {