Index: LayoutTests/fast/input/input-device-constructor.html |
diff --git a/LayoutTests/fast/input/input-device-constructor.html b/LayoutTests/fast/input/input-device-constructor.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..546bc600ab63eb9f52d5e103b22019bfd9a139f5 |
--- /dev/null |
+++ b/LayoutTests/fast/input/input-device-constructor.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script src="../../resources/js-test.js"></script> |
+</head> |
+<body> |
+<script> |
+description("This tests the constructor for the InputDevice DOM class."); |
+ |
+shouldBeFalse("new InputDevice().firesTouchEvents"); |
+shouldBeTrue("new InputDevice({ firesTouchEvents: true }).firesTouchEvents"); |
+ |
+</script> |
+</body> |
+</html> |