| Index: Source/modules/webaudio/AbstractAudioContext.cpp
|
| diff --git a/Source/modules/webaudio/AbstractAudioContext.cpp b/Source/modules/webaudio/AbstractAudioContext.cpp
|
| index 02c46d9010798b899d662f57418bb3ec9cb0a078..16484cab1bbdcd0bd9cf3bbb75a5a323e88afecc 100644
|
| --- a/Source/modules/webaudio/AbstractAudioContext.cpp
|
| +++ b/Source/modules/webaudio/AbstractAudioContext.cpp
|
| @@ -577,32 +577,6 @@ PeriodicWave* AbstractAudioContext::createPeriodicWave(DOMFloat32Array* real, DO
|
| return nullptr;
|
| }
|
|
|
| - if (real->length() > PeriodicWave::kMaxPeriodicWaveArraySize) {
|
| - exceptionState.throwDOMException(
|
| - IndexSizeError,
|
| - ExceptionMessages::indexOutsideRange(
|
| - "length of the real part array",
|
| - real->length(),
|
| - 1u,
|
| - ExceptionMessages::InclusiveBound,
|
| - PeriodicWave::kMaxPeriodicWaveArraySize,
|
| - ExceptionMessages::InclusiveBound));
|
| - return nullptr;
|
| - }
|
| -
|
| - if (imag->length() > PeriodicWave::kMaxPeriodicWaveArraySize) {
|
| - exceptionState.throwDOMException(
|
| - IndexSizeError,
|
| - ExceptionMessages::indexOutsideRange(
|
| - "length of the imaginary part array",
|
| - imag->length(),
|
| - 1u,
|
| - ExceptionMessages::InclusiveBound,
|
| - PeriodicWave::kMaxPeriodicWaveArraySize,
|
| - ExceptionMessages::InclusiveBound));
|
| - return nullptr;
|
| - }
|
| -
|
| if (real->length() != imag->length()) {
|
| exceptionState.throwDOMException(
|
| IndexSizeError,
|
|
|