diff options
author | Dmitry Volyntsev <xeioex@nginx.com> | 2024-01-18 18:03:35 -0800 |
---|---|---|
committer | Dmitry Volyntsev <xeioex@nginx.com> | 2024-01-18 18:03:35 -0800 |
commit | 6dae86bc2d822e64cd83d057b48077c2691006d4 (patch) | |
tree | 2e394ba9869eddfd570eca0300989aae85080a9b /nginx/ngx_http_js_module.c | |
parent | e1120a2d82468fe7e403c12ab7b37e779f1160fd (diff) | |
download | njs-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_http_js_module.c')
-rw-r--r-- | nginx/ngx_http_js_module.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c index 5384bd0a..327f0f28 100644 --- a/nginx/ngx_http_js_module.c +++ b/nginx/ngx_http_js_module.c @@ -4505,7 +4505,6 @@ ngx_http_js_init_conf_vm(ngx_conf_t *cf, ngx_js_loc_conf_t *conf) ngx_http_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_http_js_metas; options.addons = njs_http_js_addon_modules; options.argv = ngx_argv; |