Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: ios/web/web_state/js/resources/common.js

Issue 1113263002: Autofill: Make the iOS nameForAutofill() match Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/js/resources/common.js
diff --git a/ios/web/web_state/js/resources/common.js b/ios/web/web_state/js/resources/common.js
index 8aa4ad3168361120d7718d959a571ed16d4f5865..4bded3ad7bd20ed4163ecb0a68ff7ebaa28fc2ec 100644
--- a/ios/web/web_state/js/resources/common.js
+++ b/ios/web/web_state/js/resources/common.js
@@ -428,14 +428,6 @@ new function() {
if (trimmedName) {
return __gCrWeb.common.trim(trimmedName);
}
- trimmedName = element.getAttribute('autocomplete');
Lei Zhang 2015/05/09 01:46:53 https://chromereviews.googleplex.com/19497013 whic
- if (trimmedName && trimmedName !== 'off') {
- return __gCrWeb.common.trim(trimmedName);
- }
- trimmedName = element.getAttribute('placeholder');
Lei Zhang 2015/05/09 01:46:53 For placeholder, AKA crbug.com/325206, upstream ev
- if (trimmedName) {
- return __gCrWeb.common.trim(trimmedName);
- }
return '';
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698