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

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 plugin 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/dragevent-constructor-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 <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
« no previous file with comments | « no previous file | LayoutTests/fast/events/dragevent-constructor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698