test262/test/built-ins/WeakRef
Philip Chimento 554a18c34d Add tests for regular and well-known Symbols as weak values
This adds tests to WeakMap, WeakSet, WeakRef, and FinalizationRegistry for
Symbols as weakly-held values. Regular symbols and well-known symbols are
both tested. These tests correspond to existing tests for Objects as
weakly-held values, but are put in separate files so that they can be
filtered out with the "symbols-as-weakmap-keys" feature flag.

Registered symbols are not allowed; this is already tested in the "cannot-
be-held-weakly" tests.

See: #2850
2022-10-12 09:58:45 +02:00
..
prototype Add tests for regular and well-known Symbols as weak values 2022-10-12 09:58:45 +02:00
constructor.js add WeakRef feature to WeakRef/constructor test. (#2209) 2019-06-21 13:41:28 -04:00
instance-extensible.js More tests 2019-06-21 11:50:22 -04:00
is-a-constructor.js Standardize built-in constructor testing 2020-10-06 12:01:34 -04:00
length.js More tests 2019-06-21 11:50:22 -04:00
name.js More tests 2019-06-21 11:50:22 -04:00
newtarget-prototype-is-not-object.js More tests 2019-06-21 11:50:22 -04:00
prop-desc.js More tests 2019-06-21 11:50:22 -04:00
proto-from-ctor-realm.js Add "proto-from-ctor-realm" tests for Intl constructors (#2334) 2019-09-11 17:22:21 -03:00
proto.js Basic tests for weakref and finalizationgroup 2019-06-21 11:50:22 -04:00
prototype-from-newtarget-abrupt.js add missing newlines in tests 2019-11-10 20:18:56 -08:00
prototype-from-newtarget-custom.js More tests 2019-06-21 11:50:22 -04:00
prototype-from-newtarget.js More tests 2019-06-21 11:50:22 -04:00
returns-new-object-from-constructor-with-object-target.js Adapt descriptions of existing tests using Objects as weak values 2022-10-12 09:58:45 +02:00
returns-new-object-from-constructor-with-symbol-target.js Add tests for regular and well-known Symbols as weak values 2022-10-12 09:58:45 +02:00
throws-when-target-cannot-be-held-weakly.js Adapt existing tests regarding Symbols as weak values 2022-10-12 09:58:45 +02:00
undefined-newtarget-throws.js More tests 2019-06-21 11:50:22 -04:00