test_handle_explicit_resource_management_globals.patch 704 B

123456789101112131415161718192021
  1. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= <[email protected]>
  3. Date: Sat, 21 Dec 2024 09:25:55 +0100
  4. Subject: test: handle explicit resource management globals
  5. https://chromium-review.googlesource.com/c/chromium/src/+/6174695
  6. diff --git a/test/common/globals.js b/test/common/globals.js
  7. index 5d1c4415eeb09e92d062330afc0aecb1d297b6d3..2c1dac019ba2aa0a23c2434997e2007dd2eacde8 100644
  8. --- a/test/common/globals.js
  9. +++ b/test/common/globals.js
  10. @@ -64,6 +64,9 @@ const intrinsics = new Set([
  11. 'Atomics',
  12. 'WebAssembly',
  13. 'Iterator',
  14. + 'SuppressedError',
  15. + 'DisposableStack',
  16. + 'AsyncDisposableStack',
  17. ]);
  18. if (global.gc) {