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 ''; |
}; |