Skip to content
Permalink
Browse files
[Mac][WK2] Enable HTML interactive form validation
https://bugs.webkit.org/show_bug.cgi?id=165123
<rdar://problem/28944652>

Reviewed by Simon Fraser.

Enable HTML interactive form validation now that we have a native UI
for it.

* Shared/WebPreferencesDefinitions.h:


Canonical link: https://commits.webkit.org/182750@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209060 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
cdumez committed Nov 29, 2016
1 parent 4032e3a commit 04777331dbf4e11749617df4278a4f10973f207c
Showing with 20 additions and 1 deletion.
  1. +13 −0 Source/WebKit2/ChangeLog
  2. +7 −1 Source/WebKit2/Shared/WebPreferencesDefinitions.h
@@ -1,3 +1,16 @@
2016-11-28 Chris Dumez <cdumez@apple.com>

[Mac][WK2] Enable HTML interactive form validation
https://bugs.webkit.org/show_bug.cgi?id=165123
<rdar://problem/28944652>

Reviewed by Simon Fraser.

Enable HTML interactive form validation now that we have a native UI
for it.

* Shared/WebPreferencesDefinitions.h:

2016-11-28 Brent Fulgham <bfulgham@apple.com>

Generated sandbox profile is not being put in the correct Resources directory
@@ -54,6 +54,12 @@
#define DEFAULT_PDFPLUGIN_ENABLED false
#endif

#if PLATFORM(MAC)
#define DEFAULT_HTML_INTERACTIVE_FORM_VALIDATION_ENABLED true
#else
#define DEFAULT_HTML_INTERACTIVE_FORM_VALIDATION_ENABLED false
#endif

#if PLATFORM(IOS)
#define DEFAULT_ALLOWS_PICTURE_IN_PICTURE_MEDIA_PLAYBACK true
#define DEFAULT_BACKSPACE_KEY_NAVIGATION_ENABLED false
@@ -238,6 +244,7 @@
macro(CustomElementsEnabled, customElementsEnabled, Bool, bool, true, "", "") \
macro(EncryptedMediaAPIEnabled, encryptedMediaAPIEnabled, Bool, bool, false, "", "") \
macro(IntersectionObserverEnabled, intersectionObserverEnabled, Bool, bool, false, "Intersection Observer", "Enable Intersection Observer support") \
macro(InteractiveFormValidationEnabled, interactiveFormValidationEnabled, Bool, bool, DEFAULT_HTML_INTERACTIVE_FORM_VALIDATION_ENABLED, "HTML Interactive Form Validation", "HTML interactive form validation") \
\

#define FOR_EACH_WEBKIT_DOUBLE_PREFERENCE(macro) \
@@ -305,7 +312,6 @@
#define FOR_EACH_WEBKIT_EXPERIMENTAL_FEATURE_PREFERENCE(macro) \
macro(CSSGridLayoutEnabled, cssGridLayoutEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "CSS Grid", "CSS Grid Layout Module support") \
macro(SpringTimingFunctionEnabled, springTimingFunctionEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "CSS Spring Animations", "CSS Spring Animation prototype") \
macro(InteractiveFormValidationEnabled, interactiveFormValidationEnabled, Bool, bool, false, "HTML Interactive Form Validation", "HTML interactive form validation prototype") \
macro(GamepadsEnabled, gamepadsEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Gamepads", "Web Gamepad API support") \
macro(ModernMediaControlsEnabled, modernMediaControlsEnabled, Bool, bool, false, "Modern Media Controls", "Use modern media controls look") \
macro(VariationFontsEnabled, variationFontsEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Variation Fonts", "Enable variation fonts") \

0 comments on commit 0477733

Please sign in to comment.