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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt

Issue 2013623002: Set channelCount and maxChannelCount correctly for OfflineAudioContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/offlineaudiocontext-constructor-expected.txt
diff --git a/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt b/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt
index dcb80873b771af539ec065dcc4be0aa15ce1272b..7633da3ad64cd9b5c490b908e31bfb9993c7b1cc 100644
--- a/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt
+++ b/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt
@@ -24,7 +24,12 @@ PASS context.length = 99 did not throw exception.
PASS context.length is 512
PASS context = new OfflineAudioContext(2, 512, 96000) did not throw exception.
PASS context = new OfflineAudioContext(1, 0, NaN) threw exception TypeError: Failed to construct 'OfflineAudioContext': The provided float value is non-finite..
-PASS context = new OfflineAudioContext(1, 0, Infinite) threw exception ReferenceError: Infinite is not defined.
+PASS context = new OfflineAudioContext(1, 0, Infinity) threw exception TypeError: Failed to construct 'OfflineAudioContext': The provided float value is non-finite..
+PASS context = new OfflineAudioContext(7, 512, 48000) did not throw exception.
+PASS context.destination.channelCount is 7
+PASS context.destination.maxChannelCount is 7
+PASS context.destination.channelCountMode is "explicit"
+PASS context.destination.channelInterpretation is "speakers"
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698