Bug 163745 - Improve error message when passing a null ArrayBuffer to bufferData()
Summary: Improve error message when passing a null ArrayBuffer to bufferData()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-20 11:39 PDT by Myles C. Maxfield
Modified: 2016-10-20 18:11 PDT (History)
8 users (show)

See Also:


Attachments
Patch (9.28 KB, patch)
2016-10-20 11:40 PDT, Myles C. Maxfield
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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?