Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/tests/popupBlocker.js

Issue 6423769060999168: Issue 301 - adblockplustests: Use for (.. of ..) (Closed)
Patch Set: Created April 12, 2014, 1:48 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
})();
« no previous file with comments | « chrome/content/tests/performance/page_load_overhead.html ('k') | chrome/content/tests/subscriptionClasses.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld