Bug 163745

Summary: Improve error message when passing a null ArrayBuffer to bufferData()
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, darin, dino, esprehn+autocc, graouts, gyuyoung.kim, kondapallykalyan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Myles C. Maxfield 2016-10-20 11:39:06 PDT
Improve error message when passing a null ArrayBuffer to bufferData()
Comment 1 Myles C. Maxfield 2016-10-20 11:40:18 PDT
Created attachment 292230 [details]
Patch
Comment 2 WebKit Commit Bot 2016-10-20 12:19:51 PDT
Comment on attachment 292230 [details]
Patch

Clearing flags on attachment: 292230

Committed r207632: <http://trac.webkit.org/changeset/207632>
Comment 3 WebKit Commit Bot 2016-10-20 12:19:57 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Darin Adler 2016-10-20 18:11:30 PDT
Is this the right way to go about this? Can we make the generated bindings generate good error messages instead of hand writing null checking code just to increase the quality of the messages?