| Index: third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor.html b/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor.html
|
| index 8f0332fbb012756f203f88170d714adac5737af2..b80d5d1912f853df213311c7ccdffd95d42477c4 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor.html
|
| @@ -12,10 +12,12 @@ var context;
|
| // Make sure we don't crash when giving 0 as number of frames.
|
| shouldThrow("new OfflineAudioContext(1, 0, 44100)");
|
| // Make sure we don't throw exceptions for supported ranges of sample rates for an OfflineAudioContext.
|
| +shouldThrow("context = new OfflineAudioContext(2, 512, 2999)");
|
| shouldNotThrow("context = new OfflineAudioContext(2, 512, 3000)");
|
| -shouldBeEqualToNumber("context.length", 512);
|
| -shouldNotThrow("context = new OfflineAudioContext(2, 1024, 192000)");
|
| +shouldBeEqualToNumber("context.length", 512);
|
| +shouldNotThrow("context = new OfflineAudioContext(2, 1024, 384000)");
|
| shouldBeEqualToNumber("context.length", 1024);
|
| +shouldThrow("context = new OfflineAudioContext(2, 1024, 384001)");
|
| shouldNotThrow("context = new OfflineAudioContext(2, 2048, 8000)");
|
| shouldBeEqualToNumber("context.length", 2048);
|
| shouldNotThrow("context = new OfflineAudioContext(2, 4096, 11025)");
|
|
|