commit | bf29fb367d40c5b6fc9f41a1c268daa78e4aa031 | [log] [tgz] |
---|---|---|
author | tkent <tkent@chromium.org> | Thu Jun 02 09:41:51 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jun 02 09:43:25 2016 |
tree | 35693d4e3ee71ad1ee9849c1164ed712c7c0bbbf | |
parent | 217bd0280d1a9cfd18ade5f2f3c744e8cfb0a0f4 [diff] |
INPUT pattern attribute: Enable "unicode" flag. Pass UTF16 flag to ScriptRegexp. Additional changes: * ScriptRegexp records an exception message from V8 in order to show friendly console errors. * BaseTextInputType caches ScripRegexp to avoid to show same console errors repeatedly. * Move BaseTextInputType constructor and destructor to .cpp file to avoid to include ScriptRegexp.h in BaseTextInputType.h. Intent-to-ship: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/XUNMtri0tI4/qIsHgTWNAQAJ BUG=535441 Review-Url: https://codereview.chromium.org/2037553002 Cr-Commit-Position: refs/heads/master@{#397352}