Chromium Code Reviews| Index: LayoutTests/fast/events/touch/create-touch-event-source-device.html |
| diff --git a/LayoutTests/fast/events/touch/create-touch-event-source-device.html b/LayoutTests/fast/events/touch/create-touch-event-source-device.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3f87b30cc123da15df0c19fc6a666cb9233c90a6 |
| --- /dev/null |
| +++ b/LayoutTests/fast/events/touch/create-touch-event-source-device.html |
| @@ -0,0 +1,18 @@ |
| +<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| +<html> |
| +<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.
|
| +<script src="../../../resources/js-test.js"></script> |
| +</head> |
| +<body> |
| +<p id="description"></p> |
| +<div id="console"></div> |
| +<script type="text/javascript"> |
| +description('Test that touch events should have a sourceDevice set to null when creating from Javascript.'); |
| + |
| +var event = document.createEvent("TouchEvent"); |
| +shouldBeNonNull("event"); |
| +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.
|
| + |
| +</script> |
| +</body> |
| +</html> |