Bug 244289

Summary: WebGLRenderingContextBase::readPixels should allow null pixels on the IDL level
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebGLAssignee: 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
Reported 2022-08-24 03:09:30 PDT
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
Radar WebKit Bug Importer
Comment 1 2022-08-24 04:12:38 PDT
Kimmo Kinnunen
Comment 2 2022-08-24 04:15:09 PDT
EWS
Comment 3 2022-10-07 00:01:53 PDT
Committed 255256@main (e5af469c39da): <https://commits.webkit.org/255256@main> Reviewed commits have been landed. Closing PR #3605 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.