Diff
Modified: trunk/LayoutTests/ChangeLog (188133 => 188134)
--- trunk/LayoutTests/ChangeLog 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/ChangeLog 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,5 +1,47 @@
2015-08-07 Simon Fraser <[email protected]>
+ ios-sim-deprecated/iphone/fast/events/touch/ already existed in fast/events/touch, so remove them.
+
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/document-create-touch-list-ios-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/document-create-touch-list-ios.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/gesture-event-basic-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/gesture-event-basic.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/input-touch-target-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/input-touch-target.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/inserted-fragment-touch-target-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/inserted-fragment-touch-target.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/moved-touch-target-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/moved-touch-target.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/multi-touch-some-without-handlers-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/multi-touch-some-without-handlers.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/ontouchstart-active-selector-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/ontouchstart-active-selector.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/removed-fragment-touch-target-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/removed-fragment-touch-target.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/removed-touch-target-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/removed-touch-target.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/TEMPLATE.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/document-create-touch-list-ios.js: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/input-touch-target.js: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/multi-touch-some-without-handlers.js: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/text-node-touch-target.js: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/textarea-touch-target.js: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/touch-event-frames.js: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/touch-event-pageXY.js: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/zoomed-touch-event-pageXY.js: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/text-node-touch-target-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/text-node-touch-target.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/textarea-touch-target-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/textarea-touch-target.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-frames-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-frames.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-pageXY-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-pageXY.html: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/zoomed-touch-event-pageXY-expected.txt: Removed.
+ * platform/ios-sim-deprecated/iphone/fast/events/touch/zoomed-touch-event-pageXY.html: Removed.
+
+2015-08-07 Simon Fraser <[email protected]>
+
Move platform/ios-sim-deprecated/http/tests/loading/multiple-prioritization.html into http/tests/loading/
* http/tests/loading/multiple-prioritization-expected.txt: Renamed from LayoutTests/platform/ios-sim-deprecated/http/tests/loading/multiple-prioritization-expected.txt.
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/document-create-touch-list-ios-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/document-create-touch-list-ios-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/document-create-touch-list-ios-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,8 +0,0 @@
-CONSOLE MESSAGE: line 1: TypeError: HTMLParagraphElement is not a function (evaluating 'description("This tests support for the document.createTouchList and window.TouchEvent APIs.")')
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x0
- RenderBlock {DIV} at (0,0) size 784x0
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/document-create-touch-list-ios.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/document-create-touch-list-ios.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/document-create-touch-list-ios.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href=""
-<script src=""
-<script src=""
-<!--
- Touch tests that involve the ontouchstart, ontouchmove, ontouchend or ontouchcancel callbacks
- should be written in an asynchronous fashion so they can be run on mobile platforms like Android.
- This template will generate an asynchronous style test by using the js-test-post-function script.
- You will need to invoke isSuccessfullyParsed() in your test script when the test completes.
--->
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/gesture-event-basic-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/gesture-event-basic-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/gesture-event-basic-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,6 +0,0 @@
-CONSOLE MESSAGE: line 10: ReferenceError: Can't find variable: description
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/gesture-event-basic.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/gesture-event-basic.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/gesture-event-basic.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,89 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href=""
-<script src=""
-</head>
-<body>
-<script>
-
-description("This tests initializing GestureEvents");
-
-// To use GestureEvents use createEvent and initGestureEvent.
-// NOTE: iOS Does not expose GestureEvent.
-shouldBeTrue("!('GestureEvent' in window)");
-
-// Global properties for events.
-var type; // Assigned before checking.
-var canBubble = false;
-var cancelable = true;
-var view = window;
-var detail = 1;
-var screenX = 2;
-var screenY = 3;
-var clientX = 4;
-var clientY = 5;
-var ctrlKey = false;
-var altKey = true;
-var shiftKey = false;
-var metaKey = true;
-var target = document.body;
-var scale = 1.5;
-var rotation = 10.5;
-
-function createGestureEvent(type) {
- var event = document.createEvent("GestureEvent");
- event.initGestureEvent(type,
- canBubble, cancelable, view, detail,
- screenX, screenY, clientX, clientY,
- ctrlKey, altKey, shiftKey, metaKey,
- target, scale, rotation);
- return event;
-}
-
-function validateGestureEvent(t, event) {
- debug("");
- debug("EVENT: " + t);
- type = t;
-
- // Check exposed properties against values that were set.
- shouldBe("event.type", "type");
- shouldBe("event.bubbles", "canBubble");
- shouldBe("event.cancelable", "cancelable");
- shouldBe("event.view", "view");
- shouldBe("event.detail", "detail");
- shouldBe("event.ctrlKey", "ctrlKey");
- shouldBe("event.altKey", "altKey");
- shouldBe("event.shiftKey", "shiftKey");
- shouldBe("event.metaKey", "metaKey");
- shouldBe("event.target", "target");
- shouldBe("event.scale", "scale");
- shouldBe("event.rotation", "rotation");
-
- // Properties that aren't exposed but were in init.
- shouldBe("event.screenX", "undefined");
- shouldBe("event.screenY", "undefined");
- shouldBe("event.clientX", "undefined");
- shouldBe("event.clientY", "undefined");
-}
-
-target.addEventListener("gesturestart", function(event) { validateGestureEvent("gesturestart", event); }, false);
-target.addEventListener("gesturechange", function(event) { validateGestureEvent("gesturechange", event); }, false);
-target.addEventListener("gestureend", function(event) { validateGestureEvent("gestureend", event); }, false);
-
-try {
- var e;
- e = createGestureEvent("gesturestart");
- target.dispatchEvent(e);
- e = createGestureEvent("gesturechange");
- target.dispatchEvent(e);
- e = createGestureEvent("gestureend");
- target.dispatchEvent(e);
-} catch (e) {
- testFailed("An exception was thrown: " + e.message);
-}
-
-</script>
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/input-touch-target-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/input-touch-target-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/input-touch-target-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,12 +0,0 @@
-CONSOLE MESSAGE: line 20: TypeError: HTMLParagraphElement is not a function (evaluating 'description("Tests that input elements can receive touch events.")')
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x0
- RenderBlock {DIV} at (0,0) size 784x0
-layer at (2,2) size 293x43
- RenderTextControl {INPUT} at (2,2) size 293x43 [bgcolor=#FFFFFF] [border: (1px solid #4C4C4C)]
-layer at (15,8) size 267x29
- RenderBlock {DIV} at (13,5) size 267x30
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/input-touch-target.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/input-touch-target.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/input-touch-target.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href=""
-<script src=""
-<script src=""
-<!--
- Touch tests that involve the ontouchstart, ontouchmove, ontouchend or ontouchcancel callbacks
- should be written in an asynchronous fashion so they can be run on mobile platforms like Android.
- This template will generate an asynchronous style test by using the js-test-post-function script.
- You will need to invoke isSuccessfullyParsed() in your test script when the test completes.
--->
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/inserted-fragment-touch-target-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/inserted-fragment-touch-target-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/inserted-fragment-touch-target-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,5 +0,0 @@
-This is the touch target.
-Should see a single touch at 20,20
-[TouchEvent X: 20 Y: 20]
-PASSED
-
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/inserted-fragment-touch-target.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/inserted-fragment-touch-target.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/inserted-fragment-touch-target.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,77 +0,0 @@
-<!doctype html>
-<html>
-<head>
- <title>Inserted Fragment Touch Target</title>
- <style>
- body {
- margin: 0;
- padding: 0;
- }
-
- .container {
- position: absolute;
- top: 10px;
- left: 10px;
- width: 50px;
- height: 50px;
- border: 1px solid green;
- }
-
- .target {
- width: 40px;
- height: 40px;
- background-color: red;
- }
-
- #results {
- position: absolute;
- top: 100px;
- }
- </style>
- <script src=""
- <script>
-
- // While this isn't a particularly nice approach to the solution,
- // it is a direct copy from the original bug report.
- function createElementsFromString(input) {
- var div = document.createElement("div");
- div.innerHTML = input;
- var children = div.children;
- var fragment = document.createDocumentFragment();
- for (var i = 0, length = children.length; i < length; i++) {
- fragment.appendChild(children[0])
- }
- return fragment.firstChild;
- }
-
- function targetTouched(event) {
- logTouch(event);
- debug("PASSED");
- if (window.testRunner)
- testRunner.notifyDone();
- }
-
- function init() {
- var target = createElementsFromString("<div class='target'>This is the <strong>touch target</strong>.</div>");
- target.addEventListener("touchstart", targetTouched, false);
- var container = document.querySelector(".container");
- container.appendChild(target);
- debug("Should see a single touch at 20,20");
- tapSoon(20, 20);
- }
-
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- window.addEventListener("load", init, false);
-</script>
-</head>
-<body>
- <div class="container">
- </div>
- <div id="results">
- </div>
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/moved-touch-target-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/moved-touch-target-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/moved-touch-target-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,6 +0,0 @@
-Should see two touches. The first should be at 20,20
-[TouchEvent X: 20 Y: 20]
-Now move the element from one parent to another. Second touch should be at 110,20
-[TouchEvent X: 110 Y: 20]
-PASSED
-
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/moved-touch-target.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/moved-touch-target.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/moved-touch-target.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,86 +0,0 @@
-<!doctype html>
-<html>
-<head>
- <title>Moved Touch Target</title>
- <style>
- body {
- margin: 0;
- padding: 0;
- }
-
- .container1 {
- position: absolute;
- top: 10px;
- left: 10px;
- width: 50px;
- height: 50px;
- border: 1px solid green;
- }
-
- .container2 {
- position: absolute;
- top: 10px;
- left: 100px;
- width: 50px;
- height: 50px;
- border: 1px solid blue;
- }
-
- .target {
- width: 40px;
- height: 40px;
- background-color: red;
- }
-
- #results {
- position: absolute;
- top: 100px;
- }
- </style>
- <script src=""
- <script>
-
- var expectedTouches = 2;
-
- function targetTouched(event) {
- logTouch(event);
- expectedTouches--;
- if (expectedTouches) {
- debug("Now move the element from one parent to another. Second touch should be at 110,20");
- var target = document.querySelector(".target");
- var container2 = document.querySelector(".container2");
- container2.appendChild(target);
- tapSoon(110, 20);
- } else {
- debug("PASSED");
- if (window.testRunner)
- testRunner.notifyDone();
- }
- }
-
- function init() {
- var target = document.querySelector(".target");
- target.addEventListener("touchstart", targetTouched, false);
- debug("Should see two touches. The first should be at 20,20");
- tapSoon(20, 20);
- }
-
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- window.addEventListener("load", init, false);
-</script>
-</head>
-<body>
- <div class="container1">
- <div class="target">
- </div>
- </div>
- <div class="container2">
- </div>
- <div id="results">
- </div>
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/multi-touch-some-without-handlers-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/multi-touch-some-without-handlers-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/multi-touch-some-without-handlers-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,9 +0,0 @@
-CONSOLE MESSAGE: line 111: TypeError: HTMLParagraphElement is not a function (evaluating 'description("This tests multi touch event support where one of the touches has no touch event handler.")')
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x576
- RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#0000FF]
- RenderBlock {P} at (0,116) size 784x0
- RenderBlock {DIV} at (0,116) size 784x0
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/multi-touch-some-without-handlers.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/multi-touch-some-without-handlers.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/multi-touch-some-without-handlers.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href=""
-<script src=""
-<script src=""
-<!--
- Touch tests that involve the ontouchstart, ontouchmove, ontouchend or ontouchcancel callbacks
- should be written in an asynchronous fashion so they can be run on mobile platforms like Android.
- This template will generate an asynchronous style test by using the js-test-post-function script.
- You will need to invoke isSuccessfullyParsed() in your test script when the test completes.
--->
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/ontouchstart-active-selector-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/ontouchstart-active-selector-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/ontouchstart-active-selector-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,7 +0,0 @@
-CONSOLE MESSAGE: line 23: ReferenceError: Can't find variable: description
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x216
- RenderBlock {HTML} at (0,0) size 800x216
- RenderBody {BODY} at (8,8) size 784x200
- RenderBlock {DIV} at (0,0) size 200x200 [bgcolor=#0000FF]
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/ontouchstart-active-selector.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/ontouchstart-active-selector.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/ontouchstart-active-selector.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link rel="stylesheet" href=""
-<script src=""
-<style>
- #touchMe {
- background-color: blue;
- width: 200px;
- height: 200px;
- top: 0;
- left: 0;
- }
- #touchMe:active {
- background-color: red;
- }
-</style>
-</head>
-<body>
-<div id="touchMe" _ontouchstart_=""></div>
-<script>
-
-description("This tests the :active selector on touchable elements");
-
-if (!window.eventSender)
- debug("This test will FAIL outside of DRT, but you can test it manually by touching the blue square below. If it turns red when touched, the test is a PASS.");
-
-touchMe = document.getElementById("touchMe");
-
-shouldBe("getComputedStyle(touchMe).backgroundColor", "'rgb(0, 0, 255)'");
-
-if (window.eventSender) {
- eventSender.clearTouchPoints();
- eventSender.addTouchPoint(touchMe.offsetLeft + 10, touchMe.offsetTop + 10);
- eventSender.touchStart();
-}
-
-shouldBe("getComputedStyle(touchMe).backgroundColor", "'rgb(255, 0, 0)'");
-
-if (window.eventSender) {
- eventSender.clearTouchPoints();
- eventSender.touchEnd();
-}
-
-shouldBe("getComputedStyle(touchMe).backgroundColor", "'rgb(0, 0, 255)'");
-
-</script>
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/removed-fragment-touch-target-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/removed-fragment-touch-target-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/removed-fragment-touch-target-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,5 +0,0 @@
-Should see a single touch at 20,20
-[TouchEvent X: 20 Y: 20]
-Now remove the element from its parent and attempt to touch it again. This touch should not register.
-PASSED. We did not see a second touch.
-
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/removed-fragment-touch-target.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/removed-fragment-touch-target.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/removed-fragment-touch-target.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,93 +0,0 @@
-<!doctype html>
-<html>
-<head>
- <title>Removed Document Fragment Touch Target</title>
- <style>
- body {
- margin: 0;
- padding: 0;
- }
-
- .container {
- position: absolute;
- top: 10px;
- left: 10px;
- width: 50px;
- height: 50px;
- border: 1px solid green;
- }
-
- .target {
- width: 40px;
- height: 40px;
- background-color: red;
- }
-
- #results {
- position: absolute;
- top: 100px;
- }
- </style>
- <script src=""
- <script>
-
- var seenTouch = false;
-
- // While this isn't a particularly nice approach to the solution,
- // it is a direct copy from the original bug report.
- function createElementsFromString(input) {
- var div = document.createElement("div");
- div.innerHTML = input;
- var children = div.children;
- var fragment = document.createDocumentFragment();
- for (var i = 0, length = children.length; i < length; i++) {
- fragment.appendChild(children[0])
- }
- return fragment.firstChild;
- }
-
- function targetTouched(event) {
- logTouch(event);
- if (!seenTouch) {
- seenTouch = true;
- debug("Now remove the element from its parent and attempt to touch it again. This touch should not register.");
- var target = document.querySelector(".target");
- target.parentNode.removeChild(target);
- tapSoon(20, 20);
- // Wait 50ms to see if the touch was registered. If it was, then we'll be exiting below.
- setTimeout(function () {
- debug("PASSED. We did not see a second touch.");
- if (window.testRunner)
- testRunner.notifyDone();
- }, 50);
- } else {
- debug("FAILED. We saw a second touch.");
- if (window.testRunner)
- testRunner.notifyDone();
- }
- }
-
- function init() {
- var target = createElementsFromString("<div class='target'>This is the <strong>touch target</strong>.</div>");
- target.addEventListener("touchstart", targetTouched, false);
- var container = document.querySelector(".container");
- container.appendChild(target);
- debug("Should see a single touch at 20,20");
- tapSoon(20, 20);
- }
-
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- window.addEventListener("load", init, false);
-</script>
-</head>
-<body>
- <div class="container">
- </div>
- <div id="results">
- </div>
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/removed-touch-target-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/removed-touch-target-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/removed-touch-target-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,5 +0,0 @@
-Should see only one touch at 20,20
-[TouchEvent X: 20 Y: 20]
-Now remove the element from its parent and attempt to touch it again. This touch should not register.
-PASSED. We did not see a second touch.
-
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/removed-touch-target.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/removed-touch-target.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/removed-touch-target.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,80 +0,0 @@
-<!doctype html>
-<html>
-<head>
- <title>Remove a Touch Target</title>
- <style>
- body {
- margin: 0;
- padding: 0;
- }
-
- .container {
- position: absolute;
- top: 10px;
- left: 10px;
- width: 50px;
- height: 50px;
- border: 1px solid green;
- }
-
- .target {
- width: 40px;
- height: 40px;
- background-color: red;
- }
-
- #results {
- position: absolute;
- top: 100px;
- }
- </style>
- <script src=""
- <script>
-
- var seenTouch = false;
-
- function targetTouched(event) {
- logTouch(event);
- if (!seenTouch) {
- seenTouch = true;
- debug("Now remove the element from its parent and attempt to touch it again. This touch should not register.");
- var target = document.querySelector(".target");
- target.parentNode.removeChild(target);
- tapSoon(20, 20);
- // Wait 50ms to see if the touch was registered. If it was, then we'll be exiting below.
- setTimeout(function () {
- debug("PASSED. We did not see a second touch.");
- if (window.testRunner)
- testRunner.notifyDone();
- }, 50);
- } else {
- debug("FAILED. We saw a second touch.");
- if (window.testRunner)
- testRunner.notifyDone();
- }
- }
-
- function init() {
- var target = document.querySelector(".target");
- target.addEventListener("touchstart", targetTouched, false);
- debug("Should see only one touch at 20,20");
- tapSoon(20, 20);
- }
-
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- window.addEventListener("load", init, false);
-</script>
-</head>
-<body>
- <div class="container">
- <div class="target">
- </div>
- </div>
- <div id="results">
- </div>
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/TEMPLATE.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/TEMPLATE.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/TEMPLATE.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href=""
-<script src=""
-<script src=""
-<!--
- Touch tests that involve the ontouchstart, ontouchmove, ontouchend or ontouchcancel callbacks
- should be written in an asynchronous fashion so they can be run on mobile platforms like Android.
- This template will generate an asynchronous style test by using the js-test-post-function script.
- You will need to invoke isSuccessfullyParsed() in your test script when the test completes.
--->
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/document-create-touch-list-ios.js (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/document-create-touch-list-ios.js 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/document-create-touch-list-ios.js 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,49 +0,0 @@
-description("This tests support for the document.createTouchList and window.TouchEvent APIs.");
-
-// To use TouchEvents use createEvent and initTouchEvent.
-shouldBeTrue("'TouchEvent' in window");
-shouldBeFalse("window.propertyIsEnumerable('TouchEvent')");
-shouldThrow('new TouchEvent()');
-
-shouldBeTrue('"createTouchList" in document');
-
-// Test createTouchList with no arguments.
-var touchList = document.createTouchList();
-shouldBeNonNull("touchList");
-shouldBe("touchList.length", "0");
-shouldBeNull("touchList.item(0)");
-shouldBeNull("touchList.item(1)");
-
-// Test createTouchList with Touch objects as arguments.
-try {
- var t = document.createTouch(window, document.body, 12341, 60, 65, 100, 105);
- var t2 = document.createTouch(window, document.body, 12342, 50, 55, 115, 120);
- var tl = document.createTouchList(t, t2);
-
- var evt = document.createEvent("TouchEvent");
- evt.initTouchEvent(tl, tl, tl, "touchstart", window, 0, 0, 0, 0, true, false, false, false);
-
- document.body.addEventListener("touchstart", function handleTouchStart(ev) {
- ts = ev;
- shouldBe("ts.touches.length", "2");
- shouldBe("ts.touches[0].identifier", "12341");
- shouldBe("ts.touches[0].clientX", "60");
- shouldBe("ts.touches[1].screenY", "120");
- shouldBe("ts.ctrlKey", "true");
- });
-
- document.body.dispatchEvent(evt);
-} catch(e) {
- testFailed("An exception was thrown: " + e.message);
-}
-
-// Test createTouchList with invalid arguments which throws exceptions.
-try {
- var tl = document.createTouchList(1, 2);
-} catch(e) {
- testFailed("An exception was thrown: " + e.message);
-}
-
-successfullyParsed = true;
-isSuccessfullyParsed();
-
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/input-touch-target.js (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/input-touch-target.js 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/input-touch-target.js 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,32 +0,0 @@
-var target = document.createElement('input');
-target.setAttribute('type', 'text');
-target.id = "target";
-target.setAttribute('style', "position: absolute; top: 0; left: 0; font-size: 24px;");
-
-document.body.insertBefore(target, document.getElementById('console'));
-
-function touchStartHandler()
-{
- shouldBeEqualToString('event.type', 'touchstart');
- shouldBeEqualToString('event.touches[0].target.id', target.id);
- shouldBeEqualToString('event.touches[0].target.nodeName', 'INPUT');
-
- successfullyParsed = true;
- isSuccessfullyParsed();
-}
-
-target.addEventListener("touchstart", touchStartHandler, false);
-
-description("Tests that input elements can receive touch events.");
-
-if (window.eventSender) {
- eventSender.clearTouchPoints();
- eventSender.addTouchPoint(10, 10);
- eventSender.touchStart();
- eventSender.touchEnd();
-} else
- debug('This test requires DRT.');
-
-document.body.removeChild(target);
-
-var successfullyParsed = true;
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/multi-touch-some-without-handlers.js (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/multi-touch-some-without-handlers.js 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/multi-touch-some-without-handlers.js 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,120 +0,0 @@
-var div = document.createElement("div");
-div.id = "touchtarget";
-div.style.width = "100px";
-div.style.height = "100px";
-div.style.backgroundColor = "blue";
-
-var lastEvent = null;
-var touchEventsReceived = 0;
-var EXPECTED_TOUCH_EVENTS_TOTAL = 3;
-
-function touchEventCallback() {
- if (window.eventSender) {
- lastEvent = event;
- verifyTouch(touchEventsReceived++);
- } else {
- debug(event.type);
- }
-
- if (window.testRunner && touchEventsReceived == EXPECTED_TOUCH_EVENTS_TOTAL) {
- // If we've got here, we can safely say we were successfully parsed :) We need to
- // call the isSucccessfullyParsed function to output the correct TEST COMPLETE
- // footer message.
- successfullyParsed = true;
- isSuccessfullyParsed();
- testRunner.notifyDone();
- }
-}
-
-div.addEventListener("touchstart", touchEventCallback, false);
-div.addEventListener("touchmove", touchEventCallback, false);
-div.addEventListener("touchend", touchEventCallback, false);
-document.body.insertBefore(div, document.body.firstChild);
-
-function verifyTouchEvent(type, totalTouchCount, changedTouchCount, targetTouchCount)
-{
- shouldBeEqualToString("lastEvent.type", type);
- shouldBe("lastEvent.touches.length", totalTouchCount.toString());
- shouldBe("lastEvent.changedTouches.length", changedTouchCount.toString());
- shouldBe("lastEvent.targetTouches.length", targetTouchCount.toString());
-}
-
-function verifyTouchPoint(list, point, x, y, id)
-{
- shouldBe("lastEvent." + list + "[" + point + "].pageX", x.toString());
- shouldBe("lastEvent." + list + "[" + point + "].pageY", y.toString());
- shouldBe("lastEvent." + list + "[" + point + "].clientX", x.toString());
- shouldBe("lastEvent." + list + "[" + point + "].clientY", y.toString());
- shouldBe("lastEvent." + list + "[" + point + "].identifier", id.toString());
-}
-
-function verifyTouch(which) {
- switch (which) {
- case 0:
- verifyTouchEvent("touchstart", 2, 1, 1);
- verifyTouchPoint("touches", 0, 10, 10, 0);
- verifyTouchPoint("touches", 1, 200, 200, 1);
- verifyTouchPoint("changedTouches", 0, 10, 10, 0);
- verifyTouchPoint("targetTouches", 0, 10, 10, 0);
- break;
-
- case 1:
- verifyTouchEvent("touchmove", 2, 1, 1);
- verifyTouchPoint("touches", 0, 20, 30, 0);
- verifyTouchPoint("touches", 1, 200, 200, 1);
- verifyTouchPoint("changedTouches", 0, 20, 30, 0);
- break;
-
- // At this point touch 2 moved but no event was triggered
- // on the target, since no touch in the target changed.
-
- case 2:
- verifyTouchEvent("touchend", 1, 1, 0);
- verifyTouchPoint("touches", 0, 150, 150, 1);
- verifyTouchPoint("changedTouches", 0, 20, 30, 0);
- break;
-
- default: testFailed("Wrong number of touch events! (" + which + ")");
- }
-}
-
-function multiTouchSequence()
-{
- debug("multi touch sequence");
-
- debug("");
- debug("Two touchpoints, 1 in the target, 1 on the body without a target");
- eventSender.addTouchPoint(10, 10);
- eventSender.addTouchPoint(200, 200)
- eventSender.touchStart(); // Begin, Begin.
-
- debug("");
- debug("First touchpoint moved");
- eventSender.markAllTouchesAsStationary();
- eventSender.updateTouchPoint(0, 20, 30);
- eventSender.touchMove(); // Moved, Stationary.
-
- debug("");
- debug("Second touchpoint moved");
- eventSender.markAllTouchesAsStationary();
- eventSender.updateTouchPoint(1, 150, 150);
- eventSender.touchMove(); // Stationary, Moved.
-
- debug("");
- debug("First touchpoint is released");
- eventSender.markAllTouchesAsStationary();
- eventSender.releaseTouchPoint(0);
- eventSender.touchEnd(); // Ended, Stationary.
-}
-
-if (window.eventSender) {
- description("This tests multi touch event support where one of the touches has no touch event handler.");
-
- lastEvent = null;
- eventSender.clearTouchPoints();
- multiTouchSequence();
-} else {
- debug("This test requires DumpRenderTree.")
-}
-
-var successfullyParsed = true;
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/text-node-touch-target.js (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/text-node-touch-target.js 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/text-node-touch-target.js 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,31 +0,0 @@
-var targetDiv = document.createElement("div");
-targetDiv.id = "targetDiv";
-targetDiv.setAttribute('style', "position: absolute; top: 0; left: 0; background-color: blue; font-size: 24px;");
-targetDiv.innerText = 'This is some text';
-
-document.body.insertBefore(targetDiv, document.getElementById('console'));
-
-function touchStartHandler()
-{
- shouldBeEqualToString('event.type', 'touchstart');
- shouldBeEqualToString('event.touches[0].target.id', targetDiv.id);
- shouldBeEqualToString('event.touches[0].target.nodeName', 'DIV');
-
- successfullyParsed = true;
- isSuccessfullyParsed();
-}
-
-targetDiv.addEventListener("touchstart", touchStartHandler, false);
-
-description("Tests that the event target for a touch on a text node is the parent element, not the text node.");
-
-if (window.eventSender) {
- eventSender.clearTouchPoints();
- eventSender.addTouchPoint(10, 10);
- eventSender.touchStart();
- eventSender.touchEnd();
-} else
- debug('This test requires DRT.');
-
-
-var successfullyParsed = true;
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/textarea-touch-target.js (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/textarea-touch-target.js 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/textarea-touch-target.js 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,31 +0,0 @@
-var target = document.createElement('textarea');
-target.id = "target";
-target.setAttribute('style', "position: absolute; top: 0; left: 0; font-size: 24px;");
-
-document.body.insertBefore(target, document.getElementById('console'));
-
-function touchStartHandler()
-{
- shouldBeEqualToString('event.type', 'touchstart');
- shouldBeEqualToString('event.touches[0].target.id', target.id);
- shouldBeEqualToString('event.touches[0].target.nodeName', 'TEXTAREA');
-
- successfullyParsed = true;
- isSuccessfullyParsed();
-}
-
-target.addEventListener("touchstart", touchStartHandler, false);
-
-description("Tests that input elements can receive touch events.");
-
-if (window.eventSender) {
- eventSender.clearTouchPoints();
- eventSender.addTouchPoint(10, 10);
- eventSender.touchStart();
- eventSender.touchEnd();
-} else
- debug('This test requires DRT.');
-
-document.body.removeChild(target);
-
-var successfullyParsed = true;
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/touch-event-frames.js (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/touch-event-frames.js 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/touch-event-frames.js 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,121 +0,0 @@
-var iframe = document.createElement("iframe");
-iframe.style.border = '1px solid black';
-iframe.style.position = 'absolute';
-iframe.style.left = '9px';
-iframe.style.top = '9px'; // with 1px border, puts the iframe at 10,10
-
-document.body.insertBefore(iframe, document.body.firstChild);
-
-var iframeDoc = iframe.contentDocument;
-var div = iframeDoc.createElement("div");
-div.id = "touchtarget";
-div.style.width = "100px";
-div.style.height = "100px";
-div.style.backgroundColor = "blue";
-
-document.getElementById('console').style.marginTop = '170px';
-
-var lastEvent = null;
-var touchEventsReceived = 0;
-var EXPECTED_TOUCH_EVENTS_TOTAL = 2;
-
-function touchEventCallback(event) {
- if (window.eventSender) {
- lastEvent = event;
- verifyTouch(touchEventsReceived++);
- } else {
- debug(event.type);
- }
-
- if (window.testRunner && touchEventsReceived == EXPECTED_TOUCH_EVENTS_TOTAL) {
- // If we've got here, we can safely say we were successfully parsed :) We need to
- // call the isSucccessfullyParsed function to output the correct TEST COMPLETE
- // footer message.
- successfullyParsed = true;
- isSuccessfullyParsed();
- testRunner.notifyDone();
- }
-}
-
-function mouseEventCallback(event)
-{
- lastEvent = event;
- debug('Mouse event: ' + event.type);
- shouldBe("lastEvent.pageX", "12");
- shouldBe("lastEvent.pageY", "15");
-
- shouldBe("lastEvent.screenX", "22");
- shouldBe("lastEvent.screenY", "25");
-
- shouldBe("lastEvent.clientX", "12");
- shouldBe("lastEvent.clientY", "15");
-}
-
-div.addEventListener("mousedown", mouseEventCallback, false);
-div.addEventListener("touchstart", touchEventCallback, false);
-div.addEventListener("touchmove", touchEventCallback, false);
-div.addEventListener("touchend", touchEventCallback, false);
-iframeDoc.body.style.margin = '0';
-iframeDoc.body.appendChild(div);
-
-function verifyTouchEvent(type, totalTouchCount, changedTouchCount, targetTouchCount)
-{
- shouldBeEqualToString("lastEvent.type", type);
- shouldBe("lastEvent.touches.length", totalTouchCount.toString());
- shouldBe("lastEvent.changedTouches.length", changedTouchCount.toString());
- shouldBe("lastEvent.targetTouches.length", targetTouchCount.toString());
-}
-
-function verifyTouch(which) {
- switch (which) {
- case 0:
- verifyTouchEvent("touchstart", 1, 1, 1);
- shouldBeEqualToString("lastEvent.touches[0].target.id", "touchtarget");
-
- shouldBe("lastEvent.touches[0].pageX", '12');
- shouldBe("lastEvent.touches[0].pageY", '15');
-
- shouldBe("lastEvent.touches[0].clientX", '12');
- shouldBe("lastEvent.touches[0].clientY", '15');
-
- shouldBe("lastEvent.touches[0].screenX", '22');
- shouldBe("lastEvent.touches[0].screenY", '25');
-
- shouldBe("lastEvent.pageX", '12');
- shouldBe("lastEvent.pageY", '15');
- break;
- case 1:
- verifyTouchEvent("touchend", 0, 1, 0);
- break;
-
- default: testFailed("Wrong number of touch events! (" + which + ")");
- }
-}
-
-function sendTouchSequence()
-{
- eventSender.mouseMoveTo(22, 25);
- eventSender.mouseDown();
- eventSender.mouseUp();
-
- eventSender.addTouchPoint(22, 25);
- eventSender.touchStart();
-
- eventSender.releaseTouchPoint(0);
- eventSender.touchEnd();
-}
-
-if (window.testRunner)
- testRunner.waitUntilDone();
-
-if (window.eventSender) {
- description("This tests pageX and pageY coordinates on touch events and touches.");
-
- lastEvent = null;
- sendTouchSequence();
-
-} else {
- debug("This test requires DumpRenderTree. Tap on the blue rect to log.")
-}
-
-
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/touch-event-pageXY.js (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/touch-event-pageXY.js 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/touch-event-pageXY.js 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,121 +0,0 @@
-var div = document.createElement("div");
-div.id = "touchtarget";
-div.style.width = "100px";
-div.style.height = "100px";
-div.style.backgroundColor = "blue";
-
-var lastEvent = null;
-var touchEventsReceived = 0;
-var EXPECTED_TOUCH_EVENTS_TOTAL = 4;
-
-function touchEventCallback() {
- if (window.eventSender) {
- lastEvent = event;
- verifyTouch(touchEventsReceived++);
- } else {
- debug(event.type);
- }
-
- if (window.testRunner && touchEventsReceived == EXPECTED_TOUCH_EVENTS_TOTAL) {
- // If we've got here, we can safely say we were successfully parsed :) We need to
- // call the isSucccessfullyParsed function to output the correct TEST COMPLETE
- // footer message.
- successfullyParsed = true;
- isSuccessfullyParsed();
- testRunner.notifyDone();
- }
-}
-
-div.addEventListener("touchstart", touchEventCallback, false);
-div.addEventListener("touchmove", touchEventCallback, false);
-div.addEventListener("touchend", touchEventCallback, false);
-document.body.insertBefore(div, document.body.firstChild);
-
-function verifyTouchEvent(type, totalTouchCount, changedTouchCount, targetTouchCount)
-{
- shouldBeEqualToString("lastEvent.type", type);
- shouldBe("lastEvent.touches.length", totalTouchCount.toString());
- shouldBe("lastEvent.changedTouches.length", changedTouchCount.toString());
- shouldBe("lastEvent.targetTouches.length", targetTouchCount.toString());
-}
-
-function verifyTouchPoint(list, point, x, y, id)
-{
- shouldBe("lastEvent." + list + "[" + point + "].pageX", x.toString());
- shouldBe("lastEvent." + list + "[" + point + "].pageY", y.toString());
- shouldBe("lastEvent." + list + "[" + point + "].clientX", x.toString());
- shouldBe("lastEvent." + list + "[" + point + "].clientY", y.toString());
- shouldBe("lastEvent." + list + "[" + point + "].identifier", id.toString());
-}
-
-function verifyTouch(which) {
- switch (which) {
- case 0:
- verifyTouchEvent("touchstart", 1, 1, 1);
- shouldBeEqualToString("lastEvent.touches[0].target.id", "touchtarget");
-
- verifyTouchPoint("touches", 0, 8, 12, 0);
- verifyTouchPoint("changedTouches", 0, 8, 12, 0);
- verifyTouchPoint("targetTouches", 0, 8, 12, 0);
-
- shouldBe("lastEvent.pageX", '8');
- shouldBe("lastEvent.pageY", '12');
- break;
- case 1:
- verifyTouchEvent("touchmove", 1, 1, 1);
- verifyTouchPoint("touches", 0, 10, 15, 0);
-
- shouldBe("lastEvent.pageX", '10');
- shouldBe("lastEvent.pageY", '15');
- break;
- case 2:
- verifyTouchEvent("touchstart", 2, 1, 2);
- verifyTouchPoint("touches", 0, 10, 15, 0);
- verifyTouchPoint("touches", 1, 40, 45, 1);
-
- shouldBe("lastEvent.pageX", '25');
- shouldBe("lastEvent.pageY", '30');
- break;
- case 3:
- verifyTouchEvent("touchend", 1, 1, 1);
-
- shouldBe("lastEvent.pageX", '40');
- shouldBe("lastEvent.pageY", '45');
- break;
-
- default: testFailed("Wrong number of touch events! (" + which + ")");
- }
-}
-
-function sendTouchSequence()
-{
- eventSender.addTouchPoint(8, 12);
- eventSender.touchStart();
-
- debug('move');
- eventSender.updateTouchPoint(0, 10, 15);
- eventSender.touchMove();
-
- debug('add second touch');
- eventSender.addTouchPoint(40, 45);
- eventSender.touchStart();
-
- debug('end');
- eventSender.releaseTouchPoint(0);
- eventSender.touchEnd();
-}
-
-if (window.testRunner)
- testRunner.waitUntilDone();
-
-if (window.eventSender) {
- description("This tests pageX and pageY coordinates on touch events and touches.");
-
- lastEvent = null;
- sendTouchSequence();
-
-} else {
- debug("This test requires DumpRenderTree. Tap on the blue rect to log.")
-}
-
-
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/zoomed-touch-event-pageXY.js (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/zoomed-touch-event-pageXY.js 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/script-tests/zoomed-touch-event-pageXY.js 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,122 +0,0 @@
-var div = document.createElement("div");
-div.id = "touchtarget";
-div.style.width = "100px";
-div.style.height = "100px";
-div.style.backgroundColor = "blue";
-
-var lastEvent = null;
-var touchEventsReceived = 0;
-var EXPECTED_TOUCH_EVENTS_TOTAL = 4;
-
-function touchEventCallback() {
- if (window.eventSender) {
- lastEvent = event;
- verifyTouch(touchEventsReceived++);
- } else {
- debug(event.type);
- }
-
- if (window.testRunner && touchEventsReceived == EXPECTED_TOUCH_EVENTS_TOTAL) {
- // If we've got here, we can safely say we were successfully parsed :) We need to
- // call the isSucccessfullyParsed function to output the correct TEST COMPLETE
- // footer message.
- successfullyParsed = true;
- isSuccessfullyParsed();
- testRunner.notifyDone();
- }
-}
-
-div.addEventListener("touchstart", touchEventCallback, false);
-div.addEventListener("touchmove", touchEventCallback, false);
-div.addEventListener("touchend", touchEventCallback, false);
-document.body.insertBefore(div, document.body.firstChild);
-
-function verifyTouchEvent(type, totalTouchCount, changedTouchCount, targetTouchCount)
-{
- shouldBeEqualToString("lastEvent.type", type);
- shouldBe("lastEvent.touches.length", totalTouchCount.toString());
- shouldBe("lastEvent.changedTouches.length", changedTouchCount.toString());
- shouldBe("lastEvent.targetTouches.length", targetTouchCount.toString());
-}
-
-function verifyTouchPoint(list, point, x, y, id)
-{
- shouldBe("lastEvent." + list + "[" + point + "].pageX", x.toString());
- shouldBe("lastEvent." + list + "[" + point + "].pageY", y.toString());
- shouldBe("lastEvent." + list + "[" + point + "].clientX", x.toString());
- shouldBe("lastEvent." + list + "[" + point + "].clientY", y.toString());
- shouldBe("lastEvent." + list + "[" + point + "].identifier", id.toString());
-}
-
-function verifyTouch(which) {
- switch (which) {
- case 0:
- verifyTouchEvent("touchstart", 1, 1, 1);
- shouldBeEqualToString("lastEvent.touches[0].target.id", "touchtarget");
-
- verifyTouchPoint("touches", 0, 8, 12, 0);
- verifyTouchPoint("changedTouches", 0, 8, 12, 0);
- verifyTouchPoint("targetTouches", 0, 8, 12, 0);
-
- shouldBe("lastEvent.pageX", '8');
- shouldBe("lastEvent.pageY", '12');
- break;
- case 1:
- verifyTouchEvent("touchmove", 1, 1, 1);
- verifyTouchPoint("touches", 0, 10, 15, 0);
-
- shouldBe("lastEvent.pageX", '10');
- shouldBe("lastEvent.pageY", '15');
- break;
- case 2:
- verifyTouchEvent("touchstart", 2, 1, 2);
- verifyTouchPoint("touches", 0, 10, 15, 0);
- verifyTouchPoint("touches", 1, 40, 45, 1);
-
- shouldBe("lastEvent.pageX", '25');
- shouldBe("lastEvent.pageY", '30');
- break;
- case 3:
- verifyTouchEvent("touchend", 1, 1, 1);
-
- shouldBe("lastEvent.pageX", '40');
- shouldBe("lastEvent.pageY", '45');
- break;
-
- default: testFailed("Wrong number of touch events! (" + which + ")");
- }
-}
-
-function sendTouchSequence()
-{
- eventSender.addTouchPoint(8*2, 12*2);
- eventSender.touchStart();
-
- debug('move');
- eventSender.updateTouchPoint(0, 10*2, 15*2);
- eventSender.touchMove();
-
- debug('add second touch');
- eventSender.addTouchPoint(40*2, 45*2);
- eventSender.touchStart();
-
- debug('end');
- eventSender.releaseTouchPoint(0);
- eventSender.touchEnd();
-}
-
-if (window.testRunner)
- testRunner.waitUntilDone();
-
-if (window.eventSender) {
- description("This tests pageX and pageY coordinates on touch events and touches when zoomed to 2x scale.");
-
- // Give some time for the viewport scale to set in.
- setTimeout(function() {
- lastEvent = null;
- sendTouchSequence();
- }, 100);
-
-} else {
- debug("This test requires DumpRenderTree. Tap on the blue rect to log.")
-}
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/text-node-touch-target-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/text-node-touch-target-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/text-node-touch-target-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,12 +0,0 @@
-CONSOLE MESSAGE: line 20: TypeError: HTMLParagraphElement is not a function (evaluating 'description("Tests that the event target for a touch on a text node is the parent element, not the text node.")')
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x0
- RenderBlock {DIV} at (0,0) size 784x0
-layer at (0,0) size 163x30
- RenderBlock (positioned) {DIV} at (0,0) size 164x30 [bgcolor=#0000FF]
- RenderText {#text} at (0,1) size 164x28
- text run at (0,1) width 164: "This is some text"
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/text-node-touch-target.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/text-node-touch-target.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/text-node-touch-target.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href=""
-<script src=""
-<script src=""
-<!--
- Touch tests that involve the ontouchstart, ontouchmove, ontouchend or ontouchcancel callbacks
- should be written in an asynchronous fashion so they can be run on mobile platforms like Android.
- This template will generate an asynchronous style test by using the js-test-post-function script.
- You will need to invoke isSuccessfullyParsed() in your test script when the test completes.
--->
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/textarea-touch-target-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/textarea-touch-target-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/textarea-touch-target-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,11 +0,0 @@
-CONSOLE MESSAGE: line 19: TypeError: HTMLParagraphElement is not a function (evaluating 'description("Tests that input elements can receive touch events.")')
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x0
- RenderBlock {DIV} at (0,0) size 784x0
-layer at (2,2) size 294x64 clip at (3,3) size 292x62
- RenderTextControl {TEXTAREA} at (2,2) size 294x64 [bgcolor=#FFFFFF] [border: (1px solid #4C4C4C)]
- RenderBlock {DIV} at (3,3) size 288x29
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/textarea-touch-target.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/textarea-touch-target.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/textarea-touch-target.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href=""
-<script src=""
-<script src=""
-<!--
- Touch tests that involve the ontouchstart, ontouchmove, ontouchend or ontouchcancel callbacks
- should be written in an asynchronous fashion so they can be run on mobile platforms like Android.
- This template will generate an asynchronous style test by using the js-test-post-function script.
- You will need to invoke isSuccessfullyParsed() in your test script when the test completes.
--->
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-frames-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-frames-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-frames-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,34 +0,0 @@
-
-This tests pageX and pageY coordinates on touch events and touches.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Mouse event: mousedown
-PASS lastEvent.pageX is 12
-PASS lastEvent.pageY is 15
-PASS lastEvent.screenX is 22
-PASS lastEvent.screenY is 25
-PASS lastEvent.clientX is 12
-PASS lastEvent.clientY is 15
-PASS lastEvent.type is "touchstart"
-PASS lastEvent.touches.length is 1
-PASS lastEvent.changedTouches.length is 1
-PASS lastEvent.targetTouches.length is 1
-PASS lastEvent.touches[0].target.id is "touchtarget"
-PASS lastEvent.touches[0].pageX is 12
-PASS lastEvent.touches[0].pageY is 15
-PASS lastEvent.touches[0].clientX is 12
-PASS lastEvent.touches[0].clientY is 15
-PASS lastEvent.touches[0].screenX is 22
-PASS lastEvent.touches[0].screenY is 25
-PASS lastEvent.pageX is 12
-PASS lastEvent.pageY is 15
-PASS lastEvent.type is "touchend"
-PASS lastEvent.touches.length is 0
-PASS lastEvent.changedTouches.length is 1
-PASS lastEvent.targetTouches.length is 0
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-frames.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-frames.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-frames.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href=""
-<script src=""
-<script src=""
-<!--
- Touch tests that involve the ontouchstart, ontouchmove, ontouchend or ontouchcancel callbacks
- should be written in an asynchronous fashion so they can be run on mobile platforms like Android.
- This template will generate an asynchronous style test by using the js-test-post-function script.
- You will need to invoke isSuccessfullyParsed() in your test script when the test completes.
--->
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-pageXY-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-pageXY-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-pageXY-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,67 +0,0 @@
-This tests pageX and pageY coordinates on touch events and touches.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS lastEvent.type is "touchstart"
-PASS lastEvent.touches.length is 1
-PASS lastEvent.changedTouches.length is 1
-PASS lastEvent.targetTouches.length is 1
-PASS lastEvent.touches[0].target.id is "touchtarget"
-PASS lastEvent.touches[0].pageX is 8
-PASS lastEvent.touches[0].pageY is 12
-PASS lastEvent.touches[0].clientX is 8
-PASS lastEvent.touches[0].clientY is 12
-PASS lastEvent.touches[0].identifier is 0
-PASS lastEvent.changedTouches[0].pageX is 8
-PASS lastEvent.changedTouches[0].pageY is 12
-PASS lastEvent.changedTouches[0].clientX is 8
-PASS lastEvent.changedTouches[0].clientY is 12
-PASS lastEvent.changedTouches[0].identifier is 0
-PASS lastEvent.targetTouches[0].pageX is 8
-PASS lastEvent.targetTouches[0].pageY is 12
-PASS lastEvent.targetTouches[0].clientX is 8
-PASS lastEvent.targetTouches[0].clientY is 12
-PASS lastEvent.targetTouches[0].identifier is 0
-PASS lastEvent.pageX is 8
-PASS lastEvent.pageY is 12
-move
-PASS lastEvent.type is "touchmove"
-PASS lastEvent.touches.length is 1
-PASS lastEvent.changedTouches.length is 1
-PASS lastEvent.targetTouches.length is 1
-PASS lastEvent.touches[0].pageX is 10
-PASS lastEvent.touches[0].pageY is 15
-PASS lastEvent.touches[0].clientX is 10
-PASS lastEvent.touches[0].clientY is 15
-PASS lastEvent.touches[0].identifier is 0
-PASS lastEvent.pageX is 10
-PASS lastEvent.pageY is 15
-add second touch
-PASS lastEvent.type is "touchstart"
-PASS lastEvent.touches.length is 2
-PASS lastEvent.changedTouches.length is 1
-PASS lastEvent.targetTouches.length is 2
-PASS lastEvent.touches[0].pageX is 10
-PASS lastEvent.touches[0].pageY is 15
-PASS lastEvent.touches[0].clientX is 10
-PASS lastEvent.touches[0].clientY is 15
-PASS lastEvent.touches[0].identifier is 0
-PASS lastEvent.touches[1].pageX is 40
-PASS lastEvent.touches[1].pageY is 45
-PASS lastEvent.touches[1].clientX is 40
-PASS lastEvent.touches[1].clientY is 45
-PASS lastEvent.touches[1].identifier is 1
-PASS lastEvent.pageX is 25
-PASS lastEvent.pageY is 30
-end
-PASS lastEvent.type is "touchend"
-PASS lastEvent.touches.length is 1
-PASS lastEvent.changedTouches.length is 1
-PASS lastEvent.targetTouches.length is 1
-PASS lastEvent.pageX is 40
-PASS lastEvent.pageY is 45
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-pageXY.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-pageXY.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/touch-event-pageXY.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href=""
-<script src=""
-<script src=""
-<!--
- Touch tests that involve the ontouchstart, ontouchmove, ontouchend or ontouchcancel callbacks
- should be written in an asynchronous fashion so they can be run on mobile platforms like Android.
- This template will generate an asynchronous style test by using the js-test-post-function script.
- You will need to invoke isSuccessfullyParsed() in your test script when the test completes.
--->
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/zoomed-touch-event-pageXY-expected.txt (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/zoomed-touch-event-pageXY-expected.txt 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/zoomed-touch-event-pageXY-expected.txt 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,67 +0,0 @@
-This tests pageX and pageY coordinates on touch events and touches when zoomed to 2x scale.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS lastEvent.type is "touchstart"
-PASS lastEvent.touches.length is 1
-PASS lastEvent.changedTouches.length is 1
-PASS lastEvent.targetTouches.length is 1
-PASS lastEvent.touches[0].target.id is "touchtarget"
-PASS lastEvent.touches[0].pageX is 8
-PASS lastEvent.touches[0].pageY is 12
-PASS lastEvent.touches[0].clientX is 8
-PASS lastEvent.touches[0].clientY is 12
-PASS lastEvent.touches[0].identifier is 0
-PASS lastEvent.changedTouches[0].pageX is 8
-PASS lastEvent.changedTouches[0].pageY is 12
-PASS lastEvent.changedTouches[0].clientX is 8
-PASS lastEvent.changedTouches[0].clientY is 12
-PASS lastEvent.changedTouches[0].identifier is 0
-PASS lastEvent.targetTouches[0].pageX is 8
-PASS lastEvent.targetTouches[0].pageY is 12
-PASS lastEvent.targetTouches[0].clientX is 8
-PASS lastEvent.targetTouches[0].clientY is 12
-PASS lastEvent.targetTouches[0].identifier is 0
-PASS lastEvent.pageX is 8
-PASS lastEvent.pageY is 12
-move
-PASS lastEvent.type is "touchmove"
-PASS lastEvent.touches.length is 1
-PASS lastEvent.changedTouches.length is 1
-PASS lastEvent.targetTouches.length is 1
-PASS lastEvent.touches[0].pageX is 10
-PASS lastEvent.touches[0].pageY is 15
-PASS lastEvent.touches[0].clientX is 10
-PASS lastEvent.touches[0].clientY is 15
-PASS lastEvent.touches[0].identifier is 0
-PASS lastEvent.pageX is 10
-PASS lastEvent.pageY is 15
-add second touch
-PASS lastEvent.type is "touchstart"
-PASS lastEvent.touches.length is 2
-PASS lastEvent.changedTouches.length is 1
-PASS lastEvent.targetTouches.length is 2
-PASS lastEvent.touches[0].pageX is 10
-PASS lastEvent.touches[0].pageY is 15
-PASS lastEvent.touches[0].clientX is 10
-PASS lastEvent.touches[0].clientY is 15
-PASS lastEvent.touches[0].identifier is 0
-PASS lastEvent.touches[1].pageX is 40
-PASS lastEvent.touches[1].pageY is 45
-PASS lastEvent.touches[1].clientX is 40
-PASS lastEvent.touches[1].clientY is 45
-PASS lastEvent.touches[1].identifier is 1
-PASS lastEvent.pageX is 25
-PASS lastEvent.pageY is 30
-end
-PASS lastEvent.type is "touchend"
-PASS lastEvent.touches.length is 1
-PASS lastEvent.changedTouches.length is 1
-PASS lastEvent.targetTouches.length is 1
-PASS lastEvent.pageX is 40
-PASS lastEvent.pageY is 45
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/zoomed-touch-event-pageXY.html (188133 => 188134)
--- trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/zoomed-touch-event-pageXY.html 2015-08-07 17:30:19 UTC (rev 188133)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/iphone/fast/events/touch/zoomed-touch-event-pageXY.html 2015-08-07 17:30:21 UTC (rev 188134)
@@ -1,20 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href=""
-<meta name="viewport" content="initial-scale=2">
-<script src=""
-<script src=""
-<!--
- Touch tests that involve the ontouchstart, ontouchmove, ontouchend or ontouchcancel callbacks
- should be written in an asynchronous fashion so they can be run on mobile platforms like Android.
- This template will generate an asynchronous style test by using the js-test-post-function script.
- You will need to invoke isSuccessfullyParsed() in your test script when the test completes.
--->
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src=""
-</body>
-</html>