Bug 211681

Summary: [iOS][WKWebView] Going back to the web view screen, scroll down and up to view the loaded images. The image will break for unknown reason
Product: WebKit Reporter: Daohan Chong <dh.chong>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Major CC: cdumez, sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: iPhone / iPad   
OS: iOS 13   
Attachments:
Description Flags
Demo Project none

Daohan Chong
Reported 2020-05-09 20:42:56 PDT
Created attachment 398955 [details] Demo Project I've contacted DTS and they think it should be a memory leak bug. We're building a custom WKURLSchemeHandler to delegate image loading and link clicking into native app for better user experience. However, if we tap the links to open Safari, then go back to the web view screen, scroll down and up to view the loaded images. The image will break for unknown reason. Our app is not a pure browser. It is just like a read-it-later app that needs to customize the image and link loading logic. STEPS TO REPRODUCE 1. Use my demo project. 2. Build and run it on your simulator or device 3. Go to "Demo 1" to view the web view 4. Scroll down for descriptions 5. Tap any link of the web page 6. Observe the first image of the web page, if the image still exists, just scroll up or down. 7. The image breaks.
Attachments
Demo Project (207.29 KB, application/zip)
2020-05-09 20:42 PDT, Daohan Chong
no flags
Radar WebKit Bug Importer
Comment 1 2020-05-12 14:05:31 PDT
Note You need to log in before you can comment on or make changes to this bug.