Remember completed subranges during incremental PDF loading We'll often get asked for the same range twice, or for range contained in previously requested ranges. To make that (orders of magnitude) more efficient, we should remember which ranges in the PDF buffer have previously been requested.
Created attachment 392995 [details] Patch
This relies on the patch in https://bugs.webkit.org/show_bug.cgi?id=208790 landing first (hence lots of failures)
Created attachment 392996 [details] PFL
Created attachment 392998 [details] PFL
The commit-queue encountered the following flaky tests while processing attachment 392998 [details]: editing/spelling/spellcheck-async-remove-frame.html bug 160571 (authors: morrita@google.com, rniwa@webkit.org, and tony@chromium.org) The commit-queue is continuing to process your patch.
Comment on attachment 392998 [details] PFL Clearing flags on attachment: 392998 Committed r258123: <https://trac.webkit.org/changeset/258123>
All reviewed patches have been landed. Closing bug.
<rdar://problem/60207010>