diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/js/builtins/weakrefs | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/js/builtins/weakrefs')
11 files changed, 159 insertions, 0 deletions
diff --git a/testing/web-platform/meta/js/builtins/weakrefs/__dir__.ini b/testing/web-platform/meta/js/builtins/weakrefs/__dir__.ini new file mode 100644 index 0000000000..bc8209ece3 --- /dev/null +++ b/testing/web-platform/meta/js/builtins/weakrefs/__dir__.ini @@ -0,0 +1,2 @@ +lsan-allowed: [Alloc, AllocateProtoAndIfaceCache, mozilla::detail::HashTable, mozilla::dom::Performance::CreateForMainThread, mozilla::dom::PerformanceMainThread::CreateNavigationTimingEntry, mozilla::dom::ProtoAndIfaceCache::PageTableCache::EntrySlotOrCreate, mozilla::net::nsStandardURL::TemplatedMutator, nsDynamicAtom::Create] +leak-threshold: [tab:256000] diff --git a/testing/web-platform/meta/js/builtins/weakrefs/cleanup-prevented-with-reference.optional.any.js.ini b/testing/web-platform/meta/js/builtins/weakrefs/cleanup-prevented-with-reference.optional.any.js.ini new file mode 100644 index 0000000000..698cf55902 --- /dev/null +++ b/testing/web-platform/meta/js/builtins/weakrefs/cleanup-prevented-with-reference.optional.any.js.ini @@ -0,0 +1,9 @@ +[cleanup-prevented-with-reference.optional.any.html] + [cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.] + expected: FAIL + + +[cleanup-prevented-with-reference.optional.any.worker.html] + [cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.] + expected: FAIL + diff --git a/testing/web-platform/meta/js/builtins/weakrefs/cleanup-prevented-with-unregister.optional.any.js.ini b/testing/web-platform/meta/js/builtins/weakrefs/cleanup-prevented-with-unregister.optional.any.js.ini new file mode 100644 index 0000000000..1b43b023c1 --- /dev/null +++ b/testing/web-platform/meta/js/builtins/weakrefs/cleanup-prevented-with-unregister.optional.any.js.ini @@ -0,0 +1,9 @@ +[cleanup-prevented-with-unregister.optional.any.worker.html] + [Cleanup might be prevented with an unregister usage] + expected: FAIL + + +[cleanup-prevented-with-unregister.optional.any.html] + [Cleanup might be prevented with an unregister usage] + expected: FAIL + diff --git a/testing/web-platform/meta/js/builtins/weakrefs/finalizationregistry-cleanupCallback-gets-a-microtask.optional.any.js.ini b/testing/web-platform/meta/js/builtins/weakrefs/finalizationregistry-cleanupCallback-gets-a-microtask.optional.any.js.ini new file mode 100644 index 0000000000..f77280a059 --- /dev/null +++ b/testing/web-platform/meta/js/builtins/weakrefs/finalizationregistry-cleanupCallback-gets-a-microtask.optional.any.js.ini @@ -0,0 +1,14 @@ +[finalizationregistry-cleanupCallback-gets-a-microtask.optional.any.worker.html] + [HostCleanupFinalizationRegistry is an implementation-defined abstract operation that is expected to call CleanupFinalizationRegistry(finalizationRegistry) at some point in the future, if possible.] + expected: + if (os == "mac") and debug: [PASS, FAIL] + if (os == "mac") and not debug: [PASS, FAIL] + [FAIL, PASS] + + +[finalizationregistry-cleanupCallback-gets-a-microtask.optional.any.html] + [HostCleanupFinalizationRegistry is an implementation-defined abstract operation that is expected to call CleanupFinalizationRegistry(finalizationRegistry) at some point in the future, if possible.] + expected: + if (os == "win") and ccov: [FAIL, PASS] + if (os == "mac") and debug: PASS + [PASS, FAIL] diff --git a/testing/web-platform/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotask.optional.any.js.ini b/testing/web-platform/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotask.optional.any.js.ini new file mode 100644 index 0000000000..78a3f6cdc3 --- /dev/null +++ b/testing/web-platform/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotask.optional.any.js.ini @@ -0,0 +1,12 @@ +[gc-has-one-chance-to-call-cleanupCallback-queueMicrotask.optional.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.] + expected: FAIL + + +[gc-has-one-chance-to-call-cleanupCallback-queueMicrotask.optional.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.] + expected: FAIL diff --git a/testing/web-platform/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotaskMutationObserver.optional.window.js.ini b/testing/web-platform/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotaskMutationObserver.optional.window.js.ini new file mode 100644 index 0000000000..99e832a726 --- /dev/null +++ b/testing/web-platform/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotaskMutationObserver.optional.window.js.ini @@ -0,0 +1,5 @@ +[gc-has-one-chance-to-call-cleanupCallback-queueMicrotaskMutationObserver.optional.window.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.] + expected: FAIL diff --git a/testing/web-platform/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback.optional.any.js.ini b/testing/web-platform/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback.optional.any.js.ini new file mode 100644 index 0000000000..929992ebad --- /dev/null +++ b/testing/web-platform/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback.optional.any.js.ini @@ -0,0 +1,12 @@ +[gc-has-one-chance-to-call-cleanupCallback.optional.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.] + expected: FAIL + + +[gc-has-one-chance-to-call-cleanupCallback.optional.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.] + expected: FAIL diff --git a/testing/web-platform/meta/js/builtins/weakrefs/holdings-multiple-values.optional.any.js.ini b/testing/web-platform/meta/js/builtins/weakrefs/holdings-multiple-values.optional.any.js.ini new file mode 100644 index 0000000000..0654d18337 --- /dev/null +++ b/testing/web-platform/meta/js/builtins/weakrefs/holdings-multiple-values.optional.any.js.ini @@ -0,0 +1,60 @@ +[holdings-multiple-values.optional.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [`""` as registered holding value] + expected: FAIL + + [`Symbol(1)` as registered holding value] + expected: FAIL + + [`true` as registered holding value] + expected: FAIL + + [`undefined` as registered holding value] + expected: FAIL + + [Requires FinalizationRegistry.prototype.cleanupSome] + expected: FAIL + + [`{}` as registered holding value] + expected: FAIL + + [`false` as registered holding value] + expected: FAIL + + [`42` as registered holding value] + expected: FAIL + + [`null` as registered holding value] + expected: FAIL + + +[holdings-multiple-values.optional.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [`""` as registered holding value] + expected: FAIL + + [`Symbol(1)` as registered holding value] + expected: FAIL + + [`true` as registered holding value] + expected: FAIL + + [`undefined` as registered holding value] + expected: FAIL + + [Requires FinalizationRegistry.prototype.cleanupSome] + expected: FAIL + + [`{}` as registered holding value] + expected: FAIL + + [`false` as registered holding value] + expected: FAIL + + [`42` as registered holding value] + expected: FAIL + + [`null` as registered holding value] + expected: FAIL diff --git a/testing/web-platform/meta/js/builtins/weakrefs/reentrancy.optional.any.js.ini b/testing/web-platform/meta/js/builtins/weakrefs/reentrancy.optional.any.js.ini new file mode 100644 index 0000000000..ef128a1b57 --- /dev/null +++ b/testing/web-platform/meta/js/builtins/weakrefs/reentrancy.optional.any.js.ini @@ -0,0 +1,12 @@ +[reentrancy.optional.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.] + expected: FAIL + + +[reentrancy.optional.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.] + expected: FAIL diff --git a/testing/web-platform/meta/js/builtins/weakrefs/return-undefined-with-gc.optional.any.js.ini b/testing/web-platform/meta/js/builtins/weakrefs/return-undefined-with-gc.optional.any.js.ini new file mode 100644 index 0000000000..89b2463304 --- /dev/null +++ b/testing/web-platform/meta/js/builtins/weakrefs/return-undefined-with-gc.optional.any.js.ini @@ -0,0 +1,12 @@ +[return-undefined-with-gc.optional.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Return undefined regardless the result of CleanupFinalizationRegistry] + expected: FAIL + + +[return-undefined-with-gc.optional.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Return undefined regardless the result of CleanupFinalizationRegistry] + expected: FAIL diff --git a/testing/web-platform/meta/js/builtins/weakrefs/unregister-cleaned-up-cell.optional.any.js.ini b/testing/web-platform/meta/js/builtins/weakrefs/unregister-cleaned-up-cell.optional.any.js.ini new file mode 100644 index 0000000000..ed8e8fbb41 --- /dev/null +++ b/testing/web-platform/meta/js/builtins/weakrefs/unregister-cleaned-up-cell.optional.any.js.ini @@ -0,0 +1,12 @@ +[unregister-cleaned-up-cell.optional.any.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Cannot unregister a cell that has been cleaned up] + expected: FAIL + + +[unregister-cleaned-up-cell.optional.any.worker.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [Cannot unregister a cell that has been cleaned up] + expected: FAIL |