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

Issue 2710033003: Add unknown file size handling in ComplexFormDataBytesConsumer (Closed)

Created:
3 years, 10 months ago by yhirano
Modified:
3 years, 9 months ago
Reviewers:
kinuko, hiroshige, dmurph
CC:
chromium-reviews, blink-reviews, haraken, kinuko+fileapi, nhiroki, tzik
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add unknown file size handling in ComplexFormDataBytesConsumer ...to read data from a form data containing a file chosen via the file picker. BUG=688100 Review-Url: https://codereview.chromium.org/2710033003 Cr-Commit-Position: refs/heads/master@{#459043} Committed: https://chromium.googlesource.com/chromium/src/+/3dca0cfff95b9b9d8806184490be8b87f76af378

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : fix #

Total comments: 4

Patch Set 5 : ifix #

Patch Set 6 : fix #

Patch Set 7 : fix #

Patch Set 8 : fix #

Patch Set 9 : fix #

Total comments: 2

Patch Set 10 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/fast/files/blob-reading-from-form-file.html View 1 2 3 4 5 6 7 8 1 chunk +52 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/filesystem/form-reading-from-file.html View 1 2 3 4 5 6 7 8 9 1 chunk +42 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp View 1 2 3 4 5 6 7 1 chunk +18 lines, -2 lines 0 comments Download

Messages

Total messages: 49 (37 generated)
yhirano
PTAL +hiroshige@ for the overall change +dmurph@, kinuko@ for BlobDataHandle creation in ComplexFormDataBytesConsumer::beginRead.
3 years, 10 months ago (2017-02-24 03:34:49 UTC) #8
kinuko
On 2017/02/24 03:34:49, yhirano wrote: > PTAL > > +hiroshige@ for the overall change > ...
3 years, 10 months ago (2017-02-24 07:04:39 UTC) #11
dmurph
https://codereview.chromium.org/2710033003/diff/20001/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp File third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp (left): https://codereview.chromium.org/2710033003/diff/20001/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp#oldcode123 third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp:123: element.m_fileLength, Why not just check if the file size ...
3 years, 9 months ago (2017-02-24 19:49:24 UTC) #12
dmurph
On 2017/02/24 19:49:24, dmurph wrote: > https://codereview.chromium.org/2710033003/diff/20001/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp > File third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp (left): > > https://codereview.chromium.org/2710033003/diff/20001/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp#oldcode123 > ...
3 years, 9 months ago (2017-02-27 19:21:31 UTC) #13
yhirano
Thank you for the review and sorry for the late response. I reverted most of ...
3 years, 9 months ago (2017-03-02 04:05:04 UTC) #19
dmurph
On 2017/03/02 04:05:04, yhirano (slow) wrote: > Thank you for the review and sorry for ...
3 years, 9 months ago (2017-03-02 18:52:31 UTC) #22
hiroshige
https://codereview.chromium.org/2710033003/diff/60001/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp File third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp (right): https://codereview.chromium.org/2710033003/diff/60001/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp#newcode144 third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp:144: if (!getFileSize(element.m_filename, fileLength)) { m_filename is not valid for ...
3 years, 9 months ago (2017-03-02 20:38:21 UTC) #23
yhirano
https://codereview.chromium.org/2710033003/diff/60001/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp File third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp (right): https://codereview.chromium.org/2710033003/diff/60001/third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp#newcode144 third_party/WebKit/Source/modules/fetch/FormDataBytesConsumer.cpp:144: if (!getFileSize(element.m_filename, fileLength)) { On 2017/03/02 20:38:21, hiroshige wrote: ...
3 years, 9 months ago (2017-03-23 06:18:06 UTC) #36
hiroshige
lgtm with an optional comment. https://codereview.chromium.org/2710033003/diff/160001/third_party/WebKit/LayoutTests/fast/filesystem/form-reading-from-file.html File third_party/WebKit/LayoutTests/fast/filesystem/form-reading-from-file.html (right): https://codereview.chromium.org/2710033003/diff/160001/third_party/WebKit/LayoutTests/fast/filesystem/form-reading-from-file.html#newcode41 third_party/WebKit/LayoutTests/fast/filesystem/form-reading-from-file.html:41: }); Short description of ...
3 years, 9 months ago (2017-03-23 09:28:12 UTC) #39
yhirano
https://codereview.chromium.org/2710033003/diff/160001/third_party/WebKit/LayoutTests/fast/filesystem/form-reading-from-file.html File third_party/WebKit/LayoutTests/fast/filesystem/form-reading-from-file.html (right): https://codereview.chromium.org/2710033003/diff/160001/third_party/WebKit/LayoutTests/fast/filesystem/form-reading-from-file.html#newcode41 third_party/WebKit/LayoutTests/fast/filesystem/form-reading-from-file.html:41: }); On 2017/03/23 09:28:12, hiroshige wrote: > Short description ...
3 years, 9 months ago (2017-03-23 09:36:32 UTC) #42
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/2710033003/180001
3 years, 9 months ago (2017-03-23 09:37:10 UTC) #46
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 11:08:40 UTC) #49
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/3dca0cfff95b9b9d8806184490be...

Powered by Google App Engine
This is Rietveld 408576698