tests/touch-events-v1/approved/single-touch.html
changeset 177 19c6f3d0eb8a
parent 167 418583839ba5
child 179 7cd6d8c1e3bc
--- a/tests/touch-events-v1/approved/single-touch.html	Sat Dec 08 17:08:18 2012 -0500
+++ b/tests/touch-events-v1/approved/single-touch.html	Tue Jan 22 13:28:15 2013 -0500
@@ -19,8 +19,6 @@
   <script>
     setup({explicit_done: true});
 
-    var hasIdentifiedTouch = true;
-    
     // Check a Touch object's atttributes for existence and correct type
     // TA: 1.1.2, 1.1.3
     function check_Touch_object (t) {
@@ -74,14 +72,10 @@
         [
           ["unsigned long", "length"],
           ["function", "item"],
-          ["function", "identifiedTouch"],
         ].forEach(function(attr) {
             var type = attr[0];
             var name = attr[1];
 
-            if (name == "identifiedTouch" && !hasIdentifiedTouch)
-              return;
-              
             // existence check
             test(function() {
                 assert_true(name in tl, name + " attribute in TouchList");
@@ -96,7 +90,7 @@
                 break;
             case "function":
                 test(function() {
-                    assert_equals(typeof tl[name], "function", name + " attribute of type long");
+                    assert_equals(typeof tl[name], "function", name + " attribute of type function");
                 }, "TouchList." + name + " attribute is of type function");
                 break;
             default:
@@ -198,12 +192,6 @@
         assert_equals(touchList.item(0), touch, "touchList.item(0) is input touch");
       }, "document.createTouchList exists and correctly creates a TouchList from a single Touch");
 
-      test(function() {
-        // A common failure mode (eg. WebKit bug 96294), don't report multiple errors for it
-        hasIdentifiedTouch = 'identifiedTouch' in touchList;
-        assert_true(hasIdentifiedTouch);
-      }, "TouchList contains an identifiedTouch property");
-
       if (touchList)
         check_TouchList_object(touchList);
 
@@ -254,13 +242,6 @@
         }, "touchstart: event target same as targetTouches target");
 
         // TA: @TBD
-        if (hasIdentifiedTouch) {
-          test(function() {
-            assert_equals(ev.touches.identifiedTouch(touchstart_identifier), t, "touches.identifiedTouch is correct.");
-          }, "touchstart: touches.identifiedTouch same as first touch point id");
-        }
-        
-        // TA: @TBD
         test(function() {
           assert_true(is_touch_over_element(t, target0), "touch.pageX/pageY is over target0.");
         }, "touchstart: touch pageX/pageY inside of target element");