diff options
author | jyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-30 02:38:09 +0000 |
---|---|---|
committer | jyasskin@chromium.org <jyasskin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-30 02:38:09 +0000 |
commit | 117afcfa7b69462b4dbf70075bb22518f7c227be (patch) | |
tree | 06ecbd2d69c32e931910af95f96a3962df62d3ce /content/DEPS | |
parent | af77a2d04aa84ee7e2aebe57b9f9395163a9f9b9 (diff) | |
download | chromium_src-117afcfa7b69462b4dbf70075bb22518f7c227be.zip chromium_src-117afcfa7b69462b4dbf70075bb22518f7c227be.tar.gz chromium_src-117afcfa7b69462b4dbf70075bb22518f7c227be.tar.bz2 |
Check and canonicalize CSS selectors before registering PageStateMatchers.
Checking the selectors here gives error messages when a
developer has a typo instead of just failing to match anything.
Canonicalizing the selectors improves compatibility with the upcoming
Blink watchSelectors API, which will send back generated selector
strings instead of exactly what the user set.
I also added support in our testing infrastructure to assert that a thrown exception's message matches a regular expression.
BUG=172011
Review URL: https://chromiumcodereview.appspot.com/23478003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220487 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/DEPS')
0 files changed, 0 insertions, 0 deletions