Changeset 214666 in webkit


Ignore:
Timestamp:
Mar 31, 2017 6:37:33 AM (7 years ago)
Author:
Carlos Garcia Campos
Message:

Modern media controls should never be enabled in non cocoa ports
https://bugs.webkit.org/show_bug.cgi?id=170338

Reviewed by Michael Catanzaro.

It's currently enabled, because it uses the default value for all other runtime features, but modern media
controls are not a cross-platform feature. I think this is why media/video-click-dblckick-standalone.html
started to fail in GTK+ port after r214426. I can't reprouduce the failure locally, so I can't confirm it,
though.

  • Shared/WebPreferencesDefinitions.h:
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r214658 r214666  
     12017-03-31  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        Modern media controls should never be enabled in non cocoa ports
     4        https://bugs.webkit.org/show_bug.cgi?id=170338
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        It's currently enabled, because it uses the default value for all other runtime features, but modern media
     9        controls are not a cross-platform feature. I think this is why media/video-click-dblckick-standalone.html
     10        started to fail in GTK+ port after r214426. I can't reprouduce the failure locally, so I can't confirm it,
     11        though.
     12
     13        * Shared/WebPreferencesDefinitions.h:
     14
    1152017-03-30  Zan Dobersek  <zdobersek@igalia.com>
    216
  • trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h

    r214080 r214666  
    317317#endif
    318318
     319#if PLATFORM(COCOA)
     320#define DEFAULT_MODERN_MEDIA_CONTROLS_ENABLED true
     321#else
     322#define DEFAULT_MODERN_MEDIA_CONTROLS_ENABLED false
     323#endif
     324
    319325#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101200
    320326// <https://webkit.org/b/168415> El Capitan NetworkLoadTiming values are sometimes jumbled
     
    336342    macro(SpringTimingFunctionEnabled, springTimingFunctionEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "CSS Spring Animations", "CSS Spring Animation prototype") \
    337343    macro(LinkPreloadEnabled, linkPreloadEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Link Preload", "Link preload support") \
    338     macro(ModernMediaControlsEnabled, modernMediaControlsEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Modern Media Controls", "Use modern media controls look") \
     344    macro(ModernMediaControlsEnabled, modernMediaControlsEnabled, Bool, bool, DEFAULT_MODERN_MEDIA_CONTROLS_ENABLED, "Modern Media Controls", "Use modern media controls look") \
    339345    macro(ResourceTimingEnabled, resourceTimingEnabled, Bool, bool, DEFAULT_RESOURCE_TIMING_ENABLED, "Resource Timing", "Enable ResourceTiming API") \
    340346    macro(SubtleCryptoEnabled, subtleCryptoEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "SubtleCrypto", "Enable SubtleCrypto support") \
Note: See TracChangeset for help on using the changeset viewer.