Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Issue 2303753003: [Fetch API] Start reading blob only when the reader wants to read contents. (Closed)

Created:
4 years, 3 months ago by yhirano
Modified:
4 years, 3 months ago
Reviewers:
hiroshige, jkarlin
CC:
chromium-reviews, blink-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Fetch API] Start reading blob only when the reader wants to read contents. BUG=643174 Committed: https://crrev.com/f1ca96c413912ff1768e4274b8b7ac78eb41de64 Cr-Commit-Position: refs/heads/master@{#416923}

Patch Set 1 #

Patch Set 2 : fix tests #

Total comments: 2

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -9 lines) Patch
M third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandleTest.cpp View 1 2 8 chunks +35 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandleTest.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 25 (15 generated)
yhirano
4 years, 3 months ago (2016-09-02 09:15:14 UTC) #8
jkarlin
Thanks for writing this, I can confirm that this fixes issue 643174 but I don't ...
4 years, 3 months ago (2016-09-02 11:14:52 UTC) #11
yhirano
hiroshige: ping
4 years, 3 months ago (2016-09-06 09:36:21 UTC) #12
hiroshige
Can you add a test that confirms zero-byte read doesn't initiate loading? https://codereview.chromium.org/2303753003/diff/20001/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandleTest.cpp File third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandleTest.cpp ...
4 years, 3 months ago (2016-09-07 09:38:03 UTC) #13
yhirano
> Can you add a test that confirms zero-byte read doesn't initiate loading? Done. https://codereview.chromium.org/2303753003/diff/20001/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandleTest.cpp ...
4 years, 3 months ago (2016-09-07 11:03:24 UTC) #16
hiroshige
lgtm.
4 years, 3 months ago (2016-09-07 13:00:41 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2303753003/40001
4 years, 3 months ago (2016-09-07 13:04:29 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-07 13:08:24 UTC) #22
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/f1ca96c413912ff1768e4274b8b7ac78eb41de64 Cr-Commit-Position: refs/heads/master@{#416923}
4 years, 3 months ago (2016-09-07 13:11:05 UTC) #24
lushnikov
4 years, 3 months ago (2016-09-08 14:43:43 UTC) #25
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2319093004/ by lushnikov@chromium.org.

The reason for reverting is: Speculative revert: this patch is a suspect to
cause Linux MSAN failures:

https://uberchromegw.corp.google.com/i/chromium.webkit/builders/WebKit%20Linu...

The other suspected patch, the only one related to canvas, was reverted and
didn't help..

Powered by Google App Engine
This is Rietveld 408576698