summaryrefslogtreecommitdiffstats
path: root/caps/tests/mochitest/test_bug995943.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'caps/tests/mochitest/test_bug995943.xhtml')
-rw-r--r--caps/tests/mochitest/test_bug995943.xhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/caps/tests/mochitest/test_bug995943.xhtml b/caps/tests/mochitest/test_bug995943.xhtml
index 0ba95f548d..fc7c0b022f 100644
--- a/caps/tests/mochitest/test_bug995943.xhtml
+++ b/caps/tests/mochitest/test_bug995943.xhtml
@@ -33,7 +33,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=995943
function checkLoadFileURI(domain, shouldLoad) {
debug("Invoking checkLoadFileURI with domain: " + domain + ", shouldLoad: " + shouldLoad);
- return new Promise(function(resolve, reject) {
+ return new Promise(function(resolve) {
$('ifr').addEventListener('load', function l1() {
debug("Invoked l1 for " + domain);
$('ifr').removeEventListener('load', l1);