We can detect cases where getImageData() need not go back to the GPU process for ImageData.
<rdar://problem/112746729>
Pull request: https://github.com/WebKit/WebKit/pull/16028
In bug 227427, I tried to do the same thing (avoid going to GPUP if the image data in WebP is still valid).
Committed 266632@main (5466cd2c2451): <https://commits.webkit.org/266632@main> Reviewed commits have been landed. Closing PR #16028 and removing active labels.