diff options
author | joenotcharles <joenotcharles@chromium.org> | 2016-01-14 09:00:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-14 17:01:29 +0000 |
commit | 46bebf29983b58a58732216a7ed5740a43024397 (patch) | |
tree | 31c901de35c19a8653f100e5dc6257d02f7ece4f /content/public/test/async_file_test_helper.cc | |
parent | e4071b1c232210e43a7236445f141b0e3e8acfb4 (diff) | |
download | chromium_src-46bebf29983b58a58732216a7ed5740a43024397.zip chromium_src-46bebf29983b58a58732216a7ed5740a43024397.tar.gz chromium_src-46bebf29983b58a58732216a7ed5740a43024397.tar.bz2 |
Check url path as well as document title to detect formless autofill page
Autofill checks the document title on page load to decide whether input
elements outside forms should be considered part of a checkout flow. Also
check the path part of the url for documents without a title tag.
Originally the title check used a case-insensitive regex but
http://crrev.com/1419373006 replaced that with a string compare for
performance. As a side effect this made the comparison case-sensitive.
This patch also restores the case-insensitive title comparison.
BUG=555010
Review URL: https://codereview.chromium.org/1508293006
Cr-Commit-Position: refs/heads/master@{#369436}
Diffstat (limited to 'content/public/test/async_file_test_helper.cc')
0 files changed, 0 insertions, 0 deletions