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

Side by Side Diff: LayoutTests/fast/events/dragevent-constructor.html

Issue 1232003009: Implement DragEvent and move MouseEvent.dataTransfer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix failure of layouttest Created 5 years, 4 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 <script src="../../resources/js-test.js"></script>
3 </head>
4 <body>
5 <script>
6 description("Tests the constructor of the standard drag event");
7
8 var testEvent;
9 shouldNotThrow("testEvent = new DragEvent('dragstart')");
10 shouldBe("testEvent.__proto__", "DragEvent.prototype");
11 shouldBe("testEvent.dataTransfer", "null");
12
13 shouldNotThrow("testEvent = new DragEvent('dragstart', { dataTransfer:null })");
14 shouldBe("testEvent.__proto__", "DragEvent.prototype");
15 shouldBe("testEvent.dataTransfer", "null");
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698