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

Side by Side Diff: LayoutTests/fast/events/drag-extra-mouse-down-no-crash.html

Issue 841533004: Revert of Gracefully handle mismatched drag ended notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/events/drag-extra-mouse-down-no-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <p>
3 Ill-formed uses of eventSender.mouseDown() while drag is under way should not cr ash.
4 </p>
5 <script>
6 if (window.testRunner) {
7 testRunner.dumpAsText();
8 testRunner.waitUntilDone();
9 }
10
11 function runTest() {
12 if (!window.eventSender)
13 return;
14
15 eventSender.beginDragWithFiles([""]);
16 var x = document.getElementById("link").offsetLeft;
17 var y = document.getElementById("link").offsetTop;
18 eventSender.mouseMoveTo(x, y);
19 eventSender.mouseDown();
20 eventSender.mouseMoveTo(x, y + 1);
21 eventSender.mouseUp();
22 testRunner.notifyDone();
23 }
24
25 window.onload = runTest;
26 </script>
27 <a href="data:text/html," id="link">PASS(no crash)</a>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/events/drag-extra-mouse-down-no-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698