This class is needlessly complicated which makes it difficult to hack. It handles 1. NativeImage and ImageSource images 2. Static and animated images 3. Async and sync image decoding It also supports lots of testing APIs and tuning and corner cases. What we need is a simple and clear design interface which splits these cases and tuning nicely. This will make changing the class a lot easier in the future.
<rdar://problem/118819338>
Pull request: https://github.com/WebKit/WebKit/pull/20916
Committed 274746@main (055031e5c8a8): <https://commits.webkit.org/274746@main> Reviewed commits have been landed. Closing PR #20916 and removing active labels.
Re-opened since this is blocked by bug 269626
Pull request: https://github.com/WebKit/WebKit/pull/24678
Committed 276827@main (8b78e07f7be5): <https://commits.webkit.org/276827@main> Reviewed commits have been landed. Closing PR #24678 and removing active labels.
*** Bug 268184 has been marked as a duplicate of this bug. ***