blob: 2f59df3c4c7e016460a2d50cd28cf4edabf8ed87 [file] [log] [blame]
description = "This tests whether the DOM can create TouchEvents.";
debug(description);
var event = null;
try
{
event = document.createEvent("TouchEvent");
shouldBeNonNull("event");
}
catch (e)
{
testFailed("An exception was thrown: " + e.message);
}