Skip to content
  • crogers@google.com's avatar
    Update some AudioContext create() method names to latest Web Audio spec · d252816e
    crogers@google.com authored
    https://bugs.webkit.org/show_bug.cgi?id=99888
    
    Reviewed by Adam Barth.
    
    Source/WebCore:
    
    The following AudioContext method names are being changed, with legacy support for the old names:
    createGainNode -> createGain
    createDelayNode -> createDelay
    createJavaScriptNode -> createScriptProcessor
    
    For details:
    https://www.w3.org/Bugs/Public/show_bug.cgi?id=18332
    
    Tests changed: webaudio/delaynode.html, webaudio/gain.html, webaudio/javascriptaudionode.html
    to test coverage of the new names.
    
    * Modules/webaudio/AudioBufferSourceNode.idl:
    * Modules/webaudio/AudioContext.cpp:
    (WebCore::AudioContext::createScriptProcessor):
    (WebCore::AudioContext::createGain):
    (WebCore::AudioContext::createDelay):
    * Modules/webaudio/AudioContext.h:
    (AudioContext):
    * Modules/webaudio/AudioContext.idl:
    * page/FeatureObserver.h:
    
    LayoutTests:
    
    * webaudio/delaynode-expected.txt:
    * webaudio/delaynode.html:
    * webaudio/gain.html:
    * webaudio/javascriptaudionode-expected.txt:
    * webaudio/javascriptaudionode.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d252816e