n-api: define ECMAScript-compliant accessors on napi_define_properties · nodejs/node@d70fd7d · GitHub
Skip to content

Commit d70fd7d

Browse files
legendecasBridgeAR
authored andcommitted
n-api: define ECMAScript-compliant accessors on napi_define_properties
PR-URL: #27851 Fixes: #26551 Fixes: nodejs/node-addon-api#485 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent edb1a3c commit d70fd7d

2 files changed

Lines changed: 64 additions & 22 deletions

File tree

src/js_native_api_v8.cc

Lines changed: 50 additions & 20 deletions

test/js-native-api/test_properties/test.js

Lines changed: 14 additions & 2 deletions

0 commit comments

Comments
 (0)