node icon indicating copy to clipboard operation
node copied to clipboard

src: fix implementation of `PropertySetterCallback`

Open targos opened this issue 8 months ago • 3 comments

V8 does not allow returning arbitrary values from the interceptor setter callbacks, only a boolean return value is allowed. Since default return value is true, it's not even necessary to set the return value on a successful path.

Refs: https://crbug.com/348660658

This was adapted from https://github.com/v8/node/pull/194

targos avatar Jun 25 '24 06:06 targos