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

Issue 2509833002: Make Blob#slice() contentType argument to be non nullable. (Closed)

Created:
4 years, 1 month ago by lunalu1
Modified:
4 years, 1 month ago
Reviewers:
jsbell, foolip
CC:
chromium-reviews, blink-reviews, kinuko+fileapi, nhiroki, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make Blob#slice() contentType argument to be non nullable. Compatibility: new Blob().slice(0,0,null).type Edge: "null" (match with the spec) Firefox: "null" (match with the spec) Chrome: "" Safari: "" BUG=662005 Committed: https://crrev.com/68dddcc6a3b8aea8c1836ad353e81993ef27d1ee Cr-Commit-Position: refs/heads/master@{#433890}

Patch Set 1 #

Patch Set 2 : Modified outdated tests #

Total comments: 4

Patch Set 3 : Codereview update #

Total comments: 2

Patch Set 4 : Codereview update #

Patch Set 5 : Reformat layout tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -3 lines) Patch
A third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/local/fileapi/script-tests/send-sliced-dragged-file.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fileapi/Blob.idl View 1 2 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 51 (30 generated)
lunalu1
Hi foolip, could you please take a look at this CL? Thanks
4 years, 1 month ago (2016-11-17 19:02:09 UTC) #11
foolip
+jsbell@ FYI and to shout if there are existing tests that this should be folded ...
4 years, 1 month ago (2016-11-17 19:48:17 UTC) #13
foolip
lgtm % nits
4 years, 1 month ago (2016-11-17 19:48:33 UTC) #14
foolip
Also, can you say in the description which browsers already share this behavior? I just ...
4 years, 1 month ago (2016-11-17 19:51:27 UTC) #15
jsbell
https://codereview.chromium.org/2509833002/diff/40001/third_party/WebKit/Source/core/fileapi/Blob.idl File third_party/WebKit/Source/core/fileapi/Blob.idl (right): https://codereview.chromium.org/2509833002/diff/40001/third_party/WebKit/Source/core/fileapi/Blob.idl#newcode45 third_party/WebKit/Source/core/fileapi/Blob.idl:45: // TODO(foolip): contentType should not be nullable. remove this ...
4 years, 1 month ago (2016-11-17 19:52:24 UTC) #16
jsbell
On 2016/11/17 19:48:17, foolip wrote: > +jsbell@ FYI and to shout if there are existing ...
4 years, 1 month ago (2016-11-17 19:59:16 UTC) #19
lunalu1
Hi jsbell and foolip, Thanks for the comments. I have made the changes. Please take ...
4 years, 1 month ago (2016-11-17 20:03:01 UTC) #23
lunalu1
as jsbell suggested. I also added 3 tests to the web-platform tests
4 years, 1 month ago (2016-11-17 20:26:59 UTC) #25
foolip
On 2016/11/17 20:26:59, loonybear wrote: > as jsbell suggested. I also added 3 tests to ...
4 years, 1 month ago (2016-11-17 20:39:34 UTC) #26
blink-reviews
​Update Blob-slice.html #4224​ Luna Lu | Software Engineer | lunalu@google.com | +1 519 513 5751 ...
4 years, 1 month ago (2016-11-17 20:49:24 UTC) #27
chromium-reviews
​Update Blob-slice.html #4224​ Luna Lu | Software Engineer | lunalu@google.com | +1 519 513 5751 ...
4 years, 1 month ago (2016-11-17 20:49:25 UTC) #28
lunalu1
Hi, thanks for reviewing my CL. I have made the changes based on the comments. ...
4 years, 1 month ago (2016-11-21 20:22:39 UTC) #31
foolip
lgtm % nits https://codereview.chromium.org/2509833002/diff/60001/third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html File third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html (right): https://codereview.chromium.org/2509833002/diff/60001/third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html#newcode14 third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html:14: }, 'Blob.slice() with no type argument ...
4 years, 1 month ago (2016-11-21 20:31:01 UTC) #32
lunalu1
Done. Thanks https://codereview.chromium.org/2509833002/diff/60001/third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html File third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html (right): https://codereview.chromium.org/2509833002/diff/60001/third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html#newcode14 third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html:14: }, 'Blob.slice() with no type argument paased.'); ...
4 years, 1 month ago (2016-11-21 21:33:52 UTC) #35
jsbell
lgtm as well (I'd leave a space between the test functions, but that's really minor)
4 years, 1 month ago (2016-11-21 22:11:45 UTC) #36
jsbell
Also, thank you very much for tackling this, and responding quickly to our review feedback! ...
4 years, 1 month ago (2016-11-21 22:12:29 UTC) #37
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/2509833002/100001
4 years, 1 month ago (2016-11-22 15:09:24 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/310790) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 1 month ago (2016-11-22 15:12:05 UTC) #44
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/2509833002/100001
4 years, 1 month ago (2016-11-22 16:25:05 UTC) #46
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 1 month ago (2016-11-22 17:10:13 UTC) #49
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 17:15:24 UTC) #51
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/68dddcc6a3b8aea8c1836ad353e81993ef27d1ee
Cr-Commit-Position: refs/heads/master@{#433890}

Powered by Google App Engine
This is Rietveld 408576698