mirror of
https://github.com/servo/servo.git
synced 2025-10-03 18:19:14 +01:00
Auto merge of #21757 - ferjm:offlineaudiocontext.constructor, r=jdm
Check constraints in both overloaded OfflineAudioContext constructors - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] There are WPTs tests for these changes and this should fix the remaining OfflineAudioContext failures. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21757) <!-- Reviewable:end -->
This commit is contained in:
commit
81fe52bd9a
2 changed files with 17 additions and 35 deletions
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue