summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/touch-events
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/touch-events
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/touch-events')
-rw-r--r--testing/web-platform/meta/touch-events/historical.html.ini12
-rw-r--r--testing/web-platform/meta/touch-events/idlharness.window.js.ini159
-rw-r--r--testing/web-platform/meta/touch-events/multi-touch-interactions.html.ini14
-rw-r--r--testing/web-platform/meta/touch-events/multi-touch-interfaces.html.ini3
-rw-r--r--testing/web-platform/meta/touch-events/single-touch-vertical-rl.html.ini2
-rw-r--r--testing/web-platform/meta/touch-events/single-touch.html.ini3
-rw-r--r--testing/web-platform/meta/touch-events/touch-globaleventhandler-interface.html.ini4
-rw-r--r--testing/web-platform/meta/touch-events/touch-touchevent-constructor.html.ini5
8 files changed, 202 insertions, 0 deletions
diff --git a/testing/web-platform/meta/touch-events/historical.html.ini b/testing/web-platform/meta/touch-events/historical.html.ini
new file mode 100644
index 0000000000..3f167707bd
--- /dev/null
+++ b/testing/web-platform/meta/touch-events/historical.html.ini
@@ -0,0 +1,12 @@
+[historical.html]
+ [TouchEvent::initTouchEvent]
+ expected: FAIL
+
+ [Document::createTouch]
+ expected:
+ if (os == "android"): FAIL
+
+ [Document::createTouchList]
+ expected:
+ if (os == "android"): FAIL
+
diff --git a/testing/web-platform/meta/touch-events/idlharness.window.js.ini b/testing/web-platform/meta/touch-events/idlharness.window.js.ini
new file mode 100644
index 0000000000..361f1a0de8
--- /dev/null
+++ b/testing/web-platform/meta/touch-events/idlharness.window.js.ini
@@ -0,0 +1,159 @@
+[idlharness.window.html]
+ [Document interface: document must inherit property "ontouchcancel" with the proper type]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [GlobalEventHandlers interface: document.body must inherit property "ontouchend" with the proper type]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [GlobalEventHandlers interface: window must inherit property "ontouchend" with the proper type]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: document.body must inherit property "ontouchmove" with the proper type]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [Window interface: attribute ontouchend]
+ expected:
+ if os == "android": PASS
+ 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:
+ if os == "android": PASS
+ FAIL
+
+ [GlobalEventHandlers interface: window must inherit property "ontouchmove" with the proper type]
+ expected: FAIL
+
+ [Touch interface: attribute azimuthAngle]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: document must inherit property "ontouchstart" with the proper type]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [Window interface: attribute ontouchcancel]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [HTMLElement interface: attribute ontouchend]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [Document interface: document must inherit property "ontouchend" with the proper type]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [Touch interface: attribute touchType]
+ expected: FAIL
+
+ [GlobalEventHandlers interface: document.body must inherit property "ontouchstart" with the proper type]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [HTMLElement interface: attribute ontouchstart]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [Window interface: attribute ontouchmove]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [HTMLElement interface: attribute ontouchmove]
+ expected:
+ if os == "android": PASS
+ 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:
+ if os == "android": PASS
+ FAIL
+
+ [Document interface: document must inherit property "ontouchstart" with the proper type]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [GlobalEventHandlers interface: document.body must inherit property "ontouchcancel" with the proper type]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [Window interface: attribute ontouchstart]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [Touch interface: attribute altitudeAngle]
+ expected: FAIL
+
+ [Document interface: attribute ontouchcancel]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [Document interface: attribute ontouchstart]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [Document interface: document must inherit property "ontouchmove" with the proper type]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [GlobalEventHandlers interface: document must inherit property "ontouchend" with the proper type]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [Document interface: attribute ontouchmove]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [GlobalEventHandlers interface: document must inherit property "ontouchcancel" with the proper type]
+ expected:
+ if os == "android": PASS
+ FAIL
+
+ [HTMLElement interface: attribute ontouchcancel]
+ expected:
+ if os == "android": PASS
+ 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/testing/web-platform/meta/touch-events/multi-touch-interactions.html.ini b/testing/web-platform/meta/touch-events/multi-touch-interactions.html.ini
new file mode 100644
index 0000000000..739ef7a445
--- /dev/null
+++ b/testing/web-platform/meta/touch-events/multi-touch-interactions.html.ini
@@ -0,0 +1,14 @@
+[multi-touch-interactions.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [touchstart #2: change in touches.length is valid]
+ expected: FAIL
+
+ [touchend #1: change in targetTouches.length is valid]
+ expected: FAIL
+
+ [touchend #2: changedTouches is a subset of last received touches]
+ expected: FAIL
+
+ [touchend #3: change in targetTouches.length is valid]
+ expected: FAIL
diff --git a/testing/web-platform/meta/touch-events/multi-touch-interfaces.html.ini b/testing/web-platform/meta/touch-events/multi-touch-interfaces.html.ini
new file mode 100644
index 0000000000..0357f23ff2
--- /dev/null
+++ b/testing/web-platform/meta/touch-events/multi-touch-interfaces.html.ini
@@ -0,0 +1,3 @@
+[multi-touch-interfaces.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/touch-events/single-touch-vertical-rl.html.ini b/testing/web-platform/meta/touch-events/single-touch-vertical-rl.html.ini
new file mode 100644
index 0000000000..2c20e1adde
--- /dev/null
+++ b/testing/web-platform/meta/touch-events/single-touch-vertical-rl.html.ini
@@ -0,0 +1,2 @@
+[single-touch-vertical-rl.html]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/touch-events/single-touch.html.ini b/testing/web-platform/meta/touch-events/single-touch.html.ini
new file mode 100644
index 0000000000..2d266001f5
--- /dev/null
+++ b/testing/web-platform/meta/touch-events/single-touch.html.ini
@@ -0,0 +1,3 @@
+[single-touch.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/touch-events/touch-globaleventhandler-interface.html.ini b/testing/web-platform/meta/touch-events/touch-globaleventhandler-interface.html.ini
new file mode 100644
index 0000000000..81233361cc
--- /dev/null
+++ b/testing/web-platform/meta/touch-events/touch-globaleventhandler-interface.html.ini
@@ -0,0 +1,4 @@
+[touch-globaleventhandler-interface.html]
+ prefs: [dom.w3c_touch_events.legacy_apis.enabled:true]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/touch-events/touch-touchevent-constructor.html.ini b/testing/web-platform/meta/touch-events/touch-touchevent-constructor.html.ini
new file mode 100644
index 0000000000..fc6c22abf6
--- /dev/null
+++ b/testing/web-platform/meta/touch-events/touch-touchevent-constructor.html.ini
@@ -0,0 +1,5 @@
+[touch-touchevent-constructor.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Touch constructor exists and creates a Touch object with requested properties]
+ expected: FAIL