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

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

Issue 6309214725079040: Issue 1409 - Fix some errors in adblockplustest (Closed)
Patch Set: Created Sept. 19, 2014, 10:35 a.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/tests/matcher.js ('k') | chrome/content/tests/synchronizer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/tests/popupBlocker.js
===================================================================
--- a/chrome/content/tests/popupBlocker.js
+++ b/chrome/content/tests/popupBlocker.js
@@ -100,17 +100,17 @@
});
}
function onTabClose(event)
{
wnd.gBrowser.tabContainer.removeEventListener("TabClose", onTabClose, false);
ok(result == successful, "Opening tab with filter " + filter.text);
var keys = [];
- for (key in defaultMatcher.blacklist.keywordByFilter)
+ for (let key in defaultMatcher.blacklist.keywordByFilter)
keys.push(key);
FilterStorage.removeFilter(filter);
start();
}
wnd.gBrowser.tabContainer.addEventListener("TabOpen", onTabOpen, false);
wnd.gBrowser.tabContainer.addEventListener("TabClose", onTabClose, false);
« no previous file with comments | « chrome/content/tests/matcher.js ('k') | chrome/content/tests/synchronizer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld