Bug 241110

Summary: REGRESSION(245163@main) Can't load a very large image as an image document
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: New BugsAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, jean-yves.avenard, sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=241251

Description Fujii Hironori 2022-05-30 15:00:06 PDT
REGRESSION(245163@main) Can't load a very large image as an image document

1. Download a very large image (>100MB) from somewhere
   For example, https://esahubble.org/images/heic1901a/
2. Load the image directly

Actual: Can't finish loading
Expected: Finish loading the image
Comment 1 Fujii Hironori 2022-05-30 15:03:05 PDT
combineSegmentsData of SharedBuffer.cpp is being called very frequently every time new data received.
On the other hand, before 245163@main, thank for CachedImage::shouldDeferUpdateImageData, it is not called so frequently.
Comment 2 Radar WebKit Bug Importer 2022-05-30 18:55:58 PDT
<rdar://problem/94126683>
Comment 3 Jean-Yves Avenard [:jya] 2022-06-02 19:23:32 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1264
Comment 4 EWS 2022-06-02 22:32:36 PDT
Committed r295169 (251253@main): <https://commits.webkit.org/251253@main>

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