diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/scheduler | |
parent | Initial commit. (diff) | |
download | firefox-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/scheduler')
24 files changed, 331 insertions, 0 deletions
diff --git a/testing/web-platform/meta/scheduler/__dir__.ini b/testing/web-platform/meta/scheduler/__dir__.ini new file mode 100644 index 0000000000..08de5c9b89 --- /dev/null +++ b/testing/web-platform/meta/scheduler/__dir__.ini @@ -0,0 +1 @@ +prefs: [dom.enable_web_task_scheduling:true] diff --git a/testing/web-platform/meta/scheduler/post-task-abort-reason.any.js.ini b/testing/web-platform/meta/scheduler/post-task-abort-reason.any.js.ini new file mode 100644 index 0000000000..5a36238938 --- /dev/null +++ b/testing/web-platform/meta/scheduler/post-task-abort-reason.any.js.ini @@ -0,0 +1,10 @@ +[post-task-abort-reason.any.sharedworker.html] + +[post-task-abort-reason.any.worker.html] + +[post-task-abort-reason.any.html] + +[post-task-abort-reason.any.serviceworker.html] + expected: + if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT] + if (os == "android") and not swgl: [OK, ERROR] diff --git a/testing/web-platform/meta/scheduler/post-task-delay.any.js.ini b/testing/web-platform/meta/scheduler/post-task-delay.any.js.ini new file mode 100644 index 0000000000..f47b1c276b --- /dev/null +++ b/testing/web-platform/meta/scheduler/post-task-delay.any.js.ini @@ -0,0 +1,29 @@ +[post-task-delay.any.worker.html] + prefs: [privacy.reduceTimerPrecision:false] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-delay.any.sharedworker.html] + prefs: [privacy.reduceTimerPrecision:false] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-delay.any.serviceworker.html] + prefs: [privacy.reduceTimerPrecision:false] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Tests basic scheduler.postTask with a delay] + expected: + if (os == "linux") and not fission: [PASS, FAIL] + if os == "win": [PASS, FAIL] + + +[post-task-delay.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Tests basic scheduler.postTask with a delay] + expected: + if (os == "mac") and debug: PASS + if (os == "android") and swgl: PASS + if os == "win": PASS + [PASS, FAIL] diff --git a/testing/web-platform/meta/scheduler/post-task-result-success.any.js.ini b/testing/web-platform/meta/scheduler/post-task-result-success.any.js.ini new file mode 100644 index 0000000000..be0f2d3c22 --- /dev/null +++ b/testing/web-platform/meta/scheduler/post-task-result-success.any.js.ini @@ -0,0 +1,15 @@ +[post-task-result-success.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-result-success.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-result-success.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-result-success.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/post-task-result-throws.any.js.ini b/testing/web-platform/meta/scheduler/post-task-result-throws.any.js.ini new file mode 100644 index 0000000000..44ad58f836 --- /dev/null +++ b/testing/web-platform/meta/scheduler/post-task-result-throws.any.js.ini @@ -0,0 +1,15 @@ +[post-task-result-throws.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-result-throws.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-result-throws.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-result-throws.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/post-task-run-order.any.js.ini b/testing/web-platform/meta/scheduler/post-task-run-order.any.js.ini new file mode 100644 index 0000000000..32266caee7 --- /dev/null +++ b/testing/web-platform/meta/scheduler/post-task-run-order.any.js.ini @@ -0,0 +1,15 @@ +[post-task-run-order.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-run-order.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-run-order.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-run-order.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/post-task-then-detach.html.ini b/testing/web-platform/meta/scheduler/post-task-then-detach.html.ini new file mode 100644 index 0000000000..6a423523a2 --- /dev/null +++ b/testing/web-platform/meta/scheduler/post-task-then-detach.html.ini @@ -0,0 +1,3 @@ +[post-task-then-detach.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/post-task-with-abort-signal-in-handler.any.js.ini b/testing/web-platform/meta/scheduler/post-task-with-abort-signal-in-handler.any.js.ini new file mode 100644 index 0000000000..de963a0313 --- /dev/null +++ b/testing/web-platform/meta/scheduler/post-task-with-abort-signal-in-handler.any.js.ini @@ -0,0 +1,15 @@ +[post-task-with-abort-signal-in-handler.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-with-abort-signal-in-handler.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-with-abort-signal-in-handler.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-with-abort-signal-in-handler.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/post-task-with-abort-signal.any.js.ini b/testing/web-platform/meta/scheduler/post-task-with-abort-signal.any.js.ini new file mode 100644 index 0000000000..6c665cafc3 --- /dev/null +++ b/testing/web-platform/meta/scheduler/post-task-with-abort-signal.any.js.ini @@ -0,0 +1,15 @@ +[post-task-with-abort-signal.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-with-abort-signal.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-with-abort-signal.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-with-abort-signal.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/post-task-with-aborted-signal.any.js.ini b/testing/web-platform/meta/scheduler/post-task-with-aborted-signal.any.js.ini new file mode 100644 index 0000000000..1e4743e391 --- /dev/null +++ b/testing/web-platform/meta/scheduler/post-task-with-aborted-signal.any.js.ini @@ -0,0 +1,15 @@ +[post-task-with-aborted-signal.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-with-aborted-signal.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-with-aborted-signal.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-with-aborted-signal.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/post-task-with-signal-and-priority.any.js.ini b/testing/web-platform/meta/scheduler/post-task-with-signal-and-priority.any.js.ini new file mode 100644 index 0000000000..05c19d397d --- /dev/null +++ b/testing/web-platform/meta/scheduler/post-task-with-signal-and-priority.any.js.ini @@ -0,0 +1,15 @@ +[post-task-with-signal-and-priority.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-with-signal-and-priority.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-with-signal-and-priority.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-with-signal-and-priority.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/post-task-with-signal-from-detached-iframe.html.ini b/testing/web-platform/meta/scheduler/post-task-with-signal-from-detached-iframe.html.ini new file mode 100644 index 0000000000..58edc0f330 --- /dev/null +++ b/testing/web-platform/meta/scheduler/post-task-with-signal-from-detached-iframe.html.ini @@ -0,0 +1,3 @@ +[post-task-with-signal-from-detached-iframe.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/post-task-without-signals.any.js.ini b/testing/web-platform/meta/scheduler/post-task-without-signals.any.js.ini new file mode 100644 index 0000000000..eda31b8225 --- /dev/null +++ b/testing/web-platform/meta/scheduler/post-task-without-signals.any.js.ini @@ -0,0 +1,15 @@ +[post-task-without-signals.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-without-signals.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-without-signals.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[post-task-without-signals.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/scheduler-replaceable.any.js.ini b/testing/web-platform/meta/scheduler/scheduler-replaceable.any.js.ini new file mode 100644 index 0000000000..28ffc45b19 --- /dev/null +++ b/testing/web-platform/meta/scheduler/scheduler-replaceable.any.js.ini @@ -0,0 +1,15 @@ +[scheduler-replaceable.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[scheduler-replaceable.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[scheduler-replaceable.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[scheduler-replaceable.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/task-controller-abort-completed-tasks.any.js.ini b/testing/web-platform/meta/scheduler/task-controller-abort-completed-tasks.any.js.ini new file mode 100644 index 0000000000..6b70af974f --- /dev/null +++ b/testing/web-platform/meta/scheduler/task-controller-abort-completed-tasks.any.js.ini @@ -0,0 +1,15 @@ +[task-controller-abort-completed-tasks.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-abort-completed-tasks.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-abort-completed-tasks.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-abort-completed-tasks.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/task-controller-abort-signal-and-priority.any.js.ini b/testing/web-platform/meta/scheduler/task-controller-abort-signal-and-priority.any.js.ini new file mode 100644 index 0000000000..04eff9a6e2 --- /dev/null +++ b/testing/web-platform/meta/scheduler/task-controller-abort-signal-and-priority.any.js.ini @@ -0,0 +1,15 @@ +[task-controller-abort-signal-and-priority.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-abort-signal-and-priority.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-abort-signal-and-priority.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-abort-signal-and-priority.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/task-controller-abort1.any.js.ini b/testing/web-platform/meta/scheduler/task-controller-abort1.any.js.ini new file mode 100644 index 0000000000..ebaeb3153c --- /dev/null +++ b/testing/web-platform/meta/scheduler/task-controller-abort1.any.js.ini @@ -0,0 +1,15 @@ +[task-controller-abort1.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-abort1.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-abort1.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-abort1.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/task-controller-abort2.any.js.ini b/testing/web-platform/meta/scheduler/task-controller-abort2.any.js.ini new file mode 100644 index 0000000000..e590b808cf --- /dev/null +++ b/testing/web-platform/meta/scheduler/task-controller-abort2.any.js.ini @@ -0,0 +1,15 @@ +[task-controller-abort2.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-abort2.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-abort2.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-abort2.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/task-controller-setPriority-delayed-task.any.js.ini b/testing/web-platform/meta/scheduler/task-controller-setPriority-delayed-task.any.js.ini new file mode 100644 index 0000000000..e3e36b2a20 --- /dev/null +++ b/testing/web-platform/meta/scheduler/task-controller-setPriority-delayed-task.any.js.ini @@ -0,0 +1,15 @@ +[task-controller-setPriority-delayed-task.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority-delayed-task.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority-delayed-task.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority-delayed-task.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/task-controller-setPriority-recursive.any.js.ini b/testing/web-platform/meta/scheduler/task-controller-setPriority-recursive.any.js.ini new file mode 100644 index 0000000000..e14851ebb5 --- /dev/null +++ b/testing/web-platform/meta/scheduler/task-controller-setPriority-recursive.any.js.ini @@ -0,0 +1,15 @@ +[task-controller-setPriority-recursive.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority-recursive.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority-recursive.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority-recursive.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/task-controller-setPriority-repeated.any.js.ini b/testing/web-platform/meta/scheduler/task-controller-setPriority-repeated.any.js.ini new file mode 100644 index 0000000000..ac773237be --- /dev/null +++ b/testing/web-platform/meta/scheduler/task-controller-setPriority-repeated.any.js.ini @@ -0,0 +1,15 @@ +[task-controller-setPriority-repeated.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority-repeated.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority-repeated.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority-repeated.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/task-controller-setPriority1.any.js.ini b/testing/web-platform/meta/scheduler/task-controller-setPriority1.any.js.ini new file mode 100644 index 0000000000..138fc242f5 --- /dev/null +++ b/testing/web-platform/meta/scheduler/task-controller-setPriority1.any.js.ini @@ -0,0 +1,15 @@ +[task-controller-setPriority1.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority1.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority1.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority1.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/task-controller-setPriority2.any.js.ini b/testing/web-platform/meta/scheduler/task-controller-setPriority2.any.js.ini new file mode 100644 index 0000000000..94134c4b35 --- /dev/null +++ b/testing/web-platform/meta/scheduler/task-controller-setPriority2.any.js.ini @@ -0,0 +1,15 @@ +[task-controller-setPriority2.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority2.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority2.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-controller-setPriority2.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] diff --git a/testing/web-platform/meta/scheduler/task-signal-onprioritychange.any.js.ini b/testing/web-platform/meta/scheduler/task-signal-onprioritychange.any.js.ini new file mode 100644 index 0000000000..7ba8339e2e --- /dev/null +++ b/testing/web-platform/meta/scheduler/task-signal-onprioritychange.any.js.ini @@ -0,0 +1,15 @@ +[task-signal-onprioritychange.any.sharedworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-signal-onprioritychange.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-signal-onprioritychange.any.serviceworker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + +[task-signal-onprioritychange.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] |