Bug 54158

Summary: Throw exception when AudioContext's createBuffer() fails to properly decode audio file data
Product: WebKit Reporter: Chris Rogers <crogers>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: kbr
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch kbr: review+

Chris Rogers
Reported 2011-02-09 18:30:08 PST
Throw exception when AudioContext's createBuffer() fails to properly decode audio file data
Attachments
Patch (8.35 KB, patch)
2011-02-09 18:41 PST, Chris Rogers
kbr: review+
Chris Rogers
Comment 1 2011-02-09 18:41:27 PST
Chris Rogers
Comment 2 2011-02-09 18:43:29 PST
I created custom bindings here in order to give more detailed information when throwing exceptions about decoding audio file data.
Kenneth Russell
Comment 3 2011-02-10 15:11:57 PST
Comment on attachment 81910 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=81910&action=review Looks fine to me. One minor comment. > Source/WebCore/bindings/js/JSAudioContextCustom.cpp:73 > + if (arrayBuffer) { To make the JSC and V8 bindings identical you should ASSERT(arrayBuffer) here.
Chris Rogers
Comment 4 2011-02-11 12:54:24 PST
Note You need to log in before you can comment on or make changes to this bug.