Bug 247247

Summary: Handle bitmap allocation failure in OffscreenCanvas::transferToImageBitmap
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: CanvasAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Matt Woodrow 2022-10-30 16:14:37 PDT
<rdar://101591380>

transferToImageBitmap can be called when we were unable to allocate a bitmap, we should handle this the same way as HTMLCanvasElement::toBlob and return null.
Comment 1 Matt Woodrow 2022-10-30 16:15:27 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5947
Comment 2 EWS 2022-10-31 18:19:24 PDT
Committed 256178@main (cc6c9a484504): <https://commits.webkit.org/256178@main>

Reviewed commits have been landed. Closing PR #5947 and removing active labels.