summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/dom/events/scrolling
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/meta/dom/events/scrolling
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/dom/events/scrolling')
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/__dir__.ini2
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/overscroll-deltas.html.ini19
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-document.html.ini19
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-element-with-overscroll-behavior.html.ini19
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-scrolled-element.html.ini2
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-window.html.ini19
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-after-sequence-of-scrolls.tentative.html.ini10
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-after-snap.html.ini32
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-for-programmatic-scroll.html.ini3
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-for-scrollIntoView.html.ini7
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-document.html.ini21
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-element-with-overscroll-behavior.html.ini15
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-window.html.ini16
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/scrollend-event-for-user-scroll.html.ini13
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/scrollend-event-not-fired-after-removing-scroller.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/dom/events/scrolling/scrollend-event-not-fired-on-no-scroll.html.ini6
16 files changed, 206 insertions, 0 deletions
diff --git a/testing/web-platform/meta/dom/events/scrolling/__dir__.ini b/testing/web-platform/meta/dom/events/scrolling/__dir__.ini
new file mode 100644
index 0000000000..0a064e0851
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/__dir__.ini
@@ -0,0 +1,2 @@
+prefs: [apz.scrollend-event.content.enabled:true, dom.event.wheel-event-groups.enabled:true, mousewheel.transaction.timeout:500]
+lsan-allowed: [Alloc, MakeUnique, Malloc, Realloc, XPCNativeInterface::NewInstance, XPCNativeSet::NewInstance, XPCNativeSet::NewInstanceMutate, XPCWrappedNative::GetNewOrUsed, XPCWrappedNativeProto::GetNewOrUsed, mozilla::dom::WebExtensionInit::Init, mozilla::extensions::MatchPatternCore::MatchPatternCore, mozilla::extensions::MatchPatternSet::Constructor, mozilla::extensions::MatchPatternSet::GetPatterns, mozilla::extensions::ParseGlobs, mozilla::extensions::PermittedSchemes, mozilla::extensions::WebExtensionPolicy::Constructor, mozilla::extensions::WebExtensionPolicy::WebExtensionPolicy, mozilla::extensions::WebExtensionPolicyCore::WebExtensionPolicyCore, mozilla::net::nsStandardURL::TemplatedMutator, nsDynamicAtom::Create, nsJARURI::Mutator::SetSpecBaseCharset]
diff --git a/testing/web-platform/meta/dom/events/scrolling/overscroll-deltas.html.ini b/testing/web-platform/meta/dom/events/scrolling/overscroll-deltas.html.ini
new file mode 100644
index 0000000000..a5947aeaf9
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/overscroll-deltas.html.ini
@@ -0,0 +1,19 @@
+[overscroll-deltas.html]
+ expected:
+ if (os == "linux") and not debug: [ERROR, OK, TIMEOUT]
+ ERROR
+ [Tests that the document gets overscroll event with right deltaX/Y attributes.]
+ expected:
+ if (os == "win") and ccov: FAIL
+ if not debug and (os == "linux") and (processor == "x86_64") and fission: [TIMEOUT, FAIL]
+ if not debug and (os == "linux") and (processor == "x86_64") and not fission: [TIMEOUT, FAIL]
+ if not debug and (os == "linux") and (processor == "x86"): [TIMEOUT, FAIL]
+ if not debug and (os == "win"): TIMEOUT
+ if not debug and (os == "mac"): TIMEOUT
+ FAIL
+
+ [testing, vertical]
+ expected: FAIL
+
+ [testing, horizontal]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-document.html.ini b/testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-document.html.ini
new file mode 100644
index 0000000000..3e963e13cf
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-document.html.ini
@@ -0,0 +1,19 @@
+[overscroll-event-fired-to-document.html]
+ expected:
+ if (os == "win") and ccov: OK
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [OK, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [OK, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, OK]
+ if (os == "win") and not debug: TIMEOUT
+ if (os == "mac") and not debug: TIMEOUT
+ if (os == "mac") and debug: [OK, TIMEOUT]
+ [Tests that the document gets overscroll event when no element scrolls after touch scrolling.]
+ expected:
+ if (os == "win") and ccov: FAIL
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [FAIL, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [FAIL, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, FAIL]
+ if (os == "win") and not debug: TIMEOUT
+ if (os == "mac") and debug: [FAIL, TIMEOUT]
+ if (os == "mac") and not debug: TIMEOUT
+ FAIL
diff --git a/testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-element-with-overscroll-behavior.html.ini b/testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-element-with-overscroll-behavior.html.ini
new file mode 100644
index 0000000000..1cca7ac2ae
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-element-with-overscroll-behavior.html.ini
@@ -0,0 +1,19 @@
+[overscroll-event-fired-to-element-with-overscroll-behavior.html]
+ expected:
+ if (os == "win") and ccov: OK
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [OK, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [OK, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, OK]
+ if (os == "mac") and not debug: TIMEOUT
+ if (os == "mac") and debug: [OK, TIMEOUT]
+ if (os == "win") and not debug: TIMEOUT
+ [Tests that the last element in the cut scroll chain gets overscroll event when no element scrolls by touch.]
+ expected:
+ if (os == "win") and ccov: FAIL
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [FAIL, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [FAIL, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, FAIL]
+ if (os == "mac") and debug: [FAIL, TIMEOUT]
+ if (os == "mac") and not debug: TIMEOUT
+ if (os == "win") and not debug: TIMEOUT
+ FAIL
diff --git a/testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-scrolled-element.html.ini b/testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-scrolled-element.html.ini
new file mode 100644
index 0000000000..588a9516a5
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-scrolled-element.html.ini
@@ -0,0 +1,2 @@
+[overscroll-event-fired-to-scrolled-element.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-window.html.ini b/testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-window.html.ini
new file mode 100644
index 0000000000..d9a10e7327
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/overscroll-event-fired-to-window.html.ini
@@ -0,0 +1,19 @@
+[overscroll-event-fired-to-window.html]
+ expected:
+ if (os == "win") and ccov: OK
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [OK, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [OK, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, OK]
+ if (os == "win") and not debug: TIMEOUT
+ if (os == "mac") and debug: [OK, TIMEOUT]
+ if (os == "mac") and not debug: TIMEOUT
+ [Tests that the window gets overscroll event when no element scrollsafter touch scrolling.]
+ expected:
+ if (os == "win") and ccov: FAIL
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [FAIL, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [FAIL, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, FAIL]
+ if (os == "win") and not debug: TIMEOUT
+ if (os == "mac") and not debug: TIMEOUT
+ if (os == "mac") and debug: [FAIL, TIMEOUT]
+ FAIL
diff --git a/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-after-sequence-of-scrolls.tentative.html.ini b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-after-sequence-of-scrolls.tentative.html.ini
new file mode 100644
index 0000000000..6575b527dd
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-after-sequence-of-scrolls.tentative.html.ini
@@ -0,0 +1,10 @@
+[scrollend-event-fired-after-sequence-of-scrolls.tentative.html]
+ [Move down, up and down again, receive scrollend event only once]
+ expected:
+ if os == "mac": PASS
+ FAIL
+
+ [Move right, left and right again, receive scrollend event only once]
+ expected:
+ if os == "mac": PASS
+ FAIL
diff --git a/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-after-snap.html.ini b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-after-snap.html.ini
new file mode 100644
index 0000000000..d4d5b4a01e
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-after-snap.html.ini
@@ -0,0 +1,32 @@
+[scrollend-event-fired-after-snap.html]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [OK, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [OK, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, OK]
+ if (os == "win") and not debug: TIMEOUT
+ if (os == "win") and debug: [TIMEOUT, OK]
+ if (os == "mac") and not debug: TIMEOUT
+ if (os == "mac") and debug: [OK, TIMEOUT]
+ [Tests that scrollend is fired after scroll snap animation completion.]
+ expected:
+ if (os == "win") and ccov: FAIL
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [FAIL, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [FAIL, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, FAIL]
+ if (os == "win") and not debug: TIMEOUT
+ if (os == "mac") and debug: [FAIL, TIMEOUT]
+ if (os == "mac") and not debug: TIMEOUT
+ FAIL
+
+ [Tests that scrollend is fired after fling snap animation completion.]
+ expected:
+ if (os == "linux") and ccov: TIMEOUT
+ if (os == "win") and ccov: TIMEOUT
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [FAIL, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [FAIL, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86"): [NOTRUN, FAIL]
+ if (os == "win") and debug: [TIMEOUT, FAIL]
+ if (os == "win") and not debug: NOTRUN
+ if (os == "mac") and debug: [FAIL, NOTRUN]
+ if (os == "mac") and not debug: NOTRUN
+ FAIL
diff --git a/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-for-programmatic-scroll.html.ini b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-for-programmatic-scroll.html.ini
new file mode 100644
index 0000000000..adb32b06b0
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-for-programmatic-scroll.html.ini
@@ -0,0 +1,3 @@
+[scrollend-event-fired-for-programmatic-scroll.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-for-scrollIntoView.html.ini b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-for-scrollIntoView.html.ini
new file mode 100644
index 0000000000..7c7cd26607
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-for-scrollIntoView.html.ini
@@ -0,0 +1,7 @@
+[scrollend-event-fired-for-scrollIntoView.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Tests scrollend event for nested scrollIntoView.]
+ expected:
+ if (os == "win") and not debug: [FAIL, TIMEOUT]
+ FAIL
diff --git a/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-document.html.ini b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-document.html.ini
new file mode 100644
index 0000000000..668eb0879a
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-document.html.ini
@@ -0,0 +1,21 @@
+[scrollend-event-fired-to-document.html]
+ expected:
+ if (os == "mac") and debug: [ERROR, OK, TIMEOUT]
+ if (os == "linux") and not debug: [ERROR, OK, TIMEOUT]
+ ERROR
+ [Tests that the document gets scrollend event when no element scrolls by touch.]
+ expected:
+ if (os == "win") and ccov: FAIL
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [TIMEOUT, FAIL]
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [TIMEOUT, FAIL]
+ if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, FAIL]
+ if (os == "win") and not debug: TIMEOUT
+ if (os == "mac") and debug: [FAIL, TIMEOUT]
+ if (os == "mac") and not debug: TIMEOUT
+ FAIL
+
+ [testing, vertical]
+ expected: FAIL
+
+ [testing, horizontal]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-element-with-overscroll-behavior.html.ini b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-element-with-overscroll-behavior.html.ini
new file mode 100644
index 0000000000..4f3a06b285
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-element-with-overscroll-behavior.html.ini
@@ -0,0 +1,15 @@
+[scrollend-event-fired-to-element-with-overscroll-behavior.html]
+ expected:
+ if (os == "win") and ccov: OK
+ if (os == "linux") and not debug: [OK, TIMEOUT]
+ if (os == "mac") and debug: [OK, TIMEOUT]
+ [Tests that the last element in the cut scroll chain gets scrollend event when no element scrolls by touch.]
+ expected:
+ if (os == "win") and ccov: FAIL
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [FAIL, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [FAIL, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, FAIL]
+ if (os == "win") and not debug: TIMEOUT
+ if (os == "mac") and debug: [FAIL, TIMEOUT]
+ if (os == "mac") and not debug: TIMEOUT
+ FAIL
diff --git a/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-window.html.ini b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-window.html.ini
new file mode 100644
index 0000000000..28f46b3076
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-fired-to-window.html.ini
@@ -0,0 +1,16 @@
+[scrollend-event-fired-to-window.html]
+ expected:
+ if (os == "win") and ccov: OK
+ if (os == "linux") and not debug: [OK, TIMEOUT]
+ [Tests that the window gets scrollend event when no element scrolls after touch scrolling.]
+ expected:
+ if (os == "win") and ccov: FAIL
+ if not debug and (os == "linux") and (processor == "x86_64") and not fission: [TIMEOUT, FAIL]
+ if not debug and (os == "linux") and (processor == "x86_64") and fission: [TIMEOUT, FAIL]
+ if not debug and (os == "linux") and (processor == "x86"): [TIMEOUT, FAIL]
+ if not debug and (os == "win"): TIMEOUT
+ if not debug and (os == "mac"): TIMEOUT
+ FAIL
+
+ [testing, vertical]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/events/scrolling/scrollend-event-for-user-scroll.html.ini b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-for-user-scroll.html.ini
new file mode 100644
index 0000000000..87cdcd1ec6
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-for-user-scroll.html.ini
@@ -0,0 +1,13 @@
+[scrollend-event-for-user-scroll.html]
+ expected:
+ if (os == "win") and ccov: [ERROR, OK]
+ if (os == "win") and debug: [OK, ERROR, TIMEOUT]
+ [Tests that the target_div gets scrollend event when touch dragging.]
+ expected:
+ if os == "mac": PASS
+ FAIL
+
+ [Tests that the target_div gets scrollend event when mouse wheel scrolling.]
+ expected:
+ if os == "android": FAIL
+ [FAIL, PASS]
diff --git a/testing/web-platform/meta/dom/events/scrolling/scrollend-event-not-fired-after-removing-scroller.tentative.html.ini b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-not-fired-after-removing-scroller.tentative.html.ini
new file mode 100644
index 0000000000..eec45b9fb5
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-not-fired-after-removing-scroller.tentative.html.ini
@@ -0,0 +1,3 @@
+[scrollend-event-not-fired-after-removing-scroller.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/dom/events/scrolling/scrollend-event-not-fired-on-no-scroll.html.ini b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-not-fired-on-no-scroll.html.ini
new file mode 100644
index 0000000000..cafa2bfad6
--- /dev/null
+++ b/testing/web-platform/meta/dom/events/scrolling/scrollend-event-not-fired-on-no-scroll.html.ini
@@ -0,0 +1,6 @@
+[scrollend-event-not-fired-on-no-scroll.html]
+ [No scroll via keys on div shouldn't fire scrollend.]
+ expected: FAIL
+
+ [No scroll via keys on document shouldn't fire scrollend.]
+ expected: FAIL