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

Issue 2508773005: DataTransferItemList#add() file argument should not be nullable (Closed)

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

Description

DataTransferItemList#add() file argument should not be nullable Compatibility: dataTransfer.items.add(null) Edge: does not throw Firefox 49: dataTransfer.items is undefined Firefox 50: throw as expected Safari: dataTransfer.items is undefined No use counter is added as we will likely get informed if any problems come up https://bugzilla.mozilla.org/show_bug.cgi?id=906420 BUG=662005 Committed: https://crrev.com/11a9aad4ec1d0ae6099a3721813f9a20cfc6fe6b Cr-Commit-Position: refs/heads/master@{#434137}

Patch Set 1 : Initial checkin #

Patch Set 2 : Added layout tests for dataTransferItemList.add() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList.html View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/clipboard/DataTransferItemList.idl View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
lunalu1
Hi Philip, I feel like I should add a test there but I haven't really ...
4 years, 1 month ago (2016-11-21 21:59:07 UTC) #6
dcheng
On 2016/11/21 21:59:07, loonybear wrote: > Hi Philip, I feel like I should add a ...
4 years, 1 month ago (2016-11-21 22:24:44 UTC) #7
dcheng
4 years, 1 month ago (2016-11-21 22:24:48 UTC) #9
foolip
On 2016/11/21 21:59:07, loonybear wrote: > Hi Philip, I feel like I should add a ...
4 years, 1 month ago (2016-11-21 22:32:21 UTC) #10
lunalu1
I added the layout tests in third_party/WebKit/LayoutTests/fast/events/drag-dataTransferItemList.html instead, as there was already a test for ...
4 years, 1 month ago (2016-11-22 23:02:39 UTC) #15
foolip
lgtm
4 years ago (2016-11-23 09:10:14 UTC) #20
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/2508773005/40001
4 years ago (2016-11-23 09:10:27 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years ago (2016-11-23 09:14:59 UTC) #24
commit-bot: I haz the power
4 years ago (2016-11-23 09:16:29 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/11a9aad4ec1d0ae6099a3721813f9a20cfc6fe6b
Cr-Commit-Position: refs/heads/master@{#434137}

Powered by Google App Engine
This is Rietveld 408576698