Bug
1825671 - Don't lookup FinalizationRegistry prototype before checking whether the callback is callable r=sfink
As per the spec, we need to check the callback first:
https://tc39.es/ecma262/#sec-finalization-registry-cleanup-callback
Our internal operations don't line up exactly with spec operations. We do the
lookup in GetPrototypeFromBuiltinConstructor whereas the spec does it in
GetPrototypeFromConstructor which is called from OrdinaryCreateFromConstructor.
Differential Revision: https://phabricator.services.mozilla.com/
D174721