]> git.kaiwu.me - njs.git/commit
Fixed backtrace output for arrays broken in b0177571ce1d.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 31 Aug 2021 13:16:32 +0000 (13:16 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 31 Aug 2021 13:16:32 +0000 (13:16 +0000)
commitea7d4b4267ca165bbb096719186cca04b8d4bcc6
tree4a5b6ba4bb2c151e3eb9cabc1ab8ae3f927c83dd
parent96a8c586364b710a060945aa52414598cd1ee6b2
Fixed backtrace output for arrays broken in b0177571ce1d.

After the previous commit the array prototype methods were not found
during njs_object_traverse() invocation. As the result the exceptions in
Array.prototype methods were reported with a backtrace containing "native
(native)" instead of a proper function name.
src/njs_builtin.c
src/njs_object.c
src/njs_value.c
src/test/njs_unit_test.c