tests/touch-events-v1/submissions/Mozilla/single-touch.html
changeset 161 59c414982391
parent 151 e0189d342a0c
--- a/tests/touch-events-v1/submissions/Mozilla/single-touch.html	Mon Sep 10 12:56:18 2012 -0400
+++ b/tests/touch-events-v1/submissions/Mozilla/single-touch.html	Mon Sep 10 13:07:17 2012 -0400
@@ -35,8 +35,7 @@
 
         test(function() {
           assert_true(ev.target instanceof Element, "target must be an Element.");
-          assert_equals(ev.relatedTarget, null, "relatedTarget must be null for touchstart event.");
-        }, "touchstart TouchEvent target attributes are correct.");
+        }, "touchstart TouchEvent target attribute is correct.");
 
         test(function() {
           var attrs = ["altKey", "metaKey", "ctrlKey", "shiftKey"];
@@ -72,17 +71,6 @@
         }, "identifiedTouch");
 
         test(function() {
-          assert_true(t.rotationAngle >= 0, "rotationAngle must be >= 0.");
-          assert_true(t.rotationAngle < 90, "rotationAngle must be > 90.");
-
-          assert_true(t.radiusX > 0, "radiusX is positive.");
-          assert_true(t.radiusY > 0, "radiusY is positive.");
-
-          assert_true(t.force >= 0, "force >= 0.");
-          assert_true(t.force <= 1, "force <= 1.");
-        }, "Touch attribute values are valid");
-
-        test(function() {
           var attrs = ["screenX", "screenY", "clientX", "clientY",
                        "pageX", "pageY"];
           for (var i = 0; i < attrs.length; i++) {
@@ -122,7 +110,7 @@
         invalid_touchmove_received = true;
       });
 
-      on_event(window, "touchend", function onTouchStart(ev) {
+      on_event(window, "touchend", function onTouchEnd(ev) {
         touchend_received = true;
 
         test_touchend.step(function() {
@@ -153,17 +141,6 @@
         }, "touchend identifier matches.");
 
         test(function() {
-          assert_true(t.rotationAngle >= 0, "rotationAngle must be >= 0.");
-          assert_true(t.rotationAngle < 90, "rotationAngle must be > 90.");
-
-          assert_true(t.radiusX > 0, "radiusX is positive.");
-          assert_true(t.radiusY > 0, "radiusY is positive.");
-
-          assert_true(t.force >= 0, "force >= 0.");
-          assert_true(t.force <= 1, "force <= 1.");
-        }, "Touch attribute values are valid");
-
-        test(function() {
           var attrs = ["screenX", "screenY", "clientX", "clientY",
                        "pageX", "pageY"];
           for (var i = 0; i < attrs.length; i++) {