Check constraints in both overloaded OfflineAudioContext constructors

This commit is contained in:
Fernando Jiménez Moreno 2018-09-20 12:58:34 +02:00
parent d60b14bed5
commit 13b5774017
2 changed files with 17 additions and 35 deletions

View file

@ -1,16 +0,0 @@
[ctor-offlineaudiocontext.html]
[# AUDIT TASK RUNNER FINISHED: 1 out of 4 tasks were failed.]
expected: FAIL
[X new OfflineAudioContext({"length":1,"sampleRate":1}) did not throw an exception.]
expected: FAIL
[X new OfflineAudioContext({"length":0,"sampleRate":8000}) did not throw an exception.]
expected: FAIL
[< [options-2\] 3 out of 3 assertions were failed.]
expected: FAIL
[X new OfflineAudioContext({"length":42,"sampleRate":8000,"numberOfChannels":33}) did not throw an exception.]
expected: FAIL