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

Unified Diff: chrome/content/tests/elemhide.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
« no previous file with comments | « chrome/content/index.html ('k') | chrome/content/tests/filterClasses.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/tests/elemhide.js
===================================================================
--- a/chrome/content/tests/elemhide.js
+++ b/chrome/content/tests/elemhide.js
@@ -131,17 +131,17 @@
start();
});
};
frame.contentWindow.location.href = "http://localhost:1234/test";
}
FilterNotifier.addListener(listener);
- for each (let filter in filters)
+ for (let filter of filters)
ElemHide.add(Filter.fromText(filter));
ElemHide.isDirty = true;
ElemHide.apply();
}
let stageDescriptions = {
1: "running without exceptions",
2: "running with whitelisted document",
« no previous file with comments | « chrome/content/index.html ('k') | chrome/content/tests/filterClasses.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld