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

Unified Diff: chrome/content/elemHideEmulation.js

Issue 29367181: Issue 4726 - Add tests for the element hiding emulation content script (Closed) Base URL: https://bitbucket.org/fhd/adblockpluscore
Patch Set: Addressed remaining comments Created Jan. 17, 2017, 7:39 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 | « README.md ('k') | lib/common.js » ('j') | test/browser/elemHideEmulation.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/elemHideEmulation.js
===================================================================
--- a/chrome/content/elemHideEmulation.js
+++ b/chrome/content/elemHideEmulation.js
@@ -1,8 +1,11 @@
+// We are currently limited to ECMAScript 5 in this file, because it is being
kzar 2017/01/18 04:17:15 Perhaps mentioning PhantomJS and the version in th
Felix Dahlke 2017/01/19 09:56:51 The information is in the issue, I'd personally ra
+// used in the browser tests. See https://issues.adblockplus.org/ticket/4796
+
var propertySelectorRegExp = /\[\-abp\-properties=(["'])([^"']+)\1\]/;
function splitSelector(selector)
{
if (selector.indexOf(",") == -1)
return [selector];
var selectors = [];
« no previous file with comments | « README.md ('k') | lib/common.js » ('j') | test/browser/elemHideEmulation.js » ('J')

Powered by Google App Engine
This is Rietveld