test262/test/built-ins/WeakMap
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 Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
empty-iterable.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
get-set-method-failure.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
is-a-constructor.js Standardize built-in constructor testing 2020-10-06 12:01:34 -04:00
iterable-failure.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
iterable-with-object-keys.js Adapt descriptions of existing tests using Objects as weak values 2022-10-12 09:58:45 +02:00
iterable-with-symbol-keys.js Add tests for regular and well-known Symbols as weak values 2022-10-12 09:58:45 +02:00
iterator-close-after-set-failure.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
iterator-item-first-entry-returns-abrupt.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
iterator-item-second-entry-returns-abrupt.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
iterator-items-are-not-object-close-iterator.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
iterator-items-keys-cannot-be-held-weakly.js Adapt existing tests regarding Symbols as weak values 2022-10-12 09:58:45 +02:00
iterator-next-failure.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
iterator-value-failure.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
length.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
name.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
no-iterable.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
properties-of-map-instances.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
properties-of-the-weakmap-prototype-object.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
proto-from-ctor-realm.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
prototype-of-weakmap.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
set-not-callable-throws.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
undefined-newtarget.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00
weakmap.js Remove duplicated es[56]id if esid is present 2019-08-05 10:54:37 -04:00