| Index: third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash.html b/third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash.html
|
| index f25fe74f51659b50e372c2bf3b3f8425eb0e1a31..12de76a2b005fb9dcbcb9d61246b802f079bdda7 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/events/touch/touch-event-dispatch-no-crash.html
|
| @@ -6,8 +6,9 @@
|
| <script type="text/javascript">
|
| description('Test that touches created with no target does not crash during dispatch. http://crbug.com/517962');
|
|
|
| -var event = document.createEvent('TouchEvent');
|
| -event.initTouchEvent(document.createTouchList(document.createTouch()));
|
| +var event = new TouchEvent('touchstart', {
|
| + touches: [document.createTouch()],
|
| +});
|
| document.body.dispatchEvent(event);
|
|
|
| </script>
|
|
|