blob: 251d1a54da4d6530ef81fd92fc48b39db895a551 [file] [log] [blame]
This tests support for the document.createTouchList and window.TouchEvent APIs.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS 'TouchEvent' in window is true
PASS window.propertyIsEnumerable('TouchEvent') is false
PASS new TouchEvent() threw exception TypeError: Not enough arguments.
PASS "createTouchList" in document is true
PASS touchList is non-null.
PASS touchList.length is 0
PASS touchList.item(0) is null
PASS touchList.item(1) is null
PASS ts.touches.length is 2
PASS ts.touches[0].identifier is 12341
PASS ts.touches[0].clientX is 60
PASS ts.touches[1].screenY is 120
PASS ts.ctrlKey is true
PASS var tl = document.createTouchList(1, 2) threw exception TypeError: Type error.
PASS successfullyParsed is true
TEST COMPLETE