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

Issue 2393903003: [LayoutTest] Fix flakey test "inputevent-drag-drop.html" (Closed)

Created:
4 years, 2 months ago by chongz
Modified:
4 years, 2 months ago
Reviewers:
bokan, yosin_UTC9, horo
CC:
blink-reviews, chromium-reviews, dcheng, keishi
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[LayoutTest] Fix flakey test "inputevent-drag-drop.html" On debug mode the WPT will start before image/document is loaded. This CL changed the tests to use styled text (instead of image) as drag data. Also fixed a DCHECK, which would trigger when you do Drag&Drop and then refresh the page. (introduced in crrev.com/2374743002) BUG=652979 Committed: https://crrev.com/e54340ef786164feb8b97409a7c589176c2fe3ff Cr-Commit-Position: refs/heads/master@{#423379}

Patch Set 1 #

Patch Set 2 : Clear composition after merging with command wrapper #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -15 lines) Patch
M third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-drag-drop.html View 9 chunks +22 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp View 1 1 chunk +1 line, -0 lines 1 comment Download
M third_party/WebKit/Source/core/editing/commands/EditCommand.cpp View 1 1 chunk +1 line, -3 lines 1 comment Download

Messages

Total messages: 26 (20 generated)
chongz
bokan@ can you take a look at this fix for flakey test please? Thanks!
4 years, 2 months ago (2016-10-05 15:49:03 UTC) #9
chongz
yosin@ PTAL at this fix for a flakey test, thanks! https://codereview.chromium.org/2393903003/diff/20001/third_party/WebKit/Source/core/editing/commands/EditCommand.cpp File third_party/WebKit/Source/core/editing/commands/EditCommand.cpp (left): https://codereview.chromium.org/2393903003/diff/20001/third_party/WebKit/Source/core/editing/commands/EditCommand.cpp#oldcode106 ...
4 years, 2 months ago (2016-10-05 23:27:55 UTC) #19
yosin_UTC9
lgtm This patch also fixes DCHECK() in CompositionEditCommand. https://codereview.chromium.org/2393903003/diff/20001/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp File third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp (right): https://codereview.chromium.org/2393903003/diff/20001/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp#newcode303 third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp:303: command->m_composition ...
4 years, 2 months ago (2016-10-06 01:22:09 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/2393903003/20001
4 years, 2 months ago (2016-10-06 01:23:40 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-06 01:30:04 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 01:32:36 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e54340ef786164feb8b97409a7c589176c2fe3ff
Cr-Commit-Position: refs/heads/master@{#423379}

Powered by Google App Engine
This is Rietveld 408576698