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

Unified Diff: chrome/content/common.js

Issue 29324604: Issue 2394 - Added unit tests for CSS property filters (Closed)
Patch Set: Rebased and adapted to review changes from #2392 and #2393 Created Nov. 25, 2015, 6:53 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 | « no previous file | chrome/content/tests/cssRules.js » ('j') | chrome/content/tests/cssRules.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/common.js
===================================================================
--- a/chrome/content/common.js
+++ b/chrome/content/common.js
@@ -37,7 +37,8 @@
}
let {Filter, InvalidFilter, CommentFilter, ActiveFilter, RegExpFilter,
- BlockingFilter, WhitelistFilter, ElemHideBase, ElemHideFilter, ElemHideException} = require("filterClasses");
+ BlockingFilter, WhitelistFilter, ElemHideBase, ElemHideFilter,
+ ElemHideException, CSSPropertyFilter} = require("filterClasses");
let {Subscription, SpecialSubscription, RegularSubscription,
ExternalSubscription, DownloadableSubscription} = require("subscriptionClasses");
let {defaultMatcher, Matcher, CombinedMatcher} = require("matcher");
@@ -45,6 +46,7 @@
let {FilterNotifier} = require("filterNotifier");
let {FilterStorage} = require("filterStorage");
let {ElemHide} = require("elemHide");
+let {CSSRules} = require("cssRules");
let {IO} = require("io");
let {Notification} = require("notification");
let {Prefs} = require("prefs");
@@ -83,6 +85,7 @@
defaultMatcher.clear();
ElemHide.clear();
+ CSSRules.clear();
}
function restoreFilterComponents()
« no previous file with comments | « no previous file | chrome/content/tests/cssRules.js » ('j') | chrome/content/tests/cssRules.js » ('J')

Powered by Google App Engine
This is Rietveld