-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #21602 - ferjm:audiobuffer.crash, r=<try>
Fix AudioBuffer crash - [X] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [X] There are tests for these changes <!-- 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/21602) <!-- Reviewable:end -->
- Loading branch information
Showing
7 changed files
with
54 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
...udio-api/the-audiobuffersourcenode-interface/audiobuffersource-playbackrate-zero.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
[audiobuffersource-playbackrate-zero.html] | ||
expected: CRASH | ||
[< [synthesize-verify\] 1 out of 1 assertions were failed.] | ||
expected: FAIL | ||
|
||
[X The zero playbackRate should hold the sample value. Expected 0.5 but got 0.5001220703125 at the index 4097 Got false.] | ||
expected: FAIL | ||
|
||
[# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] | ||
expected: FAIL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 21 additions & 1 deletion
22
...ta/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-play.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
[note-grain-on-play.html] | ||
expected: CRASH | ||
[X Number of grains that started at the correct time is not equal to 100. Got 1.] | ||
expected: FAIL | ||
|
||
[X Pulse 0 boundary expected to be equal to the array [0,441\] but differs in 1 places:\n\tIndex\tActual\t\t\tExpected\n\t[1\]\t4.8520000000000000e+3\t4.4100000000000000e+2] | ||
expected: FAIL | ||
|
||
[X Number of start frames is not equal to 100. Got 1.] | ||
expected: FAIL | ||
|
||
[X Number of grains out of 100 that ended at the wrong time is not equal to 0. Got 1.] | ||
expected: FAIL | ||
|
||
[< [note-grain-on-play\] 5 out of 8 assertions were failed.] | ||
expected: FAIL | ||
|
||
[X Number of end frames is not equal to 100. Got 1.] | ||
expected: FAIL | ||
|
||
[# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] | ||
expected: FAIL | ||
|
2 changes: 1 addition & 1 deletion
2
.../metadata/webaudio/the-audio-api/the-audionode-interface/audionode-channel-rules.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[audionode-channel-rules.html] | ||
expected: CRASH | ||
expected: TIMEOUT |
10 changes: 9 additions & 1 deletion
10
...baudio/the-audio-api/the-audioparam-interface/audioparam-connect-audioratesignal.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
[audioparam-connect-audioratesignal.html] | ||
expected: CRASH | ||
[# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] | ||
expected: FAIL | ||
|
||
[X Rendered signal exactly matches the audio-rate gain changing signal is not true. Got false.] | ||
expected: FAIL | ||
|
||
[< [test\] 1 out of 2 assertions were failed.] | ||
expected: FAIL | ||
|
10 changes: 9 additions & 1 deletion
10
...adata/webaudio/the-audio-api/the-audioparam-interface/audioparam-summingjunction.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
[audioparam-summingjunction.html] | ||
expected: CRASH | ||
[# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] | ||
expected: FAIL | ||
|
||
[X Rendered signal matches sum of two audio-rate gain changing signals plus baseline gain is not true. Got false.] | ||
expected: FAIL | ||
|
||
[< [test\] 1 out of 2 assertions were failed.] | ||
expected: FAIL | ||
|