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

Unified Diff: messageResponder.js

Issue 29340898: Issue 3999 - Response to filters.get/cssproperties message should contain filter text (Closed)
Patch Set: Created April 27, 2016, 5:43 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: messageResponder.js
===================================================================
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -217,17 +217,18 @@
RegExpFilter.typeMap.ELEMHIDE))
{
filters = CSSRules.getRulesForDomain(sender.frame.url.hostname);
filters = filters.map(function(filter)
{
return {
prefix: filter.selectorPrefix,
suffix: filter.selectorSuffix,
- regexp: filter.regexpString
+ regexp: filter.regexpString,
+ text: filter.text
};
});
}
callback(filters);
break;
}
var subscription = Subscription.fromURL(message.subscriptionUrl);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld