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

Unified Diff: test/filterClasses.js

Issue 30002601: Issue 7284 - Move CSS escaping to createStyleSheet (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: more nits Created Feb. 18, 2019, 1:50 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 | « test/elemHide.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/filterClasses.js
===================================================================
--- a/test/filterClasses.js
+++ b/test/filterClasses.js
@@ -440,26 +440,26 @@
exports.testElemHideRulesWithBraces = function(test)
{
compareFilter(
test, "###foo{color: red}", [
"type=elemhide",
"text=###foo{color: red}",
"selectorDomains=",
- "selector=#foo\\7B color: red\\7D ",
+ "selector=#foo{color: red}",
"domains="
]
);
compareFilter(
test, "foo.com#?#:-abp-properties(/margin: [3-4]{2}/)", [
"type=elemhideemulation",
"text=foo.com#?#:-abp-properties(/margin: [3-4]{2}/)",
"selectorDomains=foo.com",
- "selector=:-abp-properties(/margin: [3-4]\\7B 2\\7D /)",
+ "selector=:-abp-properties(/margin: [3-4]{2}/)",
"domains=foo.com"
]
);
test.done();
};
exports.testSnippetFilters = function(test)
{
« no previous file with comments | « test/elemHide.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld