⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 236476 in webkit


Ignore:
Timestamp:
Sep 25, 2018, 2:31:29 PM (8 years ago)
Author:
eric.carlson@apple.com
Message:

[MediaStream] Update constraints supported by getDisplayMedia
​https://bugs.webkit.org/show_bug.cgi?id=189930
<rdar://problem/44740305>

Unreviewed, fix test broken by r236465.

  • TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMedia.mm:

(TestWebKitAPI::TEST_F):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r236475 r236476  
     12018-09-25  Eric Carlson  <eric.carlson@apple.com>
     2
     3        [MediaStream] Update constraints supported by getDisplayMedia
     4        https://bugs.webkit.org/show_bug.cgi?id=189930
     5        <rdar://problem/44740305>
     6
     7        Unreviewed, fix test broken by r236465.
     8
     9        * TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMedia.mm:
     10        (TestWebKitAPI::TEST_F):
     11
    1122018-09-25  Myles C. Maxfield  <mmaxfield@apple.com>
    213
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/GetDisplayMedia.mm

    r226412 r236476  
    153153{
    154154    promptForCapture(@"{ audio: true, video: true }", true);
    155     promptForCapture(@"{ audio: true, video: false }", true);
     155    promptForCapture(@"{ audio: true, video: false }", false);
    156156    promptForCapture(@"{ audio: false, video: true }", true);
    157157    promptForCapture(@"{ audio: false, video: false }", false);
    … …  
    160160TEST_F(GetDisplayMediaTest, Constraints)
    161161{
    162     promptForCapture(@"{ video: {width: 640} }", false);
    163     promptForCapture(@"{ video: true, audio: { volume: 0.5 } }", false);
    164     promptForCapture(@"{ video: {height: 480}, audio: true }", false);
     162    promptForCapture(@"{ video: {width: 640} }", true);
     163    promptForCapture(@"{ video: true, audio: { volume: 0.5 } }", true);
     164    promptForCapture(@"{ video: {height: 480}, audio: true }", true);
     165    promptForCapture(@"{ video: {width: { exact: 640} } }", false);
    165166}
    166167
Note: See TracChangeset for help on using the changeset viewer.