aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/touch-events
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-06-22 14:35:02 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-06-22 21:15:41 +0200
commitf4578afdfe281db7d065a578782243248640aab5 (patch)
tree48b01257f40e93e07e62413994372ffe5f2d2191 /tests/wpt/meta/touch-events
parentcfd24f00bc14551845680713c68ce100404e4f1a (diff)
downloadservo-f4578afdfe281db7d065a578782243248640aab5.tar.gz
servo-f4578afdfe281db7d065a578782243248640aab5.zip
Rename metadata directories
This renames: - `tests/wpt/metadata` → `tests/wpt/meta-legacy-layout` - `tests/wpt/metadata-layout-2020` → `tests/wpt/meta` - `tests/wpt/mozilla/meta` → `tests/wpt/mozilla/meta-legacy-layout` - `tests/wpt/mozilla/meta-layout-2020` → `tests/wpt/mozilla/meta`
Diffstat (limited to 'tests/wpt/meta/touch-events')
-rw-r--r--tests/wpt/meta/touch-events/expose-legacy-touch-event-apis.html.ini2
-rw-r--r--tests/wpt/meta/touch-events/historical.html.ini19
-rw-r--r--tests/wpt/meta/touch-events/idlharness.window.js.ini198
-rw-r--r--tests/wpt/meta/touch-events/touch-globaleventhandler-interface.html.ini6
4 files changed, 225 insertions, 0 deletions
diff --git a/tests/wpt/meta/touch-events/expose-legacy-touch-event-apis.html.ini b/tests/wpt/meta/touch-events/expose-legacy-touch-event-apis.html.ini
new file mode 100644
index 00000000000..6a5af4522e2
--- /dev/null
+++ b/tests/wpt/meta/touch-events/expose-legacy-touch-event-apis.html.ini
@@ -0,0 +1,2 @@
+[expose-legacy-touch-event-apis.html]
+ expected: ERROR
diff --git a/tests/wpt/meta/touch-events/historical.html.ini b/tests/wpt/meta/touch-events/historical.html.ini
new file mode 100644
index 00000000000..12675fcde52
--- /dev/null
+++ b/tests/wpt/meta/touch-events/historical.html.ini
@@ -0,0 +1,19 @@
+[historical.html]
+ [TouchList::identifiedTouch]
+ expected: FAIL
+
+ [Touch::webkitRotationAngle]
+ expected: FAIL
+
+ [TouchEvent::initTouchEvent]
+ expected: FAIL
+
+ [Touch::webkitRadiusY]
+ expected: FAIL
+
+ [Touch::webkitRadiusX]
+ expected: FAIL
+
+ [Touch::webkitForce]
+ expected: FAIL
+
diff --git a/tests/wpt/meta/touch-events/idlharness.window.js.ini b/tests/wpt/meta/touch-events/idlharness.window.js.ini
new file mode 100644
index 00000000000..58326b8ce97
--- /dev/null
+++ b/tests/wpt/meta/touch-events/idlharness.window.js.ini
@@ -0,0 +1,198 @@
+[idlharness.window.html]
+ [Document interface: document must inherit property "ontouchcancel" with the proper type]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: document.body must inherit property "ontouchend" with the proper type]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: window must inherit property "ontouchend" with the proper type]
+ expected: FAIL
+
+ [TouchEvent interface: new TouchEvent("name") must inherit property "touches" with the proper type]
+ expected: FAIL
+
+ [TouchEvent interface: new TouchEvent("name") must inherit property "shiftKey" with the proper type]
+ expected: FAIL
+
+ [TouchEvent interface object length]
+ expected: FAIL
+
+ [TouchEvent must be primary interface of new TouchEvent("name")]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: document.body must inherit property "ontouchmove" with the proper type]
+ expected: FAIL
+
+ [Window interface: attribute ontouchend]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "altitudeAngle" with the proper type]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: document must inherit property "ontouchmove" with the proper type]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: window must inherit property "ontouchmove" with the proper type]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "rotationAngle" with the proper type]
+ expected: FAIL
+
+ [Touch interface: attribute azimuthAngle]
+ expected: FAIL
+
+ [Touch must be primary interface of new Touch({identifier: 1, target: document})]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: document must inherit property "ontouchstart" with the proper type]
+ expected: FAIL
+
+ [Window interface: attribute ontouchcancel]
+ expected: FAIL
+
+ [HTMLElement interface: attribute ontouchend]
+ expected: FAIL
+
+ [Document interface: document must inherit property "ontouchend" with the proper type]
+ expected: FAIL
+
+ [TouchEvent interface: new TouchEvent("name") must inherit property "targetTouches" with the proper type]
+ expected: FAIL
+
+ [Touch interface object length]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "force" with the proper type]
+ expected: FAIL
+
+ [Touch interface: attribute force]
+ expected: FAIL
+
+ [Stringification of new TouchEvent("name")]
+ expected: FAIL
+
+ [Touch interface: attribute touchType]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "pageY" with the proper type]
+ expected: FAIL
+
+ [TouchEvent interface: new TouchEvent("name") must inherit property "metaKey" with the proper type]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: document.body must inherit property "ontouchstart" with the proper type]
+ expected: FAIL
+
+ [HTMLElement interface: attribute ontouchstart]
+ expected: FAIL
+
+ [Window interface: attribute ontouchmove]
+ expected: FAIL
+
+ [HTMLElement interface: attribute ontouchmove]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "touchType" with the proper type]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: window must inherit property "ontouchstart" with the proper type]
+ expected: FAIL
+
+ [Document interface: attribute ontouchend]
+ expected: FAIL
+
+ [Touch interface: attribute rotationAngle]
+ expected: FAIL
+
+ [Document interface: document must inherit property "ontouchstart" with the proper type]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "screenX" with the proper type]
+ expected: FAIL
+
+ [TouchEvent interface: new TouchEvent("name") must inherit property "altKey" with the proper type]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "screenY" with the proper type]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "radiusX" with the proper type]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "clientX" with the proper type]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "clientY" with the proper type]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "identifier" with the proper type]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "target" with the proper type]
+ expected: FAIL
+
+ [TouchEvent interface: new TouchEvent("name") must inherit property "changedTouches" with the proper type]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: document.body must inherit property "ontouchcancel" with the proper type]
+ expected: FAIL
+
+ [Window interface: attribute ontouchstart]
+ expected: FAIL
+
+ [TouchEvent interface: new TouchEvent("name") must inherit property "ctrlKey" with the proper type]
+ expected: FAIL
+
+ [Touch interface: attribute altitudeAngle]
+ expected: FAIL
+
+ [Document interface: attribute ontouchcancel]
+ expected: FAIL
+
+ [Document interface: attribute ontouchstart]
+ expected: FAIL
+
+ [Document interface: document must inherit property "ontouchmove" with the proper type]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "pageX" with the proper type]
+ expected: FAIL
+
+ [Stringification of new Touch({identifier: 1, target: document})]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: document must inherit property "ontouchend" with the proper type]
+ expected: FAIL
+
+ [Document interface: attribute ontouchmove]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: document must inherit property "ontouchcancel" with the proper type]
+ expected: FAIL
+
+ [HTMLElement interface: attribute ontouchcancel]
+ expected: FAIL
+
+ [Touch interface: attribute radiusX]
+ expected: FAIL
+
+ [Touch interface: attribute radiusY]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "radiusY" with the proper type]
+ expected: FAIL
+
+ [Touch interface: new Touch({identifier: 1, target: document}) must inherit property "azimuthAngle" with the proper type]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: window must inherit property "ontouchcancel" with the proper type]
+ expected: FAIL
+
+ [TouchEvent interface: operation getModifierState(DOMString)]
+ expected: FAIL
+
+ [TouchEvent interface: new TouchEvent("name") must inherit property "getModifierState(DOMString)" with the proper type]
+ expected: FAIL
+
+ [TouchEvent interface: calling getModifierState(DOMString) on new TouchEvent("name") with too few arguments must throw TypeError]
+ expected: FAIL
diff --git a/tests/wpt/meta/touch-events/touch-globaleventhandler-interface.html.ini b/tests/wpt/meta/touch-events/touch-globaleventhandler-interface.html.ini
new file mode 100644
index 00000000000..ddf8dac252b
--- /dev/null
+++ b/tests/wpt/meta/touch-events/touch-globaleventhandler-interface.html.ini
@@ -0,0 +1,6 @@
+[touch-globaleventhandler-interface.html]
+ [Touch events in GlobalEventHandlers]
+ expected: PRECONDITION_FAILED
+
+ [Touch events are GlobalEventHandlers' own property]
+ expected: PRECONDITION_FAILED