v8/test/mjsunit/harmony/weakrefs
Sathya Gunasekaran 8665a710ca [WeakRefs] Make unregister spec compliant
- Return true or false, not undefined
- Check that unregister token is an object

Bug: v8:8179
Change-Id: I1a4ff7730158dba16efb552fb2f4892c8d31412c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1653120
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62135}
2019-06-13 08:48:16 +00:00
..
basics.js [WeakRefs] Make unregister spec compliant 2019-06-13 08:48:16 +00:00
cleanup-doesnt-iterate-all-holdings.js [js weak refs] Update to new API 2019-01-30 13:47:18 +00:00
cleanup-from-different-realm.js [js weak refs] Update to new API 2019-01-30 13:47:18 +00:00
cleanup-is-a-microtask.js [js weak refs] Update to new API 2019-01-30 13:47:18 +00:00
cleanup-on-detached-realm.js Cancel EnqueueMicrotask of FinalizationGroup on detached contexts 2019-04-19 04:02:06 +00:00
cleanup-proxy-from-different-realm.js [js weak refs] Update to new API 2019-01-30 13:47:18 +00:00
cleanupsome-2.js [WeakRefs] Update cleanupSome to be spec compliant 2019-06-12 16:10:35 +00:00
cleanupsome-after-unregister.js [tests] Fix two tests to be --gc-interval robust 2019-05-17 16:59:37 +00:00
cleanupsome.js [WeakRefs] Update cleanupSome to be spec compliant 2019-06-12 16:10:35 +00:00
finalization-group-keeps-holdings-alive.js [js weak refs] Update to new API 2019-01-30 13:47:18 +00:00
finalizationgroup-and-weakref.js [js weak refs] Update to new API 2019-01-30 13:47:18 +00:00
finalizationgroup-scheduled-for-cleanup-multiple-times.js [js weak refs] Update to new API 2019-01-30 13:47:18 +00:00
iterating-in-cleanup.js [js weak refs] Update to new API 2019-01-30 13:47:18 +00:00
multiple-dirty-finalization-groups.js [js weak refs] Update to new API 2019-01-30 13:47:18 +00:00
two-weakrefs.js [js weak refs] Migrate the WeakRef parts into the new API 2018-12-17 08:58:56 +00:00
undefined-holdings.js [js weak refs] Update to new API 2019-01-30 13:47:18 +00:00
unregister-after-cleanup.js [WeakRefs] Make unregister spec compliant 2019-06-13 08:48:16 +00:00
unregister-before-cleanup.js [WeakRefs] Make unregister spec compliant 2019-06-13 08:48:16 +00:00
unregister-called-twice.js [WeakRefs] Make unregister spec compliant 2019-06-13 08:48:16 +00:00
unregister-inside-cleanup1.js [WeakRefs] Make unregister spec compliant 2019-06-13 08:48:16 +00:00
unregister-inside-cleanup2.js [WeakRefs] Make unregister spec compliant 2019-06-13 08:48:16 +00:00
unregister-inside-cleanup3.js [WeakRefs] Make unregister spec compliant 2019-06-13 08:48:16 +00:00
unregister-inside-cleanup4.js [WeakRefs] Make unregister spec compliant 2019-06-13 08:48:16 +00:00
unregister-inside-cleanup5.js [WeakRefs] Make unregister spec compliant 2019-06-13 08:48:16 +00:00
unregister-many.js [WeakRefs] Make unregister spec compliant 2019-06-13 08:48:16 +00:00
unregister-when-cleanup-already-scheduled.js [WeakRefs] Make unregister spec compliant 2019-06-13 08:48:16 +00:00
weak-cell-basics.js [js weak refs] Update to new API 2019-01-30 13:47:18 +00:00
weakref-creation-keeps-alive.js [js weak refs] Migrate the WeakRef parts into the new API 2018-12-17 08:58:56 +00:00
weakref-deref-keeps-alive.js [js weak refs] Migrate the WeakRef parts into the new API 2018-12-17 08:58:56 +00:00