|
|
DescriptionPPAPI: properly track asynchronous load state in URLLoaderResource.
Committed: https://crrev.com/9c1c349e2b890f704e442c1a7be14c6fd8b07838
Cr-Commit-Position: refs/heads/master@{#433051}
Patch Set 1 #
Messages
Total messages: 18 (9 generated)
The CQ bit was checked by thestig@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
thestig@chromium.org changed reviewers: + bbudge@chromium.org, rbpotter@chromium.org
rbpotter: Please confirm this fixes the problem you are seeing. bbudge: PTAL. In https://crrev.com/200412, you can see |is_asynchronous_load_suspended_| can never be true, yet there is code that checks to see if it is. I don't know why this was never a problem before, but with some recent PDF document loader changes, we can hit the state where URLLoaderResource's buffer is empty, yet it does not ask for more.
On 2016/11/17 19:28:22, Lei Zhang (Mostly OOO) wrote: > rbpotter: Please confirm this fixes the problem you are seeing. > > bbudge: PTAL. In https://crrev.com/200412, you can see > |is_asynchronous_load_suspended_| can never be true, yet there is code that > checks to see if it is. > > I don't know why this was never a problem before, but with some recent PDF > document loader changes, we can hit the state where URLLoaderResource's buffer > is empty, yet it does not ask for more. Large PDF now loads, though it is a little slow. Thanks!
Yes, that seems obviously broken. I'm wondering why it hasn't caused more problems. Thanks for the fix. LGTM
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by thestig@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2016/11/17 20:41:23, bbudge wrote: > Yes, that seems obviously broken. I'm wondering why it hasn't caused more > problems. Thanks for the fix. 1) It requires a very large PDF to actually hit the problem. 2) Despite recent attempts to improve the PDF loading code, it has in some cases gotten slower, so URLLoaderResource is more likely to hit the case where it needs to ask the renderer to stop sending it data, because its buffer is full and the PDF loader is not retrieving from the buffer fast enough. (To be worked out separately)
The CQ bit was unchecked by commit-bot@chromium.org
Failed to apply the patch.
The CQ bit was checked by thestig@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Description was changed from ========== PPAPI: properly track asynchronous load state in URLLoaderResource. ========== to ========== PPAPI: properly track asynchronous load state in URLLoaderResource. Committed: https://crrev.com/9c1c349e2b890f704e442c1a7be14c6fd8b07838 Cr-Commit-Position: refs/heads/master@{#433051} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/9c1c349e2b890f704e442c1a7be14c6fd8b07838 Cr-Commit-Position: refs/heads/master@{#433051} |