summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/requestidlecallback
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/requestidlecallback
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/requestidlecallback')
-rw-r--r--testing/web-platform/meta/requestidlecallback/basic.html.ini1
-rw-r--r--testing/web-platform/meta/requestidlecallback/callback-invoked.html.ini8
-rw-r--r--testing/web-platform/meta/requestidlecallback/callback-multiple-calls.html.ini3
-rw-r--r--testing/web-platform/meta/requestidlecallback/callback-removed-frame.html.ini6
-rw-r--r--testing/web-platform/meta/requestidlecallback/callback-timeRemaining-cross-realm-method.html.ini3
-rw-r--r--testing/web-platform/meta/requestidlecallback/callback-timeout-when-busy.html.ini3
-rw-r--r--testing/web-platform/meta/requestidlecallback/callback-timeout.html.ini3
-rw-r--r--testing/web-platform/meta/requestidlecallback/callback-xhr-sync.html.ini3
-rw-r--r--testing/web-platform/meta/requestidlecallback/cancel-invoked.html.ini3
-rw-r--r--testing/web-platform/meta/requestidlecallback/deadline-after-expired-timer.html.ini6
-rw-r--r--testing/web-platform/meta/requestidlecallback/deadline-max-rAF-dynamic.html.ini7
-rw-r--r--testing/web-platform/meta/requestidlecallback/deadline-max-rAF.html.ini7
-rw-r--r--testing/web-platform/meta/requestidlecallback/deadline-max-timeout-dynamic.html.ini3
-rw-r--r--testing/web-platform/meta/requestidlecallback/deadline-max.html.ini3
-rw-r--r--testing/web-platform/meta/requestidlecallback/idlharness.window.js.ini4
15 files changed, 63 insertions, 0 deletions
diff --git a/testing/web-platform/meta/requestidlecallback/basic.html.ini b/testing/web-platform/meta/requestidlecallback/basic.html.ini
new file mode 100644
index 0000000000..97bd265768
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/basic.html.ini
@@ -0,0 +1 @@
+prefs: [privacy.reduceTimerPrecision:false]
diff --git a/testing/web-platform/meta/requestidlecallback/callback-invoked.html.ini b/testing/web-platform/meta/requestidlecallback/callback-invoked.html.ini
new file mode 100644
index 0000000000..827b73dfb9
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/callback-invoked.html.ini
@@ -0,0 +1,8 @@
+[callback-invoked.html]
+ expected:
+ if (os == "android") and not fission: [OK, TIMEOUT]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [requestIdleCallback callback is invoked at least once before the timeout]
+ expected:
+ if os == "mac": [PASS, FAIL]
+ if os == "android": [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/requestidlecallback/callback-multiple-calls.html.ini b/testing/web-platform/meta/requestidlecallback/callback-multiple-calls.html.ini
new file mode 100644
index 0000000000..3cc214c5ff
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/callback-multiple-calls.html.ini
@@ -0,0 +1,3 @@
+[callback-multiple-calls.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
diff --git a/testing/web-platform/meta/requestidlecallback/callback-removed-frame.html.ini b/testing/web-platform/meta/requestidlecallback/callback-removed-frame.html.ini
new file mode 100644
index 0000000000..5b03f1a116
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/callback-removed-frame.html.ini
@@ -0,0 +1,6 @@
+[callback-removed-frame.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [calling requestIdleCallback on a contentWindow from a removed iframe should not trigger the callback]
+ expected:
+ if (os == "mac") and debug: [PASS, FAIL]
diff --git a/testing/web-platform/meta/requestidlecallback/callback-timeRemaining-cross-realm-method.html.ini b/testing/web-platform/meta/requestidlecallback/callback-timeRemaining-cross-realm-method.html.ini
new file mode 100644
index 0000000000..6321ba359c
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/callback-timeRemaining-cross-realm-method.html.ini
@@ -0,0 +1,3 @@
+[callback-timeRemaining-cross-realm-method.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/requestidlecallback/callback-timeout-when-busy.html.ini b/testing/web-platform/meta/requestidlecallback/callback-timeout-when-busy.html.ini
new file mode 100644
index 0000000000..31a1f1d1c7
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/callback-timeout-when-busy.html.ini
@@ -0,0 +1,3 @@
+[callback-timeout-when-busy.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/requestidlecallback/callback-timeout.html.ini b/testing/web-platform/meta/requestidlecallback/callback-timeout.html.ini
new file mode 100644
index 0000000000..733f1439ce
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/callback-timeout.html.ini
@@ -0,0 +1,3 @@
+[callback-timeout.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/requestidlecallback/callback-xhr-sync.html.ini b/testing/web-platform/meta/requestidlecallback/callback-xhr-sync.html.ini
new file mode 100644
index 0000000000..9434a0dc1f
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/callback-xhr-sync.html.ini
@@ -0,0 +1,3 @@
+[callback-xhr-sync.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/requestidlecallback/cancel-invoked.html.ini b/testing/web-platform/meta/requestidlecallback/cancel-invoked.html.ini
new file mode 100644
index 0000000000..08b63b126b
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/cancel-invoked.html.ini
@@ -0,0 +1,3 @@
+[cancel-invoked.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/requestidlecallback/deadline-after-expired-timer.html.ini b/testing/web-platform/meta/requestidlecallback/deadline-after-expired-timer.html.ini
new file mode 100644
index 0000000000..f080794a02
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/deadline-after-expired-timer.html.ini
@@ -0,0 +1,6 @@
+[deadline-after-expired-timer.html]
+ [The deadline after an expired timer must not be negative]
+ expected:
+ if (os == "linux") and not swgl and (processor == "x86_64") and not fission and debug: [PASS, FAIL]
+ if (os == "linux") and not swgl and (processor == "x86_64") and fission and not debug: [PASS, FAIL]
+ if (os == "android") and not debug: [PASS, FAIL]
diff --git a/testing/web-platform/meta/requestidlecallback/deadline-max-rAF-dynamic.html.ini b/testing/web-platform/meta/requestidlecallback/deadline-max-rAF-dynamic.html.ini
new file mode 100644
index 0000000000..5bedbf5706
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/deadline-max-rAF-dynamic.html.ini
@@ -0,0 +1,7 @@
+[deadline-max-rAF-dynamic.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Check that the deadline is changed if there is a new requestAnimationFrame from within requestIdleCallback.]
+ expected:
+ if (os == "linux") and not fission and not debug: [PASS, FAIL]
+ if os == "mac": [FAIL, PASS]
diff --git a/testing/web-platform/meta/requestidlecallback/deadline-max-rAF.html.ini b/testing/web-platform/meta/requestidlecallback/deadline-max-rAF.html.ini
new file mode 100644
index 0000000000..b743b5c892
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/deadline-max-rAF.html.ini
@@ -0,0 +1,7 @@
+[deadline-max-rAF.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Check that the deadline is less than 16ms when there is a pending animation frame.]
+ expected:
+ if (os == "linux") and not debug: [PASS, FAIL]
+ if os == "mac": [FAIL, PASS]
diff --git a/testing/web-platform/meta/requestidlecallback/deadline-max-timeout-dynamic.html.ini b/testing/web-platform/meta/requestidlecallback/deadline-max-timeout-dynamic.html.ini
new file mode 100644
index 0000000000..28ba1bf464
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/deadline-max-timeout-dynamic.html.ini
@@ -0,0 +1,3 @@
+[deadline-max-timeout-dynamic.html]
+ [Check that the deadline is changed if there is a new timeout from within requestIdleCallback.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/requestidlecallback/deadline-max.html.ini b/testing/web-platform/meta/requestidlecallback/deadline-max.html.ini
new file mode 100644
index 0000000000..8ab974abe5
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/deadline-max.html.ini
@@ -0,0 +1,3 @@
+[deadline-max.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/requestidlecallback/idlharness.window.js.ini b/testing/web-platform/meta/requestidlecallback/idlharness.window.js.ini
new file mode 100644
index 0000000000..d66a3d16ec
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/idlharness.window.js.ini
@@ -0,0 +1,4 @@
+[idlharness.window.html]
+ expected:
+ if (os == "android") and not fission and debug: [OK, CRASH]
+ if (os == "android") and fission: [OK, TIMEOUT, CRASH]