diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-02-01 08:28:05 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-02-08 08:09:56 +0800 |
commit | b44131ab927008edff85a9efb196e1e192d28a29 (patch) | |
tree | 2a466221bbcf86f291903df54f5800b1e196f13d /src/node_config.cc | |
parent | 09a5f0252ed8e367dd29ba77e2931e5cf2a39a9e (diff) | |
download | android-node-v8-b44131ab927008edff85a9efb196e1e192d28a29.tar.gz android-node-v8-b44131ab927008edff85a9efb196e1e192d28a29.tar.bz2 android-node-v8-b44131ab927008edff85a9efb196e1e192d28a29.zip |
lib: use `internal/options` to query `--abort-on-uncaught-exception`
Instead of using
`internalBinding('config').shouldAbortOnUncaughtException`.
Also removes that property from the binding.
PR-URL: https://github.com/nodejs/node/pull/25862
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'src/node_config.cc')
-rw-r--r-- | src/node_config.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/node_config.cc b/src/node_config.cc index 56672308d1..d9b2c8112e 100644 --- a/src/node_config.cc +++ b/src/node_config.cc @@ -69,9 +69,6 @@ static void Initialize(Local<Object> target, READONLY_FALSE_PROPERTY(target, "hasInspector"); #endif - if (env->abort_on_uncaught_exception()) - READONLY_TRUE_PROPERTY(target, "shouldAbortOnUncaughtException"); - READONLY_PROPERTY(target, "bits", Number::New(env->isolate(), 8 * sizeof(intptr_t))); |