Regression(r209252): HTML interactive validation should not be enabled on iOS WK1 yet
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Dec 2016 22:17:16 +0000 (22:17 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Dec 2016 22:17:16 +0000 (22:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=165328

Reviewed by Simon Fraser.

Only enable HTML interactive form validation on Mac WK1, not iOS WK1.

* WebView/WebViewData.mm:
(-[WebViewPrivate init]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209267 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebViewData.mm

index 31dc525..8db8c2d 100644 (file)
@@ -1,5 +1,17 @@
 2016-12-02  Chris Dumez  <cdumez@apple.com>
 
+        Regression(r209252): HTML interactive validation should not be enabled on iOS WK1 yet
+        https://bugs.webkit.org/show_bug.cgi?id=165328
+
+        Reviewed by Simon Fraser.
+
+        Only enable HTML interactive form validation on Mac WK1, not iOS WK1.
+
+        * WebView/WebViewData.mm:
+        (-[WebViewPrivate init]):
+
+2016-12-02  Chris Dumez  <cdumez@apple.com>
+
         [Mac][WK1] Implement new HTML interactive form validation user interface
         https://bugs.webkit.org/show_bug.cgi?id=164483
 
index 74f7e6b..779736a 100644 (file)
@@ -144,7 +144,11 @@ WebViewLayerFlushScheduler::WebViewLayerFlushScheduler(LayerFlushController* flu
     zoomMultiplier = 1;
     zoomsTextOnly = NO;
 
+#if PLATFORM(MAC)
     interactiveFormValidationEnabled = YES;
+#else
+    interactiveFormValidationEnabled = NO;
+#endif
     // The default value should be synchronized with WebCore/page/Settings.cpp.
     validationMessageTimerMagnification = 50;