Changeset 233203 in webkit


Ignore:
Timestamp:
Jun 26, 2018 10:06:26 AM (6 years ago)
Author:
eric.carlson@apple.com
Message:

Enable mock capture devices on the iOS simulator
https://bugs.webkit.org/show_bug.cgi?id=186846
<rdar://problem/41289134>

Reviewed by Youenn Fablet.

Source/WebKit:

  • Shared/WebPreferences.yaml: Use DEFAULT_MOCK_CAPTURE_DEVICES_ENABLED.
  • Shared/WebPreferencesDefaultValues.h: Define DEFAULT_MOCK_CAPTURE_DEVICES_ENABLED, set to

true in the iOS simulator only.

LayoutTests:

  • platform/ios/TestExpectations: Unskip fast/mediastream/getUserMedia-default.html.
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r233199 r233203  
     12018-06-26  Eric Carlson  <eric.carlson@apple.com>
     2
     3        Enable mock capture devices on the iOS simulator
     4        https://bugs.webkit.org/show_bug.cgi?id=186846
     5        <rdar://problem/41289134>
     6
     7        Reviewed by Youenn Fablet.
     8
     9        * platform/ios/TestExpectations: Unskip fast/mediastream/getUserMedia-default.html.
     10
    1112018-06-26  Per Arne Vollan  <pvollan@apple.com>
    212
  • trunk/LayoutTests/platform/ios/TestExpectations

    r233132 r233203  
    8888
    8989# Not supported on iOS
    90 fast/mediastream
    9190fast/speechsynthesis
    9291gamepad
    9392mhtml
     93
     94# Some media stream tests crash because of OS issues, so skip all but one while we investigate.
     95fast/mediastream [ Skip ]
     96fast/mediastream/getUserMedia-default.html [ Pass ]
    9497
    9598# ENABLE(MEDIA_CAPTURE) is not enabled
  • trunk/Source/WebKit/ChangeLog

    r233195 r233203  
     12018-06-26  Eric Carlson  <eric.carlson@apple.com>
     2
     3        Enable mock capture devices on the iOS simulator
     4        https://bugs.webkit.org/show_bug.cgi?id=186846
     5        <rdar://problem/41289134>
     6
     7        Reviewed by Youenn Fablet.
     8
     9        * Shared/WebPreferences.yaml: Use DEFAULT_MOCK_CAPTURE_DEVICES_ENABLED.
     10        * Shared/WebPreferencesDefaultValues.h: Define DEFAULT_MOCK_CAPTURE_DEVICES_ENABLED, set to
     11        true in the iOS simulator only.
     12
    1132018-06-26  Fujii Hironori  <Hironori.Fujii@sony.com>
    214
  • trunk/Source/WebKit/Shared/WebPreferences.yaml

    r233115 r233203  
    571571MockCaptureDevicesEnabled:
    572572  type: bool
    573   defaultValue: false
     573  defaultValue: DEFAULT_MOCK_CAPTURE_DEVICES_ENABLED
    574574  webcoreBinding: DeprecatedGlobalSettings
    575575  condition: ENABLE(MEDIA_STREAM)
  • trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h

    r232515 r233203  
    113113#define DEFAULT_ACCELERATED_DRAWING_ENABLED false
    114114#define DEFAULT_CANVAS_USES_ACCELERATED_DRAWING false
     115#define DEFAULT_MOCK_CAPTURE_DEVICES_ENABLED true
    115116#else
    116117#define DEFAULT_ACCELERATED_DRAWING_ENABLED true
    117118#define DEFAULT_CANVAS_USES_ACCELERATED_DRAWING true
     119#define DEFAULT_MOCK_CAPTURE_DEVICES_ENABLED false
    118120#endif
    119121
Note: See TracChangeset for help on using the changeset viewer.