Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / touch / resources / create-touch-event.js
blob2f59df3c4c7e016460a2d50cd28cf4edabf8ed87
1 description = "This tests whether the DOM can create TouchEvents.";
3 debug(description);
5 var event = null;
7 try
9 event = document.createEvent("TouchEvent");
10 shouldBeNonNull("event");
12 catch (e)
14 testFailed("An exception was thrown: " + e.message);