To simplify the debugging I replaced loading-from-zipfile with loading-from-external-url
To mimic the behavior of creating and cleaning object urls, I artifically
clean the object url via revokeObjectURL, fetch the blob from the external url, and create an object url via createObjectURL
Ideally there should not be any memory leak as I'm cleaning the object url, but there is.
After a finite number of images (~500 on my iPadPro), the load fails.
An example of the problem can be seen here:
https://jsfiddle.net/avnerm/vd8cwy9g/5/
A bug was filed in https://bugs.webkit.org/show_bug.cgi?id=236692
Topic:
Safari & Web
SubTopic:
General
Tags: