mirror of
https://github.com/nodejs/node.git
synced 2025-05-19 17:57:05 +00:00

Accessing JS objects can be trapped with proxy handlers. These handlers can throw when no node-api errors occur. In such cases, `napi_pending_exception` should be returned. PR-URL: https://github.com/nodejs/node/pull/48607 Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
18 lines
254 B
Python
18 lines
254 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "test_object",
|
|
"sources": [
|
|
"test_null.c",
|
|
"test_object.c"
|
|
]
|
|
},
|
|
{
|
|
"target_name": "test_exceptions",
|
|
"sources": [
|
|
"test_exceptions.c",
|
|
]
|
|
}
|
|
]
|
|
}
|