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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/drag-nested-eventSender-use.html

Issue 1718463002: Gracefully handle nested eventSender.beginDragWithFiles() attempts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no need for test to be async Created 4 years, 10 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../resources/js-test.js"></script>
5 <script>
6 description("Test that unsupported nested use of eventSender.beginDragWithFiles( ) is handled without crashing.");
7
8 if (window.testRunner)
9 testRunner.dumpAsText();
10
11 function runTest()
12 {
13 eventSender.beginDragWithFiles(["resources/empty.html"]);
14 eventSender.beginDragWithFiles(["resources/empty.html"]);
15 eventSender.mouseMoveTo(10, 10);
16 eventSender.mouseUp();
17 }
18
19 shouldThrow("runTest()");
20 </script>
21 </body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698