Chromium Code Reviews| 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..6f2ea98553b14f97b1ec6e31450e30d3df7a47d3 |
| --- /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."); |
| + |
| +shouldBe("new InputDevice().firesTouchEvents", "false"); |
|
tkent
2015/06/04 00:00:47
shouldBe -> shouldBeFalse
lanwei
2015/06/04 21:21:35
Done.
|
| +shouldBe("new InputDevice({ firesTouchEvents: true }).firesTouchEvents", "true"); |
|
tkent
2015/06/04 00:00:47
shouldBe -> shouldBeTrue
lanwei
2015/06/04 21:21:35
Done.
|
| + |
| +</script> |
| +</body> |
| +</html> |