Skip to content

Commit

Permalink
[GTK][WPE] Enable interactive forms validation by default
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=177737

Reviewed by Michael Catanzaro.

It's currently disabled for no reason.

* Shared/WebPreferencesDefinitions.h:

Canonical link: https://commits.webkit.org/193991@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
carlosgcampos committed Oct 2, 2017
1 parent 56d05a3 commit 2878b79
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
11 changes: 11 additions & 0 deletions Source/WebKit/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
2017-10-02 Carlos Garcia Campos <cgarcia@igalia.com>

[GTK][WPE] Enable interactive forms validation by default
https://bugs.webkit.org/show_bug.cgi?id=177737

Reviewed by Michael Catanzaro.

It's currently disabled for no reason.

* Shared/WebPreferencesDefinitions.h:

2017-10-02 Michael Catanzaro <mcatanzaro@igalia.com>

Remove ENABLE_CSS_REGIONS
Expand Down
8 changes: 1 addition & 7 deletions Source/WebKit/Shared/WebPreferencesDefinitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@
#define DEFAULT_PDFPLUGIN_ENABLED false
#endif

#if PLATFORM(COCOA)
#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
Expand Down Expand Up @@ -294,7 +288,7 @@
macro(EncryptedMediaAPIEnabled, encryptedMediaAPIEnabled, Bool, bool, false, "", "") \
macro(MediaPreloadingEnabled, mediaPreloadingEnabled, 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") \
macro(InteractiveFormValidationEnabled, interactiveFormValidationEnabled, Bool, bool, true, "HTML Interactive Form Validation", "HTML interactive form validation") \
macro(ShouldSuppressKeyboardInputDuringProvisionalNavigation, shouldSuppressKeyboardInputDuringProvisionalNavigation, Bool, bool, false, "", "") \
macro(CSSGridLayoutEnabled, cssGridLayoutEnabled, Bool, bool, true, "CSS Grid", "CSS Grid Layout Module support") \
macro(GamepadsEnabled, gamepadsEnabled, Bool, bool, true, "Gamepads", "Web Gamepad API support") \
Expand Down

0 comments on commit 2878b79

Please sign in to comment.