diff options
Diffstat (limited to 'deps/v8/test/mjsunit/harmony/weakrefs/unregister-inside-cleanup5.js')
-rw-r--r-- | deps/v8/test/mjsunit/harmony/weakrefs/unregister-inside-cleanup5.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/harmony/weakrefs/unregister-inside-cleanup5.js b/deps/v8/test/mjsunit/harmony/weakrefs/unregister-inside-cleanup5.js index 974485e9cb..30926d1d56 100644 --- a/deps/v8/test/mjsunit/harmony/weakrefs/unregister-inside-cleanup5.js +++ b/deps/v8/test/mjsunit/harmony/weakrefs/unregister-inside-cleanup5.js @@ -21,8 +21,8 @@ let cleanup = function(iter) { ++cleanup_call_count; } -let fg = new FinalizationGroup(cleanup); -// Create an object and register it in the FinalizationGroup. The object needs to be inside +let fg = new FinalizationRegistry(cleanup); +// Create an object and register it in the FinalizationRegistry. The object needs to be inside // a closure so that we can reliably kill them! let key = {"k": "this is the key"}; |