[WeakRefs] Make FinalizationGroup#register throw if token isn't an object
Bug: v8:8179 Change-Id: I6a4d7e899076fadf848c187f9f4d86a676455215 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1714865Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org> Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org> Cr-Commit-Position: refs/heads/master@{#62870}
Showing
Please
register
or
sign in
to comment