Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: third_party/WebKit/LayoutTests/webaudio/audioparam-exceptional-values-expected.txt

Issue 1897293002: Throw error if timeConstant is not positive for setTargetAtTime (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/audioparam-exceptional-values-expected.txt
diff --git a/third_party/WebKit/LayoutTests/webaudio/audioparam-exceptional-values-expected.txt b/third_party/WebKit/LayoutTests/webaudio/audioparam-exceptional-values-expected.txt
index 2dfbb46ac180794749ccfcf39e051d8b0d5acb1b..621003668b42b7a24f75a36b8de5e90ecbb791e4 100644
--- a/third_party/WebKit/LayoutTests/webaudio/audioparam-exceptional-values-expected.txt
+++ b/third_party/WebKit/LayoutTests/webaudio/audioparam-exceptional-values-expected.txt
@@ -31,6 +31,8 @@ PASS gain.gain.setValueAtTime(1, NaN) threw exception TypeError: Failed to execu
PASS gain.gain.linearRampToValueAtTime(1, NaN) threw exception TypeError: Failed to execute 'linearRampToValueAtTime' on 'AudioParam': The provided double value is non-finite..
PASS gain.gain.exponentialRampToValueAtTime(1, NaN) threw exception TypeError: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': The provided double value is non-finite..
PASS gain.gain.setTargetAtTime(1, NaN, 1) threw exception TypeError: Failed to execute 'setTargetAtTime' on 'AudioParam': The provided double value is non-finite..
+PASS gain.gain.setTargetAtTime(1, 1, -1) threw exception InvalidAccessError: Failed to execute 'setTargetAtTime' on 'AudioParam': Time constant must be a finite positive number: -1.
+PASS gain.gain.setTargetAtTime(1, 1, 0) threw exception InvalidAccessError: Failed to execute 'setTargetAtTime' on 'AudioParam': Time constant must be a finite positive number: 0.
PASS gain.gain.setTargetAtTime(1, 1, Infinity) threw exception TypeError: Failed to execute 'setTargetAtTime' on 'AudioParam': The provided double value is non-finite..
PASS gain.gain.setTargetAtTime(1, 1, -Infinity) threw exception TypeError: Failed to execute 'setTargetAtTime' on 'AudioParam': The provided double value is non-finite..
PASS gain.gain.setTargetAtTime(1, 1, NaN) threw exception TypeError: Failed to execute 'setTargetAtTime' on 'AudioParam': The provided double value is non-finite..

Powered by Google App Engine
This is Rietveld 408576698