MediaResourceLoader leaks resource responses when browsing in Safari, even though these responses are only used for testing. AVAssetCustomURLBridgeForNSURLSession holds on to the WebCoreNSURLSession, which keeps the MediaResourceLoader alive, even if there is no media on the current page. In turn, the MediaResourceLoader always keeps in memory the last 5 HTTP responses.
Created attachment 391788 [details] Patch
Comment on attachment 391788 [details] Patch Clearing flags on attachment: 391788 Committed r257655: <https://trac.webkit.org/changeset/257655>
All reviewed patches have been landed. Closing bug.
<rdar://problem/59900095>