Changeset 267162 in webkit


Ignore:
Timestamp:
Sep 16, 2020 2:56:04 PM (4 years ago)
Author:
jer.noble@apple.com
Message:

REGRESSION(r266844) [ BigSur ] http/tests/security/webaudio-render-remote-audio-allowed-crossorigin.html is a constant failure
https://bugs.webkit.org/show_bug.cgi?id=216619

Reviewed by Chris Dumez.

Tools:

In r266844, we adopted an API which would cause audio decoding to be supressed when a media element is initially muted. WebKitTestRunner
calls a WebKit SPI to artificially mute all media elements within the page (because listening to LayoutTest beeps and boops is annoying)
which causes this code path to be hit for all media elements. Rather than muting the page, WKTR should do the same as DRT, and set the
output volume to zero.

  • WebKitTestRunner/TestController.cpp:

(WTR::TestController::resetStateToConsistentValues):

LayoutTests:

  • platform/mac-wk2/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r267157 r267162  
     12020-09-16  Jer Noble  <jer.noble@apple.com>
     2
     3        REGRESSION(r266844) [ BigSur ] http/tests/security/webaudio-render-remote-audio-allowed-crossorigin.html is a constant failure
     4        https://bugs.webkit.org/show_bug.cgi?id=216619
     5
     6        Reviewed by Chris Dumez.
     7
     8        * platform/mac-wk2/TestExpectations:
     9
    1102020-09-16  Zalan Bujtas  <zalan@apple.com>
    211
  • trunk/LayoutTests/platform/mac-wk2/TestExpectations

    r267127 r267162  
    13171317[ BigSur+ ] http/tests/media/video-no-content-length-stall.html [ Failure ]
    13181318
    1319 # rdar://68743466 (REGRESSION: [ BigSur wk2 ] http/tests/security/webaudio-render-remote-audio-allowed-crossorigin.html is a constant failure)
    1320 [ BigSur+ ] http/tests/security/webaudio-render-remote-audio-allowed-crossorigin.html [ Failure ]
    1321 
    13221319# rdar://68947260 (REGRESSION (r266634): [ BigSur wk2 ] fast/selectors/text-field-selection-window-inactive-stroke-color.html is a flaky image failure)
    13231320fast/selectors/text-field-selection-window-inactive-stroke-color.html [ Pass ImageOnlyFailure ]
  • trunk/Tools/ChangeLog

    r267161 r267162  
     12020-09-16  Jer Noble  <jer.noble@apple.com>
     2
     3        REGRESSION(r266844) [ BigSur ] http/tests/security/webaudio-render-remote-audio-allowed-crossorigin.html is a constant failure
     4        https://bugs.webkit.org/show_bug.cgi?id=216619
     5
     6        Reviewed by Chris Dumez.
     7
     8        In r266844, we adopted an API which would cause audio decoding to be supressed when a media element is initially muted. WebKitTestRunner
     9        calls a WebKit SPI to artificially mute all media elements within the page (because listening to LayoutTest beeps and boops is annoying)
     10        which causes this code path to be hit for all media elements. Rather than muting the page, WKTR should do the same as DRT, and set the
     11        output volume to zero.
     12
     13        * WebKitTestRunner/TestController.cpp:
     14        (WTR::TestController::resetStateToConsistentValues):
     15
    1162020-09-16  Aakash Jain  <aakash_jain@apple.com>
    217
  • trunk/Tools/WebKitTestRunner/TestController.cpp

    r267123 r267162  
    11001100    WKPageClearWheelEventTestMonitor(m_mainWebView->page());
    11011101
    1102     WKPageSetMuted(m_mainWebView->page(), true);
     1102    WKPageSetMediaVolume(m_mainWebView->page(), 0);
    11031103
    11041104    WKPageClearUserMediaState(m_mainWebView->page());
Note: See TracChangeset for help on using the changeset viewer.