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

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

Issue 2339493002: Remove useless validation check for email type. (Closed)
Patch Set: Remove noisy value validation warnings for email input type. 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..1f9ea09017b82ab83c1e172b359abe9e3b4e4338 100644
--- a/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp
@@ -248,13 +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
{
« 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