| 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 |
| +// 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 = []; |