OLD | NEW |
1 CONSOLE WARNING: line 20: 'TouchEvent.initTouchEvent' is deprecated and will be
removed in M54, around October 2016. Please use the TouchEvent constructor inste
ad. See https://www.chromestatus.com/features/5730982598541312 for more details. | |
2 This tests support for the document.createTouchList API. | 1 This tests support for the document.createTouchList API. |
3 | 2 |
4 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
". |
5 | 4 |
6 | 5 |
7 PASS "createTouchList" in document is true | 6 PASS "createTouchList" in document is true |
8 PASS touchList is non-null. | 7 PASS touchList is non-null. |
9 PASS touchList.length is 0 | 8 PASS touchList.length is 0 |
10 PASS touchList.item(0) is null | 9 PASS touchList.item(0) is null |
11 PASS touchList.item(1) is null | 10 PASS touchList.item(1) is null |
12 PASS touchList.item() threw exception TypeError: Failed to execute 'item' on 'To
uchList': 1 argument required, but only 0 present.. | 11 PASS touchList.item() threw exception TypeError: Failed to execute 'item' on 'To
uchList': 1 argument required, but only 0 present.. |
13 PASS ts instanceof TouchEvent is true | 12 PASS ts instanceof TouchEvent is true |
14 PASS ts.touches instanceof TouchList is true | 13 PASS ts.touches instanceof TouchList is true |
15 PASS ts.touches.length is 2 | 14 PASS ts.touches.length is 2 |
16 PASS ts.touches[0] instanceof Touch is true | 15 PASS ts.touches[0] instanceof Touch is true |
17 PASS ts.touches[0].identifier is 12341 | 16 PASS ts.touches[0].identifier is 12341 |
18 PASS ts.touches[0].clientX is 60 | 17 PASS ts.touches[0].clientX is 60 |
19 PASS ts.touches[1].screenY is 120 | 18 PASS ts.touches[1].screenY is 120 |
20 PASS ts.ctrlKey is true | 19 PASS ts.ctrlKey is true |
21 PASS An exception was thrown: Failed to execute 'createTouchList' on 'Document':
parameter 1 is not of type 'Touch'. | 20 PASS An exception was thrown: Failed to execute 'createTouchList' on 'Document':
parameter 1 is not of type 'Touch'. |
22 PASS successfullyParsed is true | 21 PASS successfullyParsed is true |
23 | 22 |
24 TEST COMPLETE | 23 TEST COMPLETE |
25 PASS successfullyParsed is true | 24 PASS successfullyParsed is true |
26 | 25 |
27 TEST COMPLETE | 26 TEST COMPLETE |
28 | 27 |
OLD | NEW |