Skip to content
  • jer.noble@apple.com's avatar
    REGRESSION(r151302): Many broken webaudio/ tests on Mac port. · 6a93d537
    jer.noble@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=117446
    
    Reviewed by Chris Rogers.
    
    Source/WebCore:
    
    The new "pageConsentRequiredForAudioStart()" restriction was blocking playback event
    even when page consent was given. Remvoe the restriction immediately in that case.
    
    * Modules/webaudio/AudioContext.cpp:
    (WebCore::AudioContext::startRendering):
    
    LayoutTests:
    
    Re-enable the tests on mac-wk2 and add new baselines for codec and audiobuffersource tests.
    
    * platform/mac-wk2/TestExpectations:
    * platform/mac-wk2/webaudio/audiobuffersource-loop-points-expected.wav: Added.
    * platform/mac-wk2/webaudio/audiobuffersource-playbackrate-expected.wav: Added.
    * platform/mac-wk2/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav: Added.
    * platform/mac-wk2/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav: Added.
    * platform/mac-wk2/webaudio/codec-tests/wav/24bit-22khz-resample-expected.wav: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6a93d537