aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_stream_js_module.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2024-01-18 18:03:35 -0800
committerDmitry Volyntsev <xeioex@nginx.com>2024-01-18 18:03:35 -0800
commit6dae86bc2d822e64cd83d057b48077c2691006d4 (patch)
tree2e394ba9869eddfd570eca0300989aae85080a9b /nginx/ngx_stream_js_module.c
parente1120a2d82468fe7e403c12ab7b37e779f1160fd (diff)
downloadnjs-6dae86bc2d822e64cd83d057b48077c2691006d4.tar.gz
njs-6dae86bc2d822e64cd83d057b48077c2691006d4.zip
Moving out HostPromiseRejectionTracker from njs core.
HostPromiseRejectionTracker should be implemented by host environment according to ECMAScript specs. The following method was removed: njs_vm_unhandled_rejection(). The following method was introduced: njs_vm_set_rejection_tracker().
Diffstat (limited to 'nginx/ngx_stream_js_module.c')
-rw-r--r--nginx/ngx_stream_js_module.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/nginx/ngx_stream_js_module.c b/nginx/ngx_stream_js_module.c
index 65128365..f064ab04 100644
--- a/nginx/ngx_stream_js_module.c
+++ b/nginx/ngx_stream_js_module.c
@@ -1778,7 +1778,6 @@ ngx_stream_js_init_conf_vm(ngx_conf_t *cf, ngx_js_loc_conf_t *conf)
ngx_stream_js_uptr[NGX_JS_MAIN_CONF_INDEX] = (uintptr_t) jmcf;
options.backtrace = 1;
- options.unhandled_rejection = NJS_VM_OPT_UNHANDLED_REJECTION_THROW;
options.metas = &ngx_stream_js_metas;
options.addons = njs_stream_js_addon_modules;
options.argv = ngx_argv;