Bug 244289
Summary: | WebGLRenderingContextBase::readPixels should allow null pixels on the IDL level | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
Component: | WebGL | Assignee: | Kimmo Kinnunen <kkinnunen> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | dino, kbr, kkinnunen, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 222812 |
Kimmo Kinnunen
WebGLRenderingContextBase::readPixels should allow null pixels on the IDL level (including the .idl file) and emit INVALID_VALUE with an appropriate message instead of failing with JS TypeError.
Tested in https://github.com/KhronosGroup/WebGL/pull/3486
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/99078383>
Kimmo Kinnunen
Pull request: https://github.com/WebKit/WebKit/pull/3605
EWS
Committed 255256@main (e5af469c39da): <https://commits.webkit.org/255256@main>
Reviewed commits have been landed. Closing PR #3605 and removing active labels.