Changeset 214813 in webkit


Ignore:
Timestamp:
Apr 3, 2017 10:23:43 AM (7 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r214666 - 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:
releases/WebKitGTK/webkit-2.16/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.16/Source/WebKit2/ChangeLog

    r214793 r214813  
     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-04-03  Antti Koivisto  <antti@apple.com>
    216
  • releases/WebKitGTK/webkit-2.16/Source/WebKit2/Shared/WebPreferencesDefinitions.h

    r212557 r214813  
    297297#endif
    298298
     299#if PLATFORM(COCOA)
     300#define DEFAULT_MODERN_MEDIA_CONTROLS_ENABLED true
     301#else
     302#define DEFAULT_MODERN_MEDIA_CONTROLS_ENABLED false
     303#endif
     304
    299305// For experimental features:
    300306// - The type should be boolean.
     
    310316    macro(GamepadsEnabled, gamepadsEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Gamepads", "Web Gamepad API support") \
    311317    macro(LinkPreloadEnabled, linkPreloadEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Link Preload", "Link preload support") \
    312     macro(ModernMediaControlsEnabled, modernMediaControlsEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Modern Media Controls", "Use modern media controls look") \
     318    macro(ModernMediaControlsEnabled, modernMediaControlsEnabled, Bool, bool, DEFAULT_MODERN_MEDIA_CONTROLS_ENABLED, "Modern Media Controls", "Use modern media controls look") \
    313319    macro(InputEventsEnabled, inputEventsEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Input Events", "Enable InputEvents support") \
    314320    macro(PeerConnectionEnabled, peerConnectionEnabled, Bool, bool, false, "WebRTC", "Enable WebRTC API") \
Note: See TracChangeset for help on using the changeset viewer.