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

Unified Diff: third_party/WebKit/Source/core/html/forms/EmailInputType.cpp

Issue 2339113002: Setting a partially completed value on input with type=email produces console warnings (Closed)
Patch Set: Created 4 years, 3 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 | « third_party/WebKit/Source/core/html/forms/EmailInputType.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp b/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
index abeb71640a173c07e54a99adcfff2d106ad5b3cd..92e75158319df590f01dd997a4c79f5b3138c5d6 100644
--- a/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
@@ -248,14 +248,6 @@ String EmailInputType::typeMismatchText() const
return locale().queryString(WebLocalizedString::ValidationTypeMismatchForEmail);
}
-void EmailInputType::warnIfValueIsInvalid(const String& value) const
-{
- String invalidAddress = findInvalidAddress(value);
- if (invalidAddress.isNull())
- return;
- addWarningToConsole("The specified value %s is not a valid email address.", invalidAddress);
-}
-
bool EmailInputType::supportsSelectionAPI() const
{
return false;
« no previous file with comments | « third_party/WebKit/Source/core/html/forms/EmailInputType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698