summaryrefslogtreecommitdiff
path: root/test/v8-updates
diff options
context:
space:
mode:
authorMatheus Marchini <mat@mmarchini.me>2020-01-14 08:45:31 -0800
committerMatheus Marchini <mmarchini@netflix.com>2020-01-16 14:02:01 -0800
commitcf5624c4d8f16397c6d12aaf13bcc3ecfe10b8fe (patch)
treec2ce4351b1c0e4a39c398dfab0168516470c2539 /test/v8-updates
parente47a1eb0d32713854379ee1190d28e87657c52a7 (diff)
downloadnode-new-cf5624c4d8f16397c6d12aaf13bcc3ecfe10b8fe.tar.gz
test: add promises metadata to postmortem test
type_JSPromise__JS_PROMISE_TYPE and type_JSMessageObject__JS_MESSAGE_OBJECT_TYPE will be used on llnode to identify Promises in memory and core dumps: https://github.com/nodejs/llnode/pull/272. Add these to our postmortem test so we're aware of any changes to this metadata. PR-URL: https://github.com/nodejs/node/pull/31357 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/v8-updates')
-rw-r--r--test/v8-updates/test-postmortem-metadata.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/v8-updates/test-postmortem-metadata.js b/test/v8-updates/test-postmortem-metadata.js
index 0891e62251..79520f9f4b 100644
--- a/test/v8-updates/test-postmortem-metadata.js
+++ b/test/v8-updates/test-postmortem-metadata.js
@@ -161,7 +161,9 @@ function getExpectedSymbols() {
'v8dbg_type_JSFunction__JS_FUNCTION_TYPE',
'v8dbg_type_JSGlobalObject__JS_GLOBAL_OBJECT_TYPE',
'v8dbg_type_JSGlobalProxy__JS_GLOBAL_PROXY_TYPE',
+ 'v8dbg_type_JSMessageObject__JS_MESSAGE_OBJECT_TYPE',
'v8dbg_type_JSObject__JS_OBJECT_TYPE',
+ 'v8dbg_type_JSPromise__JS_PROMISE_TYPE',
'v8dbg_type_JSRegExp__JS_REG_EXP_TYPE',
'v8dbg_type_JSTypedArray__JS_TYPED_ARRAY_TYPE',
'v8dbg_type_Map__MAP_TYPE',