Changeset 236211 in webkit


Ignore:
Timestamp:
Sep 19, 2018 10:17:34 AM (6 years ago)
Author:
youenn@apple.com
Message:

Layout Test webrtc/video-mute.html is flaky.
https://bugs.webkit.org/show_bug.cgi?id=177501

Reviewed by Eric Carlson.

Source/WebCore:

Covered by updated test expectation.

  • platform/mediastream/mac/RealtimeIncomingVideoSourceCocoa.mm:

(WebCore::createBlackPixelBuffer): Make sure the whole buffer is properly initialized.

LayoutTests:

  • platform/ios-wk2/TestExpectations:
  • platform/mac-wk2/TestExpectations:
  • webrtc/routines.js: Increase counter to make test more robust.
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r236210 r236211  
     12018-09-19  Youenn Fablet  <youenn@apple.com>
     2
     3        Layout Test webrtc/video-mute.html is flaky.
     4        https://bugs.webkit.org/show_bug.cgi?id=177501
     5
     6        Reviewed by Eric Carlson.
     7
     8        * platform/ios-wk2/TestExpectations:
     9        * platform/mac-wk2/TestExpectations:
     10        * webrtc/routines.js: Increase counter to make test more robust.
     11
    1122018-09-19  Chris Dumez  <cdumez@apple.com>
    213
  • trunk/LayoutTests/platform/ios-wk2/TestExpectations

    r235897 r236211  
    12351235webkit.org/b/173608 webrtc/video-replace-muted-track.html [ Skip ]
    12361236
    1237 webkit.org/b/177501 webrtc/video-mute.html [ Pass Timeout ]
    1238 
    12391237webkit.org/b/187388 animations/needs-layout.html [ Pass ImageOnlyFailure ]
    12401238webkit.org/b/172397 legacy-animation-engine/animations/needs-layout.html [ Pass ImageOnlyFailure ]
  • trunk/LayoutTests/platform/mac-wk2/TestExpectations

    r236034 r236211  
    784784webkit.org/b/178553 [ HighSierra Release ] imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/011.html [ Skip ]
    785785
    786 webkit.org/b/177501 webrtc/video-mute.html [ Pass Timeout ]
    787 
    788786webkit.org/b/165620 [ Sierra ] http/tests/cache/disk-cache/disk-cache-request-headers.html [ Pass Failure ]
    789787
  • trunk/LayoutTests/webrtc/routines.js

    r236070 r236211  
    196196    if (counter === undefined)
    197197        counter = 0;
    198     if (counter > 50) {
     198    if (counter > 400) {
    199199        if (!errorMessage)
    200200            errorMessage = "checkVideoBlack timed out expecting " + expected;
  • trunk/Source/WebCore/ChangeLog

    r236209 r236211  
     12018-09-19  Youenn Fablet  <youenn@apple.com>
     2
     3        Layout Test webrtc/video-mute.html is flaky.
     4        https://bugs.webkit.org/show_bug.cgi?id=177501
     5
     6        Reviewed by Eric Carlson.
     7
     8        Covered by updated test expectation.
     9
     10        * platform/mediastream/mac/RealtimeIncomingVideoSourceCocoa.mm:
     11        (WebCore::createBlackPixelBuffer): Make sure the whole buffer is properly initialized.
     12
    1132018-09-19  David Kilzer  <ddkilzer@apple.com>
    214
  • trunk/Source/WebCore/platform/mediastream/mac/RealtimeIncomingVideoSourceCocoa.mm

    r236070 r236211  
    7474    ASSERT(status == noErr);
    7575    void* data = CVPixelBufferGetBaseAddress(pixelBuffer);
     76
    7677    size_t yLength = width * height;
    7778    memset(data, 0, yLength);
    78     memset(static_cast<uint8_t*>(data) + yLength, 128, yLength / 2);
     79
     80    auto totalSize = CVPixelBufferGetDataSize(pixelBuffer);
     81    memset(static_cast<uint8_t*>(data) + yLength, 128, totalSize - yLength);
    7982
    8083    status = CVPixelBufferUnlockBaseAddress(pixelBuffer, 0);
Note: See TracChangeset for help on using the changeset viewer.