diff options
Diffstat (limited to 'LayoutTests/fast/events/touch/script-tests/document-create-touch-list.js')
-rw-r--r-- | LayoutTests/fast/events/touch/script-tests/document-create-touch-list.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/LayoutTests/fast/events/touch/script-tests/document-create-touch-list.js b/LayoutTests/fast/events/touch/script-tests/document-create-touch-list.js new file mode 100644 index 0000000..9c87c9a --- /dev/null +++ b/LayoutTests/fast/events/touch/script-tests/document-create-touch-list.js @@ -0,0 +1,12 @@ +description("This tests support for the document.createTouchList API."); + +shouldBeTrue('"createTouchList" in document'); + +var touchList = document.createTouchList(); +shouldBeNonNull("touchList"); +shouldBe("touchList.length", "0"); +shouldBeNull("touchList.item(0)"); +shouldBeNull("touchList.item(1)"); + +successfullyParsed = true; +isSuccessfullyParsed(); |