summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/requestidlecallback
diff options
context:
space:
mode:
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.ini7
-rw-r--r--testing/web-platform/meta/requestidlecallback/deadline-max-rAF-dynamic.html.ini6
-rw-r--r--testing/web-platform/meta/requestidlecallback/deadline-max-rAF.html.ini6
-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, 62 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..4d79c3ad41
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/deadline-after-expired-timer.html.ini
@@ -0,0 +1,7 @@
+[deadline-after-expired-timer.html]
+ [The deadline after an expired timer must not be negative]
+ expected:
+ if (os == "linux") and not debug and fission and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "linux") and debug and fission and not swgl: [PASS, FAIL]
+ if (os == "linux") and debug and not fission: [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..6319334cc7
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/deadline-max-rAF-dynamic.html.ini
@@ -0,0 +1,6 @@
+[deadline-max-rAF-dynamic.html]
+ [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") and not debug: [PASS, FAIL]
+ if (os == "mac") and debug: [PASS, FAIL]
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..870196247c
--- /dev/null
+++ b/testing/web-platform/meta/requestidlecallback/deadline-max-rAF.html.ini
@@ -0,0 +1,6 @@
+[deadline-max-rAF.html]
+ [Check that the deadline is less than 16ms when there is a pending animation frame.]
+ expected:
+ if (os == "mac") and debug: [FAIL, PASS]
+ if (os == "mac") and not debug: [FAIL, PASS]
+ if (os == "linux") and not debug: [PASS, FAIL]
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]