OLD | NEW |
1 This tests support for the document.createTouchList API. | 1 This tests support for the document.createTouchList API. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS "createTouchList" in document is true | 6 PASS "createTouchList" in document is true |
7 PASS touchList is non-null. | 7 PASS touchList is non-null. |
8 PASS touchList.length is 0 | 8 PASS touchList.length is 0 |
9 PASS touchList.item(0) is null | 9 PASS touchList.item(0) is null |
10 PASS touchList.item(1) is null | 10 PASS touchList.item(1) is null |
11 PASS touchList.item() threw exception TypeError: Not enough arguments. | 11 PASS touchList.item() threw exception TypeError: Not enough arguments. |
12 PASS ts instanceof TouchEvent is true | 12 PASS ts instanceof TouchEvent is true |
13 PASS ts.touches instanceof TouchList is true | 13 PASS ts.touches instanceof TouchList is true |
14 PASS ts.touches.length is 2 | 14 PASS ts.touches.length is 2 |
15 PASS ts.touches[0] instanceof Touch is true | 15 PASS ts.touches[0] instanceof Touch is true |
16 PASS ts.touches[0].identifier is 12341 | 16 PASS ts.touches[0].identifier is 12341 |
17 PASS ts.touches[0].clientX is 60 | 17 PASS ts.touches[0].clientX is 60 |
18 PASS ts.touches[1].screenY is 120 | 18 PASS ts.touches[1].screenY is 120 |
19 PASS ts.ctrlKey is true | 19 PASS ts.ctrlKey is true |
| 20 PASS An exception was thrown: Type error |
20 PASS successfullyParsed is true | 21 PASS successfullyParsed is true |
21 | 22 |
22 TEST COMPLETE | 23 TEST COMPLETE |
23 | 24 |
OLD | NEW |