haikuwebkit/LayoutTests/webaudio/convolver-channels-expected...

100 lines
4.6 KiB
Plaintext
Raw Permalink Normal View History

Test Supported Number of Channels for ConvolverNode
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS ConvolverNode with buffer of 1 channels did not throw exception.
PASS ConvolverNode with buffer of 2 channels did not throw exception.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS ConvolverNode with buffer of 4 channels did not throw exception.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS function () {
convolver.buffer = buffer;
Make sure WebAudio API throws exceptions with useful error messages https://bugs.webkit.org/show_bug.cgi?id=218033 Reviewed by Darin Adler. LayoutTests/imported/w3c: Rebaseline existing tests now that exception messages have been improved. * web-platform-tests/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-basic-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/convolver-channels-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-convolvernode-interface/ctor-convolver-expected.txt: * web-platform-tests/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit-expected.txt: Source/WebCore: Make sure WebAudio API throws exceptions with useful error messages to be more developer friendly. No new tests, rebaselined existing tests. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::create): * Modules/webaudio/AudioScheduledSourceNode.cpp: (WebCore::AudioScheduledSourceNode::startLater): * Modules/webaudio/AudioWorkletGlobalScope.cpp: (WebCore::AudioWorkletGlobalScope::registerProcessor): * Modules/webaudio/BaseAudioContext.cpp: (WebCore::BaseAudioContext::createScriptProcessor): (WebCore::BaseAudioContext::finishedRendering): * Modules/webaudio/ConvolverNode.cpp: (WebCore::ConvolverNode::setBuffer): * Modules/webaudio/DefaultAudioDestinationNode.cpp: (WebCore::DefaultAudioDestinationNode::startRendering): * Modules/webaudio/DelayNode.cpp: (WebCore::DelayNode::create): * Modules/webaudio/OfflineAudioContext.cpp: (WebCore::OfflineAudioContext::create): * Modules/webaudio/OfflineAudioDestinationNode.cpp: (WebCore::OfflineAudioDestinationNode::startRendering): LayoutTests: Rebaseline existing tests now that exception messages have been improved. * webaudio/Oscillator/oscillator-basic-expected.txt: * webaudio/ScriptProcessor/scriptprocessornode-expected.txt: * webaudio/convolver-channels-expected.txt: * webaudio/convolver-setBuffer-different-samplerate-expected.txt: * webaudio/delaynode-maxdelaylimit-expected.txt: * webaudio/dom-exceptions-expected.txt: Canonical link: https://commits.webkit.org/230752@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@268812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-21 18:38:48 +00:00
} threw exception NotSupportedError: Buffer should have 1, 2 or 4 channels.
PASS successfullyParsed is true
TEST COMPLETE