Changeset 207562 in webkit


Ignore:
Timestamp:
Oct 19, 2016 1:29:02 PM (8 years ago)
Author:
Chris Dumez
Message:

Move HTML Interactive Form Validation behind an experimental flag
https://bugs.webkit.org/show_bug.cgi?id=163673

Reviewed by Daniel Bates.

Source/WebKit/mac:

Re-disable HTML Interactive Form Validation by default on Mac WK1.

  • WebView/WebViewData.mm:

(-[WebViewPrivate init]):

Source/WebKit2:

Move HTML Interactive Form Validation behind an experimental feature flag
and disable by default until by have a better UI.

  • Shared/WebPreferencesDefinitions.h:
  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner):

Location:
trunk/Source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/mac/ChangeLog

    r207557 r207562  
     12016-10-19  Chris Dumez  <cdumez@apple.com>
     2
     3        Move HTML Interactive Form Validation behind an experimental flag
     4        https://bugs.webkit.org/show_bug.cgi?id=163673
     5
     6        Reviewed by Daniel Bates.
     7
     8        Re-disable HTML Interactive Form Validation by default on Mac WK1.
     9
     10        * WebView/WebViewData.mm:
     11        (-[WebViewPrivate init]):
     12
    1132016-10-19  Myles C. Maxfield  <mmaxfield@apple.com>
    214
  • trunk/Source/WebKit/mac/WebView/WebViewData.mm

    r207426 r207562  
    144144    zoomsTextOnly = NO;
    145145
    146     interactiveFormValidationEnabled = YES;
     146    interactiveFormValidationEnabled = NO;
    147147    // The default value should be synchronized with WebCore/page/Settings.cpp.
    148148    validationMessageTimerMagnification = 50;
  • trunk/Source/WebKit2/ChangeLog

    r207558 r207562  
     12016-10-19  Chris Dumez  <cdumez@apple.com>
     2
     3        Move HTML Interactive Form Validation behind an experimental flag
     4        https://bugs.webkit.org/show_bug.cgi?id=163673
     5
     6        Reviewed by Daniel Bates.
     7
     8        Move HTML Interactive Form Validation behind an experimental feature flag
     9        and disable by default until by have a better UI.
     10
     11        * Shared/WebPreferencesDefinitions.h:
     12        * WebProcess/InjectedBundle/InjectedBundle.cpp:
     13        (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner):
     14
    1152016-10-19  Damian Kaleta  <dkaleta@apple.com>
    216
  • trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h

    r207426 r207562  
    180180    macro(ArtificialPluginInitializationDelayEnabled, artificialPluginInitializationDelayEnabled, Bool, bool, false, "", "") \
    181181    macro(TabToLinksEnabled, tabToLinksEnabled, Bool, bool, false, "", "") \
    182     macro(InteractiveFormValidationEnabled, interactiveFormValidationEnabled, Bool, bool, true, "", "") \
    183182    macro(ScrollingPerformanceLoggingEnabled, scrollingPerformanceLoggingEnabled, Bool, bool, false, "", "") \
    184183    macro(ScrollAnimatorEnabled, scrollAnimatorEnabled, Bool, bool, DEFAULT_WEBKIT_SCROLL_ANIMATOR_ENABLED, "", "") \
     
    291290    macro(SpringTimingFunctionEnabled, springTimingFunctionEnabled, Bool, bool, true, "CSS Spring Animations", "CSS Spring Animation prototype") \
    292291    macro(CustomElementsEnabled, customElementsEnabled, Bool, bool, true, "Custom Elements", "HTML Custom Elements prototype") \
     292    macro(InteractiveFormValidationEnabled, interactiveFormValidationEnabled, Bool, bool, false, "HTML Interactive Form Validation", "HTML interactive form validation prototype") \
    293293    macro(GamepadsEnabled, gamepadsEnabled, Bool, bool, true, "Gamepads", "Web Gamepad API support") \
    294294    macro(ModernMediaControlsEnabled, modernMediaControlsEnabled, Bool, bool, false, "Modern Media Controls", "Use modern media controls look") \
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp

    r206296 r207562  
    208208#endif
    209209
     210    if (preference == "WebKitInteractiveFormValidationEnabled")
     211        RuntimeEnabledFeatures::sharedFeatures().setInteractiveFormValidationEnabled(enabled);
     212
    210213#if ENABLE(WEBGL2)
    211214    if (preference == "WebKitWebGL2Enabled")
Note: See TracChangeset for help on using the changeset viewer.