| CONSOLE WARNING: line 1: document.createTouchList is deprecated and will be removed in M69, around September 2018. Please use TouchEvent constructor instead. See https://www.chromestatus.com/features/5668612064935936 for more details. |
| This test ensures that WebKit doesn't crash when the document.createTouchList API is called with non-Touch parameters |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| PASS document.createTouchList(document).item(0) threw exception TypeError: Failed to execute 'createTouchList' on 'Document': parameter 1 is not of type 'Touch'.. |
| PASS document.createTouchList({"a":1}).item(0) threw exception TypeError: Failed to execute 'createTouchList' on 'Document': parameter 1 is not of type 'Touch'.. |
| PASS document.createTouchList(new Array(5)).item(0) threw exception TypeError: Failed to execute 'createTouchList' on 'Document': parameter 1 is not of type 'Touch'.. |
| PASS document.createTouchList("string").item(0) threw exception TypeError: Failed to execute 'createTouchList' on 'Document': parameter 1 is not of type 'Touch'.. |
| PASS document.createTouchList(null).item(0) threw exception TypeError: Failed to execute 'createTouchList' on 'Document': parameter 1 is not of type 'Touch'.. |
| PASS document.createTouchList(undefined).item(0) threw exception TypeError: Failed to execute 'createTouchList' on 'Document': parameter 1 is not of type 'Touch'.. |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |