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

Issue 1718463002: Gracefully handle nested eventSender.beginDragWithFiles() attempts. (Closed)

Created:
4 years, 10 months ago by sof
Modified:
4 years, 10 months ago
CC:
dcheng, blink-reviews, chromium-reviews, jochen+watch_chromium.org, mlamouri+watch-test-runner_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Gracefully handle nested eventSender.beginDragWithFiles() attempts. Programmatic drag operations in test code may attempt to initiate nested file drag operations, something eventSender nor anyone else is prepared for. Throw an error and cancel the current drag operation to discourage (fuzzer?) code from attempting this. R=dcheng,mkwst BUG=479216 Committed: https://crrev.com/23324ffc7cb20cc4e4615946cc44e9c2a282da13 Cr-Commit-Position: refs/heads/master@{#376733}

Patch Set 1 #

Total comments: 4

Patch Set 2 : no need for test to be async #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -0 lines) Patch
M components/test_runner/event_sender.cc View 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html View 1 1 chunk +22 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use-expected.txt View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
sof
please take a look. This one is just generating too much fuzzer noise & overhead.
4 years, 10 months ago (2016-02-19 08:58:48 UTC) #2
dcheng
https://codereview.chromium.org/1718463002/diff/1/third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html File third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html (right): https://codereview.chromium.org/1718463002/diff/1/third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html#newcode8 third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html:8: window.jsTestIsAsync = true; Does the test need to be ...
4 years, 10 months ago (2016-02-19 18:16:27 UTC) #3
sof
https://codereview.chromium.org/1718463002/diff/1/third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html File third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html (right): https://codereview.chromium.org/1718463002/diff/1/third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html#newcode8 third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html:8: window.jsTestIsAsync = true; On 2016/02/19 18:16:27, dcheng wrote: > ...
4 years, 10 months ago (2016-02-19 18:37:48 UTC) #4
dcheng
https://codereview.chromium.org/1718463002/diff/1/third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html File third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html (right): https://codereview.chromium.org/1718463002/diff/1/third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html#newcode8 third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html:8: window.jsTestIsAsync = true; On 2016/02/19 at 18:37:48, sof wrote: ...
4 years, 10 months ago (2016-02-19 18:39:21 UTC) #5
sof
https://codereview.chromium.org/1718463002/diff/1/third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html File third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html (right): https://codereview.chromium.org/1718463002/diff/1/third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html#newcode8 third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html:8: window.jsTestIsAsync = true; On 2016/02/19 18:39:21, dcheng wrote: > ...
4 years, 10 months ago (2016-02-19 20:03:17 UTC) #6
dcheng
lgtm
4 years, 10 months ago (2016-02-19 20:57:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1718463002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1718463002/20001
4 years, 10 months ago (2016-02-19 21:11:58 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/148068)
4 years, 10 months ago (2016-02-19 21:23:34 UTC) #12
sof
On 2016/02/19 21:23:34, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 10 months ago (2016-02-19 21:28:33 UTC) #13
sof
mkwst@: (same timezone) owner approval? tia
4 years, 10 months ago (2016-02-22 06:39:03 UTC) #15
Mike West
On 2016/02/22 at 06:39:03, sigbjornf wrote: > mkwst@: (same timezone) owner approval? tia This is ...
4 years, 10 months ago (2016-02-22 10:08:18 UTC) #16
sof
On 2016/02/22 10:08:18, Mike West wrote: > On 2016/02/22 at 06:39:03, sigbjornf wrote: > > ...
4 years, 10 months ago (2016-02-22 14:46:11 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1718463002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1718463002/20001
4 years, 10 months ago (2016-02-22 14:47:43 UTC) #20
Rick Byers
Also LGTM (personally I find UTC-5 to be nicely between europe and California <grin>).
4 years, 10 months ago (2016-02-22 15:03:44 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-22 15:46:41 UTC) #23
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 15:47:32 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/23324ffc7cb20cc4e4615946cc44e9c2a282da13
Cr-Commit-Position: refs/heads/master@{#376733}

Powered by Google App Engine
This is Rietveld 408576698