summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/events/touch/document-create-touch-expected.txt
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-10-15 17:12:52 +0100
committerBen Murdoch <benm@google.com>2010-10-15 17:33:53 +0100
commit9dfa8dc622519374a57a0b24ab9d7f73afe160ed (patch)
treecf85774d399aa30c22eee8eff8e50c3a6de2a621 /LayoutTests/fast/events/touch/document-create-touch-expected.txt
parent09fce604f7e67802272bf991cb667509521c36b3 (diff)
downloadexternal_webkit-9dfa8dc622519374a57a0b24ab9d7f73afe160ed.zip
external_webkit-9dfa8dc622519374a57a0b24ab9d7f73afe160ed.tar.gz
external_webkit-9dfa8dc622519374a57a0b24ab9d7f73afe160ed.tar.bz2
Implement the document.createTouch and document.createTouchList APIs
These are Apple extensions to the document object present on iOS and are used by several sites to detect touch event support. See http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/DocumentAdditionsReference/DocumentAdditions/DocumentAdditions.html for Apple's documentation. Upstreaming to webkit being tracked in https://bugs.webkit.org/show_bug.cgi?id=47676 Bug: 2996106 Change-Id: I761b1494af60b5095ad9c47d54eb7240d47ae985
Diffstat (limited to 'LayoutTests/fast/events/touch/document-create-touch-expected.txt')
-rw-r--r--LayoutTests/fast/events/touch/document-create-touch-expected.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/LayoutTests/fast/events/touch/document-create-touch-expected.txt b/LayoutTests/fast/events/touch/document-create-touch-expected.txt
new file mode 100644
index 0000000..c1c647f
--- /dev/null
+++ b/LayoutTests/fast/events/touch/document-create-touch-expected.txt
@@ -0,0 +1,24 @@
+This tests support for the document.createTouch API.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS "createTouch" in document is true
+PASS touch is non-null.
+PASS touch.target is box
+PASS touch.identifier is 1
+PASS touch.pageX is 100
+PASS touch.pageY is 101
+PASS touch.screenX is 102
+PASS touch.screenY is 103
+PASS emptyTouch is non-null.
+PASS emptyTouch.target is null
+PASS emptyTouch.identifier is 0
+PASS emptyTouch.pageX is 0
+PASS emptyTouch.pageY is 0
+PASS emptyTouch.screenX is 0
+PASS emptyTouch.screenY is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+