Title: [209844] trunk/Source/WebCore
Revision
209844
Author
[email protected]
Date
2016-12-14 16:47:54 -0800 (Wed, 14 Dec 2016)

Log Message

Unreviewed, rolling out r209415.

This workaround is no longer needed now that
<rdar://problem/29518605> has been fixed

Reverted changeset:

"Add HTML interactive form validation blacklist for some
WebKit-specific sites"
https://bugs.webkit.org/show_bug.cgi?id=165470
http://trac.webkit.org/changeset/209415

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (209843 => 209844)


--- trunk/Source/WebCore/ChangeLog	2016-12-15 00:35:06 UTC (rev 209843)
+++ trunk/Source/WebCore/ChangeLog	2016-12-15 00:47:54 UTC (rev 209844)
@@ -1,3 +1,17 @@
+2016-12-14  Chris Dumez  <[email protected]>
+
+        Unreviewed, rolling out r209415.
+
+        This workaround is no longer needed now that
+        <rdar://problem/29518605> has been fixed
+
+        Reverted changeset:
+
+        "Add HTML interactive form validation blacklist for some
+        WebKit-specific sites"
+        https://bugs.webkit.org/show_bug.cgi?id=165470
+        http://trac.webkit.org/changeset/209415
+
 2016-12-14  Dean Jackson  <[email protected]>
 
         Update prefers-reduced-motion syntax

Modified: trunk/Source/WebCore/html/HTMLFormElement.cpp (209843 => 209844)


--- trunk/Source/WebCore/html/HTMLFormElement.cpp	2016-12-15 00:35:06 UTC (rev 209843)
+++ trunk/Source/WebCore/html/HTMLFormElement.cpp	2016-12-15 00:47:54 UTC (rev 209844)
@@ -254,14 +254,6 @@
     return false;
 }
 
-static bool isURLBlacklistedForInteractiveFormValidation(const URL& url)
-{
-    // FIXME: Remove this workaround once <rdar://problem/29518605> is fixed.
-    if (url.host() == "idmsa.apple.com")
-        return true;
-    return false;
-}
-
 void HTMLFormElement::prepareForSubmission(Event& event)
 {
     Frame* frame = document().frame();
@@ -271,7 +263,7 @@
     m_isSubmittingOrPreparingForSubmission = true;
     m_shouldSubmit = false;
 
-    bool shouldValidate = document().page() && document().page()->settings().interactiveFormValidationEnabled() && !noValidate() && !isURLBlacklistedForInteractiveFormValidation(document().url());
+    bool shouldValidate = document().page() && document().page()->settings().interactiveFormValidationEnabled() && !noValidate();
 
     HTMLFormControlElement* submitElement = submitElementFromEvent(event);
     if (submitElement && submitElement->formNoValidate())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to