summaryrefslogtreecommitdiffstats
path: root/dom/base/test/chrome/test_bug1339722.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/test/chrome/test_bug1339722.html')
-rw-r--r--dom/base/test/chrome/test_bug1339722.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/base/test/chrome/test_bug1339722.html b/dom/base/test/chrome/test_bug1339722.html
index d8d95f1faa..7655ff95fa 100644
--- a/dom/base/test/chrome/test_bug1339722.html
+++ b/dom/base/test/chrome/test_bug1339722.html
@@ -29,7 +29,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1339722
// behave similarly.
const TOPIC = "document-on-modify-request";
let win;
- const observe = (subject, topic, data) => {
+ const observe = (subject, topic) => {
info("Got " + topic);
Services.obs.removeObserver(observe, TOPIC);
@@ -58,7 +58,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1339722
// Remove the iframe to cause frameloader destroy.
iframe.remove();
- setTimeout($ => {
+ setTimeout(() => {
ok(!document.getElementById("testFrame"), "verify iframe removed");
SimpleTest.finish();
}, 0);