| Index: LayoutTests/fast/events/uievent-with-inputdevice.html
|
| diff --git a/LayoutTests/fast/events/uievent-with-inputdevice.html b/LayoutTests/fast/events/uievent-with-inputdevice.html
|
| index d5ef4d67d12af2d22e49541a49af41a1b2e8085f..f52afa4685f086b8843a1f3d5b90d3f9b3c582d1 100644
|
| --- a/LayoutTests/fast/events/uievent-with-inputdevice.html
|
| +++ b/LayoutTests/fast/events/uievent-with-inputdevice.html
|
| @@ -17,5 +17,16 @@
|
| var touchevent = document.createEvent("TouchEvent");
|
| shouldBeNonNull("touchevent");
|
| shouldBeNull("touchevent.sourceDevice");
|
| +
|
| + var keyboardevent = document.createEvent("KeyboardEvent");
|
| + shouldBeNonNull("keyboardevent");
|
| + shouldBeNull("keyboardevent.sourceDevice");
|
| +
|
| + var sourceDevice = new InputDevice({ firesTouchEvents: false });
|
| + shouldBeFalse("sourceDevice.firesTouchEvents");
|
| +
|
| + keyboardevent.initKeyboardEvent("keydown", true, true, null, 0, 0, false, false, false, false, sourceDevice);
|
| + shouldBeNonNull("keyboardevent.sourceDevice");
|
| + shouldBeFalse("keyboardevent.sourceDevice.firesTouchEvents");
|
|
|
| -</script>
|
| +</script>
|
|
|