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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt

Issue 2807673002: createPeriodicWave parameters are sequence<float> (Closed)
Patch Set: Rebase Created 3 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/dom-exceptions-expected.txt
diff --git a/third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt b/third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt
index b2b85c9278dd3edf32860d7a7617167417235cb5..7068a88bec33d926a58f94cb88b5691964c1c41e 100644
--- a/third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt
+++ b/third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt
@@ -44,8 +44,8 @@ PASS > [createChannelMerger]
PASS context.createChannelMerger(99) threw IndexSizeError: "Failed to execute 'createChannelMerger' on 'BaseAudioContext': The number of inputs provided (99) is outside the range [1, 32].".
PASS < [createChannelMerger] All assertions passed. (total 1 assertions)
PASS > [createPeriodicWave]
-PASS context.createPeriodicWave(null, null) threw TypeError: "Failed to execute 'createPeriodicWave' on 'BaseAudioContext': parameter 1 is not of type 'Float32Array'.".
-PASS context.createPeriodicWave(new Float32Array(10), null) threw TypeError: "Failed to execute 'createPeriodicWave' on 'BaseAudioContext': parameter 2 is not of type 'Float32Array'.".
+PASS context.createPeriodicWave(null, null) threw TypeError: "Failed to execute 'createPeriodicWave' on 'BaseAudioContext': The 1st argument is neither an array, nor does it have indexed properties.".
+PASS context.createPeriodicWave(new Float32Array(10), null) threw TypeError: "Failed to execute 'createPeriodicWave' on 'BaseAudioContext': The 2nd argument is neither an array, nor does it have indexed properties.".
PASS context.createPeriodicWave(new Float32Array(4100), new Float32Array(4100)) did not throw an exception.
PASS context.createPeriodicWave(new Float32Array(8192), new Float32Array(8192)) did not throw an exception.
PASS context.createPeriodicWave(new Float32Array(10000), new Float32Array(10000)) did not throw an exception.

Powered by Google App Engine
This is Rietveld 408576698