test262/test/built-ins/FinalizationRegistry
Philip Chimento f225229f85 Remove FinalizationRegistry tests that depend on nondeterministic GC
In these tests, cleanupSome() would have optionally emptied the
FinalizationRegistry synchronously and called the finalization callbacks.
Without cleanupSome(), there is no way to observe a FinalizationRegistry
being emptied using "pure" ECMAScript: FinalizationRegistry doesn't get
cleaned up until the microtask queue is empty, and without external APIs
such as setTimeout() there is no way to pause execution until after the
microtask queue is empty.

Non-deterministic tests are not that useful anyway; these tests are
probably better left to implementations' internal testing strategies.
2024-09-25 10:06:15 -07:00
..
prototype Remove FinalizationRegistry tests that depend on nondeterministic GC 2024-09-25 10:06:15 -07:00
constructor.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
instance-extensible.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
is-a-constructor.js Standardize built-in constructor testing 2020-10-06 12:01:34 -04:00
length.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
name.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
newtarget-prototype-is-not-object.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
prop-desc.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
proto-from-ctor-realm.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
proto.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
prototype-from-newtarget-abrupt.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
prototype-from-newtarget-custom.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
prototype-from-newtarget.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
returns-new-object-from-constructor.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
target-not-callable-throws.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
undefined-newtarget-throws.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00
unnaffected-by-poisoned-cleanupCallback.js Rename FinalizationGroup to FinalizationRegistry 2020-02-20 12:13:29 -05:00