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

Issue 2030683003: Don't pick a drop operation that the source doesn't support. (Closed)

Created:
4 years, 6 months ago by Avi (use Gerrit)
Modified:
4 years, 5 months ago
Reviewers:
dcheng
CC:
chromium-reviews, blink-reviews, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't pick a drop operation that the source doesn't support. If a page doesn't specify a drop operation, DragController's defaultOperationForDrag() makes an attempt to choose a reasonable operation based on what the source supports. Unfortunately, if the source supports "generic" but not move, defaultOperationForDrag() chooses an operation that the source doesn't support, and the drop fails. Fix it by not returning "move" if it is not supported. BUG=610085 TEST=none CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel,mac_blink_rel,win_blink_rel Committed: https://crrev.com/57b70dae30c2bc7d60e70efd8ebae83e01fe9119 Cr-Commit-Position: refs/heads/master@{#404885}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/core/page/DragController.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2030683003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2030683003/1
4 years, 6 months ago (2016-06-01 20:43:39 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-01 22:46:07 UTC) #4
Avi (use Gerrit)
4 years, 6 months ago (2016-06-02 19:57:59 UTC) #7
Avi (use Gerrit)
ping
4 years, 5 months ago (2016-07-11 18:32:25 UTC) #8
dcheng
Meh. It looks like generic is some OS X concept that we have to awkwardly ...
4 years, 5 months ago (2016-07-12 06:55:30 UTC) #9
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/2030683003/1
4 years, 5 months ago (2016-07-12 13:37:32 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/261013)
4 years, 5 months ago (2016-07-12 15:06:40 UTC) #13
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/2030683003/1
4 years, 5 months ago (2016-07-12 15:08:42 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/88260)
4 years, 5 months ago (2016-07-12 15:52:50 UTC) #17
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/2030683003/1
4 years, 5 months ago (2016-07-12 17:09:26 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/191473)
4 years, 5 months ago (2016-07-12 20:55:21 UTC) #21
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/2030683003/1
4 years, 5 months ago (2016-07-12 23:14:25 UTC) #23
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-13 01:45:55 UTC) #25
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 01:47:18 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 01:48:59 UTC) #28
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/57b70dae30c2bc7d60e70efd8ebae83e01fe9119
Cr-Commit-Position: refs/heads/master@{#404885}

Powered by Google App Engine
This is Rietveld 408576698