For the static image, the BitmapImage::m_currentFrame should be initialized with CGImageSourceGetPrimaryImageIndex() after all the encoded data is received.
rdar://99479666
Pull request: https://github.com/WebKit/WebKit/pull/4283
Committed 261009@main (d8bc46528279): <https://commits.webkit.org/261009@main> Reviewed commits have been landed. Closing PR #4283 and removing active labels.