0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/test/addons
Anna Henningsen fcd7a72428
async_hooks: add HandleScopes to C++ embedder/addon API
Add `HandleScope`s to the public C++ API for embedders/addons,
since these methods create V8 handles that should not leak into
the outer scopes.

In particular, for some of the methods it was not clear from
the function signatures that these functions previously
needed to be invoked with a `HandleScope`.

PR-URL: https://github.com/nodejs/node/pull/24285
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
2018-11-13 15:25:46 +01:00
..
async-hello-world async_hooks: add HandleScopes to C++ embedder/addon API 2018-11-13 15:25:46 +01:00
async-hooks-id
async-hooks-promise
async-resource
at-exit
buffer-free-callback test: remove usage of deprecated V8 APIs in addons 2018-09-07 15:47:48 +02:00
callback-scope test: fix flaky addons/callback-scope/test-resolve-async 2018-09-07 09:52:18 +02:00
dlopen-ping-pong test: fix NewFromUtf8 compiler warning 2018-11-09 21:26:31 -08:00
errno-exception
heap-profiler test: fix v8 Set/Get compiler warnings 2018-11-11 08:02:30 +01:00
hello-world test: fix NewFromUtf8 compiler warning 2018-11-09 21:26:31 -08:00
hello-world-esm test: fix NewFromUtf8 compiler warning 2018-11-09 21:26:31 -08:00
hello-world-function-export test: fix NewFromUtf8 compiler warning 2018-11-09 21:26:31 -08:00
load-long-path test: fix NewFromUtf8 compiler warning 2018-11-09 21:26:31 -08:00
make-callback test: flip assertion arguments for make-callback/test.js 2018-10-13 19:34:40 -07:00
make-callback-domain-warning
make-callback-recurse test: make crashOnUnhandleRejection opt-out 2018-07-19 08:47:28 +02:00
new-target test: fix v8 Set/Get compiler warnings 2018-11-11 08:02:30 +01:00
node-module-version
non-node-context buffer: throw exception when creating from non-Node.js Context 2018-11-03 23:31:03 -07:00
not-a-binding
null-buffer-neuter
openssl-binding test: fix NewFromUtf8 compiler warning 2018-11-09 21:26:31 -08:00
openssl-client-cert-engine
parse-encoding
repl-domain-abort
stringbytes-external-exceed-max buffer: move process.binding('buffer') to internalBinding 2018-10-15 19:01:20 +08:00
symlinked-module test: fix NewFromUtf8 compiler warning 2018-11-09 21:26:31 -08:00
uv-handle-leak
zlib-binding test: fix NewFromUtf8 compiler warning 2018-11-09 21:26:31 -08:00
.gitignore
testcfg.py