Index: chrome/content/tests/popupBlocker.js |
=================================================================== |
--- a/chrome/content/tests/popupBlocker.js |
+++ b/chrome/content/tests/popupBlocker.js |
@@ -125,11 +125,11 @@ |
wnd.gBrowser.tabContainer.addEventListener("TabOpen", onTabOpen, false); |
wnd.gBrowser.tabContainer.addEventListener("TabClose", onTabClose, false); |
let timeout = window.setTimeout(onTabClose, 1000); // In case the tab isn't opened |
frame.contentDocument.getElementById("link").click(); |
} |
- for each (let [filter, result] in tests) |
+ for (let [filter, result] of tests) |
asyncTest(filter, runTest.bind(null, Filter.fromText(filter), result)); |
})(); |