Summary: | createShader() needs better param checking | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Marrin <cmarrin> | ||||
Component: | WebGL | Assignee: | Chris Marrin <cmarrin> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | eric, oliver, sam | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Chris Marrin
2009-11-23 09:52:57 PST
Created attachment 43779 [details]
Patch including test
Comment on attachment 43779 [details]
Patch including test
Looks good, but maybe NOT_SUPPORTED_ERR would be better?
We need to revisit the whole exception model of WebGL. For now we have been using SYNTAX_ERR for bad params, so I'll leave it at that for now. Landed in http://trac.webkit.org/changeset/51370 |