1 This tests support for the document.createTouchList API.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS "createTouchList" in document is true
7 PASS touchList is non-null.
8 PASS touchList.length is 0
9 PASS touchList.item(0) is null
10 PASS touchList.item(1) is null
11 PASS touchList.item() threw exception TypeError: Failed to execute 'item' on 'TouchList': 1 argument required, but only 0 present..
12 PASS ts instanceof TouchEvent is true
13 PASS ts.touches instanceof TouchList is true
14 PASS ts.touches.length is 2
15 PASS ts.touches[0] instanceof Touch is true
16 PASS ts.touches[0].identifier is 12341
17 PASS ts.touches[0].clientX is 60
18 PASS ts.touches[1].screenY is 120
19 PASS ts.ctrlKey is true
20 PASS An exception was thrown: Failed to execute 'createTouchList' on 'Document': parameter 1 is not of type 'Touch'.
21 PASS successfullyParsed is true
24 PASS successfullyParsed is true