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

Side by Side Diff: LayoutTests/fast/events/touch/create-touch-event-source-device.html

Issue 1161783006: Populates sourceDevice attribute into TouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add Persistent Created 5 years, 6 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/touch/create-touch-event-source-device-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 PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
Rick Byers 2015/06/11 03:34:12 nit: coding style says to omit unnecessary tags li
lanwei 2015/06/15 18:22:01 Done.
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <p id="description"></p>
8 <div id="console"></div>
9 <script type="text/javascript">
10 description('Test that touch events should have a sourceDevice set to null when creating from Javascript.');
11
12 var event = document.createEvent("TouchEvent");
13 shouldBeNonNull("event");
14 shouldBeNull("event.sourceDevice");
Rick Byers 2015/06/11 03:34:12 this is a pretty trivial test case - may be simple
lanwei 2015/06/15 18:22:01 Done.
15
16 </script>
17 </body>
18 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/create-touch-event-source-device-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698