|
|
Chromium Code Reviews
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
Messages
Total messages: 26 (20 generated)
The CQ bit was checked by chongz@chromium.org to run a CQ dry run
Description was changed from ========== Fix debug tests and DCHECK for "inputevent-drag-drop.html" On debug mode the tests might start before image/document is loaded. This CL changed the tests to use styled text instead of image as drag data, and also fixed a DCHECK. BUG=652979 ========== to ========== [LayoutTest] Fix debug tests and DCHECK for "inputevent-drag-drop.html" On debug mode the tests might start before image/document is loaded. This CL changed the tests to use styled text instead of image as drag data, and also fixed a DCHECK. BUG=652979 ==========
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by chongz@chromium.org
Description was changed from ========== [LayoutTest] Fix debug tests and DCHECK for "inputevent-drag-drop.html" On debug mode the tests might start before image/document is loaded. This CL changed the tests to use styled text instead of image as drag data, and also fixed a DCHECK. BUG=652979 ========== to ========== [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, and also fixed a DCHECK. BUG=652979 ==========
Description was changed from ========== [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, and also fixed a DCHECK. BUG=652979 ========== to ========== [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 ==========
Description was changed from ========== [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 ========== to ========== [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 ==========
chongz@chromium.org changed reviewers: + bokan@chromium.org, horo@chromium.org
bokan@ can you take a look at this fix for flakey test please? Thanks!
The CQ bit was checked by chongz@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linu...)
The CQ bit was checked by chongz@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
chongz@chromium.org changed reviewers: + yosin@chromium.org
yosin@ PTAL at this fix for a flakey test, thanks! https://codereview.chromium.org/2393903003/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/editing/commands/EditCommand.cpp (left): https://codereview.chromium.org/2393903003/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/editing/commands/EditCommand.cpp:106: DCHECK(!parent || parent->isCommandGroupWrapper() || We don't need this anymore since the composition was cleared.
lgtm This patch also fixes DCHECK() in CompositionEditCommand. https://codereview.chromium.org/2393903003/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp (right): https://codereview.chromium.org/2393903003/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp:303: command->m_composition = nullptr; This is right place to fix. I hit DCHECK(isTopLevelCommand() || !m_composition) in CompositeEditCommand dtor running layout test. If you run layout test --enable-leak-detection more layout test hit DCHECK in dtor. Anyway, thanks for fixing this!
The CQ bit was checked by yosin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== [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 ========== to ========== [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 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== [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 ========== to ========== [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} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/e54340ef786164feb8b97409a7c589176c2fe3ff Cr-Commit-Position: refs/heads/master@{#423379} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
