Skip to content

Commit 6833f62

Browse files
mmarchinicodebytere
authored andcommitted
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: nodejs/llnode#272. Add these to our postmortem test so we're aware of any changes to this metadata. PR-URL: #31357 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent bd54abe commit 6833f62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/v8-updates/test-postmortem-metadata.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ function getExpectedSymbols() {
161161
'v8dbg_type_JSFunction__JS_FUNCTION_TYPE',
162162
'v8dbg_type_JSGlobalObject__JS_GLOBAL_OBJECT_TYPE',
163163
'v8dbg_type_JSGlobalProxy__JS_GLOBAL_PROXY_TYPE',
164+
'v8dbg_type_JSMessageObject__JS_MESSAGE_OBJECT_TYPE',
164165
'v8dbg_type_JSObject__JS_OBJECT_TYPE',
166+
'v8dbg_type_JSPromise__JS_PROMISE_TYPE',
165167
'v8dbg_type_JSRegExp__JS_REG_EXP_TYPE',
166168
'v8dbg_type_JSTypedArray__JS_TYPED_ARRAY_TYPE',
167169
'v8dbg_type_Map__MAP_TYPE',

0 commit comments

Comments
 (0)