From 8fdb9b5b1bdd17711a48c57480eee1acf8f1b03e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 6 Sep 2023 14:14:51 +0200 Subject: [PATCH] test: adapt to new V8 trusted memory spaces Refs: https://chromium-review.googlesource.com/c/v8/v8/+/4791643 --- test/parallel/test-v8-stats.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/parallel/test-v8-stats.js b/test/parallel/test-v8-stats.js index dd774267910..bb954165f42 100644 --- a/test/parallel/test-v8-stats.js +++ b/test/parallel/test-v8-stats.js @@ -48,6 +48,8 @@ const expectedHeapSpaces = [ 'read_only_space', 'shared_large_object_space', 'shared_space', + 'trusted_large_object_space', + 'trusted_space', ]; const heapSpaceStatistics = v8.getHeapSpaceStatistics(); const actualHeapSpaceNames = heapSpaceStatistics.map((s) => s.space_name);