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

Issue 2717583003: [BlobStorage] Enforcing renderer constraints to prevent broken blobs (Closed)

Created:
3 years, 10 months ago by dmurph
Modified:
3 years, 8 months ago
Reviewers:
kinuko, yhirano, pwnall
CC:
chromium-reviews, blink-reviews, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[BlobStorage] Enforcing renderer constraints to prevent broken blobs R=pwnall, yhirano BUG=688100 Review-Url: https://codereview.chromium.org/2717583003 Cr-Commit-Position: refs/heads/master@{#460867} Committed: https://chromium.googlesource.com/chromium/src/+/d94af97739e56d4174dc320b16d36f6795f2622f

Patch Set 1 #

Patch Set 2 : removed default #

Patch Set 3 : moving to dchecks #

Total comments: 2

Patch Set 4 : changed all to dcheck #

Patch Set 5 : fixed File.cpp usage #

Total comments: 4

Patch Set 6 : added test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -17 lines) Patch
M third_party/WebKit/Source/core/fileapi/File.cpp View 1 2 3 4 5 1 chunk +18 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/fileapi/FileTest.cpp View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blob/BlobData.h View 1 2 3 4 5 5 chunks +20 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/blob/BlobData.cpp View 1 2 3 4 9 chunks +40 lines, -9 lines 0 comments Download

Messages

Total messages: 43 (21 generated)
dmurph
Victor & Yutaka, can you PTAL? Thanks! Daniel
3 years, 10 months ago (2017-02-24 20:09:24 UTC) #1
pwnall
On 2017/02/24 20:09:24, dmurph wrote: > Victor & Yutaka, can you PTAL? > > Thanks! ...
3 years, 9 months ago (2017-02-27 23:04:57 UTC) #2
dmurph
On 2017/02/27 23:04:57, pwnall wrote: > On 2017/02/24 20:09:24, dmurph wrote: > > Victor & ...
3 years, 9 months ago (2017-02-27 23:33:42 UTC) #3
pwnall
On 2017/02/27 23:33:42, dmurph wrote: > On 2017/02/27 23:04:57, pwnall wrote: > > On 2017/02/24 ...
3 years, 9 months ago (2017-02-28 02:40:37 UTC) #4
yhirano
lgtm, thank you.
3 years, 9 months ago (2017-02-28 09:22:35 UTC) #5
dmurph
yeah, so this would have made canary builds crash, which is unfortunately the only way ...
3 years, 9 months ago (2017-02-28 21:22:50 UTC) #6
dmurph
On 2017/02/28 21:22:50, dmurph wrote: > yeah, so this would have made canary builds crash, ...
3 years, 9 months ago (2017-02-28 23:06:08 UTC) #8
dmurph
3 years, 9 months ago (2017-02-28 23:07:00 UTC) #10
pwnall
LGTM w/ nits. https://codereview.chromium.org/2717583003/diff/40001/third_party/WebKit/Source/platform/blob/BlobData.cpp File third_party/WebKit/Source/platform/blob/BlobData.cpp (right): https://codereview.chromium.org/2717583003/diff/40001/third_party/WebKit/Source/platform/blob/BlobData.cpp#newcode114 third_party/WebKit/Source/platform/blob/BlobData.cpp:114: CHECK_EQ(m_fileComposition, FileCompositionStatus::NO_UNKNOWN_SIZE_FILES) This CHECK should also ...
3 years, 9 months ago (2017-02-28 23:37:03 UTC) #11
kinuko
lgtm
3 years, 9 months ago (2017-03-01 00:26:21 UTC) #15
dmurph
Changed all checks to dchecks per comment. Done. Thanks!
3 years, 9 months ago (2017-03-01 01:27:52 UTC) #18
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/2717583003/60001
3 years, 9 months ago (2017-03-01 01:28:28 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/391734)
3 years, 9 months ago (2017-03-01 02:44:36 UTC) #24
dmurph
Good news - we found other broken callers. Will fix in patch and update soon.
3 years, 9 months ago (2017-03-01 03:28:58 UTC) #25
pwnall
https://codereview.chromium.org/2717583003/diff/80001/third_party/WebKit/Source/core/fileapi/File.cpp File third_party/WebKit/Source/core/fileapi/File.cpp (right): https://codereview.chromium.org/2717583003/diff/80001/third_party/WebKit/Source/core/fileapi/File.cpp#newcode88 third_party/WebKit/Source/core/fileapi/File.cpp:88: if (metadata.length == BlobDataItem::toEndOfFile) { Tests?
3 years, 9 months ago (2017-03-06 21:13:45 UTC) #30
dmurph
https://codereview.chromium.org/2717583003/diff/80001/third_party/WebKit/Source/core/fileapi/File.cpp File third_party/WebKit/Source/core/fileapi/File.cpp (right): https://codereview.chromium.org/2717583003/diff/80001/third_party/WebKit/Source/core/fileapi/File.cpp#newcode88 third_party/WebKit/Source/core/fileapi/File.cpp:88: if (metadata.length == BlobDataItem::toEndOfFile) { On 2017/03/06 21:13:45, pwnall ...
3 years, 9 months ago (2017-03-06 23:43:29 UTC) #31
pwnall
https://codereview.chromium.org/2717583003/diff/80001/third_party/WebKit/Source/core/fileapi/File.cpp File third_party/WebKit/Source/core/fileapi/File.cpp (right): https://codereview.chromium.org/2717583003/diff/80001/third_party/WebKit/Source/core/fileapi/File.cpp#newcode88 third_party/WebKit/Source/core/fileapi/File.cpp:88: if (metadata.length == BlobDataItem::toEndOfFile) { On 2017/03/06 23:43:29, dmurph ...
3 years, 9 months ago (2017-03-06 23:45:12 UTC) #32
dmurph
https://codereview.chromium.org/2717583003/diff/80001/third_party/WebKit/Source/core/fileapi/File.cpp File third_party/WebKit/Source/core/fileapi/File.cpp (right): https://codereview.chromium.org/2717583003/diff/80001/third_party/WebKit/Source/core/fileapi/File.cpp#newcode88 third_party/WebKit/Source/core/fileapi/File.cpp:88: if (metadata.length == BlobDataItem::toEndOfFile) { On 2017/03/06 23:45:12, pwnall ...
3 years, 8 months ago (2017-03-29 23:19:24 UTC) #33
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/2717583003/100001
3 years, 8 months ago (2017-03-29 23:20:55 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 8 months ago (2017-03-30 01:23:18 UTC) #38
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/2717583003/100001
3 years, 8 months ago (2017-03-30 20:42:32 UTC) #40
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 20:50:33 UTC) #43
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/d94af97739e56d4174dc320b16d3...

Powered by Google App Engine
This is Rietveld 408576698