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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/decodeAudioData/decode-audio-data-basic.html

Issue 2782443003: Initialize referenceDecodedAudioBuffer correctly. (Closed)
Patch Set: Remove extra blank line Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/webaudio/decodeAudioData/decode-audio-data-basic.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/decodeAudioData/decode-audio-data-basic.html b/third_party/WebKit/LayoutTests/webaudio/decodeAudioData/decode-audio-data-basic.html
index 61eca1264ed487d79fe11740241ae80febbfccb5..8c81ef59e282014a351ebf9b614cb4e97679aec1 100644
--- a/third_party/WebKit/LayoutTests/webaudio/decodeAudioData/decode-audio-data-basic.html
+++ b/third_party/WebKit/LayoutTests/webaudio/decodeAudioData/decode-audio-data-basic.html
@@ -55,7 +55,8 @@
// because decodeAudioData will detach the buffers.
should(context.decodeAudioData(validArrayBuffer.slice(0)),
'Decoding a valid audio file')
- .beResolved(),
+ .beResolved()
+ .then(buffer => referenceDecodedAudioBuffer = buffer),
should(context.decodeAudioData(invalidArrayBuffer.slice(0)),
'Decoding an invalid audio file')
.beRejectedWith('EncodingError'),
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698