0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +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 test: properly tag anonymous namespaces 2018-02-08 18:43:36 -05:00
async-hooks-promise test: remove custom message from assertion 2017-11-07 09:50:54 +00:00
async-resource src: make AsyncResource destructor virtual 2018-05-14 18:18:16 +02:00
at-exit test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
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 test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
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 test: fix deprecation warning in binding.cc 2018-02-22 06:25:58 +01:00
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 n-api: use module name macro 2017-10-15 16:00:29 -07:00
non-node-context buffer: throw exception when creating from non-Node.js Context 2018-11-03 23:31:03 -07:00
not-a-binding test: add check on an addon that does not register 2017-08-01 17:25:51 +02:00
null-buffer-neuter test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
openssl-binding test: fix NewFromUtf8 compiler warning 2018-11-09 21:26:31 -08:00
openssl-client-cert-engine build: make gyp user defined variables lowercase 2018-02-01 09:51:16 +01:00
parse-encoding test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
repl-domain-abort test: fix warnings in addon tests 2018-02-16 15:47:07 -08:00
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 worker,src: display remaining handles if uv_loop_close fails 2018-06-13 12:23:36 +02:00
zlib-binding test: fix NewFromUtf8 compiler warning 2018-11-09 21:26:31 -08:00
.gitignore Revert "build,test: make building addon tests less fragile" 2018-01-25 08:18:24 +11:00
testcfg.py addons: build and test examples 2014-01-22 00:39:13 +04:00