Home | History | Annotate | Download | only in touch
      1 This test ensures that WebKit doesn't crash when the document.createTouchList API is called with non-Touch parameters
      2 
      3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
      4 
      5 
      6 PASS document.createTouchList(document).item(0) is null
      7 PASS document.createTouchList({"a":1}).item(0) is null
      8 PASS document.createTouchList(new Array(5)).item(0) is null
      9 PASS document.createTouchList("string").item(0) is null
     10 PASS document.createTouchList(null).item(0) is null
     11 PASS document.createTouchList(undefined).item(0) is null
     12 PASS tl.length is 3
     13 PASS tl.item(0) is non-null.
     14 PASS tl.item(1) is null
     15 PASS tl.item(2) is non-null.
     16 PASS successfullyParsed is true
     17 
     18 TEST COMPLETE
     19 
     20