node/test/es-module
Joyee Cheung 3e31baeda6
esm: use sync loading/resolving on non-loader-hook thread
ESM resolution and loading is now always synchronous from a
non-loader-hook thread. If no asynchrnous loader hooks are
registered, the resolution/loading is entirely synchronous.
If asynchronous loader hooks are registered, these would be
synchronous on the non-loader-hook thread, and asynchronous
on the loader hook thread.

This avoids several races caused by async/sync loading sharing
the same cache. In particular, asynchronous loader hooks
now works with `require(esm)` - previously it tends to break
due to races.

In addition, when an asynchronous loader hook
returns a promise that never settles, the main thread no longer
silently exits with exit code 13, leaving the code below
any module loading calls silently ignored without being executed.
Instead, it now throws ERR_ASYNC_LOADER_REQUEST_NEVER_SETTLED
which can be caught and handled by the main thread. If the module
request comes from `import()`, the never-settling promise is
now relayed to the result returned by `import()`.

Drive-by: when annotating the error about importing undetectable
named exports from CommonJS, it now no longer reload the source
code of the CommonJS module, and instead reuses format information
cached when the module was loaded for linking.

PR-URL: https://github.com/nodejs/node/pull/60380
Fixes: https://github.com/nodejs/node/issues/59666
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
2025-10-31 20:45:10 +00:00
..
es-module.status test: skip tests that cause timeouts on IBM i 2025-07-21 14:38:20 +00:00
test-cjs-esm-warn.js module: unflag --experimental-require-module 2024-09-26 14:21:37 +00:00
test-cjs-legacyMainResolve-permission.js src,lib: stabilize permission model 2024-12-12 12:11:58 +00:00
test-cjs-legacyMainResolve.js esm: do not interpret "main" as a URL 2024-09-27 10:05:50 +00:00
test-cjs-prototype-pollution.js esm: protect ESM loader from prototype pollution 2022-10-27 20:09:07 +00:00
test-disable-require-module-with-detection.js module: check --experimental-require-module separately from detection 2024-10-08 20:26:13 +00:00
test-dynamic-import-script-lifetime.js module: use symbol in WeakMap to manage host defined options 2023-09-14 15:42:24 +00:00
test-esm-assert-strict.mjs assert: add assert/strict alias module 2020-06-25 08:37:48 -07:00
test-esm-assertionless-json-import.js esm: use import attributes instead of import assertions 2023-10-14 03:52:38 +00:00
test-esm-basic-imports.mjs esm: improve typings and code coverage 2022-03-14 16:30:26 +01:00
test-esm-child-process-fork-main.mjs child_process: queue pending messages 2021-12-30 05:59:49 -08:00
test-esm-cjs-builtins.js test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-cjs-exports.js module: unflag detect-module 2024-07-20 18:30:46 +00:00
test-esm-cjs-load-error-note.mjs module: add dynamic file-specific ESM warnings 2025-03-03 07:35:35 +00:00
test-esm-cjs-main.js test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-cjs-named-error.mjs test: ensure never settling promises are detected 2023-10-23 17:55:50 +00:00
test-esm-custom-exports.mjs cli: add -C alias for --conditions flag 2021-05-25 15:13:36 +02:00
test-esm-cyclic-dynamic-import.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-data-urls.js esm: use Undici/fetch data: URL parser 2024-09-07 10:22:03 +02:00
test-esm-default-type.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-detect-ambiguous.mjs module: update tests for combined ambiguous module syntax error 2025-06-24 21:49:31 +00:00
test-esm-dns-promises.mjs lib: remove ERR_INVALID_OPT_VALUE and ERR_INVALID_OPT_VALUE_ENCODING 2020-09-11 17:54:42 +03:00
test-esm-double-encoding.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-dynamic-import-attribute.js esm: use import attributes instead of import assertions 2023-10-14 03:52:38 +00:00
test-esm-dynamic-import-attribute.mjs esm: use import attributes instead of import assertions 2023-10-14 03:52:38 +00:00
test-esm-dynamic-import-commonjs.js esm: do not call getSource when format is commonjs 2023-11-29 09:21:54 +00:00
test-esm-dynamic-import-commonjs.mjs esm: do not call getSource when format is commonjs 2023-11-29 09:21:54 +00:00
test-esm-dynamic-import-mutating-fs.js test,benchmark: use tmpdir.fileURL() 2023-08-21 16:42:03 +00:00
test-esm-dynamic-import-mutating-fs.mjs test,benchmark: use tmpdir.fileURL() 2023-08-21 16:42:03 +00:00
test-esm-dynamic-import.js test: split indirect eval import tests 2025-06-11 09:06:22 +00:00
test-esm-encoded-path-native.js test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-encoded-path.mjs lib: fix regular expression to detect / and \ 2021-10-21 14:55:00 +00:00
test-esm-error-cache.js esm: link modules synchronously when no async loader hooks are used 2025-08-20 14:31:08 +00:00
test-esm-example-loader.mjs esm: consolidate ESM loader hooks 2021-09-11 18:08:35 -07:00
test-esm-experimental-warnings.mjs lib,src: drop --experimental-network-imports 2024-07-28 16:33:05 +00:00
test-esm-export-not-found.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-exports-deprecations.mjs module: exports & imports map invalid slash deprecation 2022-09-11 12:01:37 +02:00
test-esm-exports.mjs esm: export 'module.exports' on ESM CJS wrapper 2024-10-02 12:30:23 -07:00
test-esm-extension-lookup-deprecation.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-extensionless-esm-and-wasm.mjs module: remove --experimental-default-type 2024-12-02 22:43:55 +00:00
test-esm-forbidden-globals.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-fs-promises.mjs fs: add fs/promises alias module 2020-02-18 22:15:50 -08:00
test-esm-import-assertion-warning.mjs esm: fix inconsistency with importAssertion in resolve hook 2024-10-15 21:02:07 +02:00
test-esm-import-attributes-1.mjs esm: use import attributes instead of import assertions 2023-10-14 03:52:38 +00:00
test-esm-import-attributes-2.mjs esm: use import attributes instead of import assertions 2023-10-14 03:52:38 +00:00
test-esm-import-attributes-3.mjs esm: use import attributes instead of import assertions 2023-10-14 03:52:38 +00:00
test-esm-import-attributes-errors.js esm: link modules synchronously when no async loader hooks are used 2025-08-20 14:31:08 +00:00
test-esm-import-attributes-errors.mjs esm: link modules synchronously when no async loader hooks are used 2025-08-20 14:31:08 +00:00
test-esm-import-attributes-identity.mjs module: link module with a module request record 2025-07-04 19:56:08 +00:00
test-esm-import-attributes-validation.js esm: rename error code related to import attributes 2023-10-18 14:27:55 +00:00
test-esm-import-flag.mjs module: unflag detect-module 2024-07-20 18:30:46 +00:00
test-esm-import-json-named-export.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-import-meta-main-eval.mjs module: fix typescript import.meta.main 2025-06-12 11:21:54 +00:00
test-esm-import-meta-main.mjs esm: implement import.meta.main 2025-05-26 22:31:54 +00:00
test-esm-import-meta-resolve.mjs esm: fix import.meta.resolve crash 2024-11-11 16:29:16 +00:00
test-esm-import-meta.mjs esm: implement import.meta.main 2025-05-26 22:31:54 +00:00
test-esm-imports-deprecations.mjs module: fix segment deprecation for imports field 2022-10-13 07:31:31 -07:00
test-esm-imports.mjs esm: export 'module.exports' on ESM CJS wrapper 2024-10-02 12:30:23 -07:00
test-esm-in-require-cache-2.mjs module: only put directly require-d ESM into require.cache 2025-09-17 13:13:59 +00:00
test-esm-in-require-cache.js module: only put directly require-d ESM into require.cache 2025-09-17 13:13:59 +00:00
test-esm-initialization.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-invalid-data-urls.js lib: fix MIME overmatch in data URLs 2023-08-13 23:24:22 +02:00
test-esm-invalid-pjson.js test: use unusual chars in the path to ensure our tests are robust 2024-12-30 00:17:44 +00:00
test-esm-json-cache.mjs esm: use import attributes instead of import assertions 2023-10-14 03:52:38 +00:00
test-esm-json.mjs module: link module with a module request record 2025-07-04 19:56:08 +00:00
test-esm-live-binding.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-loader-cache-clearing.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-loader-chaining.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-loader-custom-condition.mjs util: fix module prefixes during inspection 2020-12-12 20:58:01 +00:00
test-esm-loader-default-resolver.mjs esm: identify parent importing a url with invalid host 2023-09-23 05:41:26 +00:00
test-esm-loader-dependency.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-loader-entry-url.mjs module: unflag --experimental-strip-types 2024-12-26 18:46:06 +00:00
test-esm-loader-event-loop.mjs esm: misc test refactors 2023-02-18 14:26:36 +00:00
test-esm-loader-hooks.mjs esm: use sync loading/resolving on non-loader-hook thread 2025-10-31 20:45:10 +00:00
test-esm-loader-http-imports.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-loader-invalid-format.mjs module: loader getSource, getFormat, transform hooks 2020-01-07 01:31:05 +02:00
test-esm-loader-invalid-url.mjs esm: add chaining to loaders 2022-05-04 16:51:12 +01:00
test-esm-loader-mock.mjs Revert "module: have a single hooks thread for all workers" 2024-06-02 22:10:34 +00:00
test-esm-loader-modulemap.js esm: use sync loading/resolving on non-loader-hook thread 2025-10-31 20:45:10 +00:00
test-esm-loader-not-found.mjs test: refactor ESM tests to improve performance 2022-07-29 10:42:55 +02:00
test-esm-loader-programmatically.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-loader-resolve-type.mjs test: use tmpdir.refresh() in test-esm-loader-resolve-type.mjs 2023-12-20 18:17:31 +00:00
test-esm-loader-search.js esm: move hook execution to separate thread 2023-04-13 09:35:17 +02:00
test-esm-loader-spawn-promisified.mjs module: prevent main thread exiting before esm worker ends 2024-12-10 23:52:29 +00:00
test-esm-loader-stringify-text.mjs esm: consolidate ESM loader hooks 2021-09-11 18:08:35 -07:00
test-esm-loader-thenable.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-loader-with-source.mjs esm: do not call getSource when format is commonjs 2023-11-29 09:21:54 +00:00
test-esm-loader-with-syntax-error.mjs lib: update inspect output format for subclasses 2025-09-21 06:28:45 +00:00
test-esm-loader.mjs esm: fix hook name in error message 2023-12-05 19:54:01 +01:00
test-esm-long-path-win.js module: add dynamic file-specific ESM warnings 2025-03-03 07:35:35 +00:00
test-esm-main-lookup.mjs esm: add a fallback when importer in not a file 2024-10-22 18:09:32 +02:00
test-esm-module-not-found-commonjs-hint.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-named-exports.mjs Revert "module: have a single hooks thread for all workers" 2024-06-02 22:10:34 +00:00
test-esm-namespace.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-no-addons.mjs test: change jenkins reporter 2025-02-03 14:30:34 +00:00
test-esm-non-js.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-nowarn-exports.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-path-posix.mjs path: add path/posix and path/win32 alias modules 2020-10-20 14:27:31 +00:00
test-esm-path-win32.mjs path: add path/posix and path/win32 alias modules 2020-10-20 14:27:31 +00:00
test-esm-pkgname.mjs test: refactor some esm tests 2024-11-05 23:40:39 +00:00
test-esm-preserve-symlinks-main.js test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-preserve-symlinks-not-found-plain.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-preserve-symlinks-not-found.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-preserve-symlinks.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-process.mjs process: fix named report export 2022-02-23 18:37:55 +02:00
test-esm-prototype-pollution.mjs esm: protect ESM loader from prototype pollution 2022-10-27 20:09:07 +00:00
test-esm-recursive-cjs-dependencies.mjs esm: fix loading of CJS modules from ESM 2023-09-06 10:12:14 +00:00
test-esm-repl-imports.js test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-repl.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-require-cache.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-resolve-type.mjs test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-esm-scope-node-modules.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-shared-loader-dep.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-shebang.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-snapshot.mjs Revert "module: disable cjs snapshotting into esm loader" 2020-07-30 14:55:45 -05:00
test-esm-source-map.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-symlink-main.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-esm-symlink-type.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-esm-symlink.js esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-syntax-error.mjs test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-throw-undefined.mjs esm: unflag --experimental-modules 2019-11-12 14:04:55 -08:00
test-esm-tla-syntax-errors-not-recognized-as-tla-error.mjs module: correctly detect top-level await in ambiguous contexts 2025-08-15 22:10:17 +00:00
test-esm-tla-unfinished.mjs src: fix process exit listeners not receiving unsettled tla codes 2025-03-08 19:54:30 +00:00
test-esm-tla.mjs module: unflag Top-Level Await 2020-08-03 14:27:28 -04:00
test-esm-type-field-errors-2.js module: unflag --experimental-require-module 2024-09-26 14:21:37 +00:00
test-esm-type-field-errors.js module: unflag --experimental-require-module 2024-09-26 14:21:37 +00:00
test-esm-type-field.mjs esm: --experimental-default-type flag to flip module defaults 2023-09-29 06:18:44 +00:00
test-esm-type-main.mjs module: no type module resolver side effects 2020-04-29 22:10:35 -07:00
test-esm-undefined-cjs-global-like-variables.js module: clarify CJS global-like variables not defined error message 2021-04-13 19:06:48 +02:00
test-esm-unknown-extension.js test: do not set concurrency on parallelized runs 2024-03-23 21:11:28 +00:00
test-esm-url-extname.js esm: --experimental-default-type flag to flip module defaults 2023-09-29 06:18:44 +00:00
test-esm-util-types.mjs util: add util/types alias module 2020-10-21 01:26:34 +02:00
test-esm-virtual-json.mjs Revert "module: have a single hooks thread for all workers" 2024-06-02 22:10:34 +00:00
test-esm-wasm.mjs esm: unflag --experimental-wasm-modules 2025-07-22 13:24:06 -07:00
test-esm-windows.js test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
test-import-module-conditional-exports-module.mjs module: implement the "module-sync" exports condition 2024-09-25 06:35:26 +00:00
test-import-module-retry-require-errored.js tools,test: enforce best practices to detect never settling promises 2025-07-16 10:57:22 +02:00
test-import-preload-require-cycle.js module: allow cycles in require() in the CJS handling in ESM loader 2025-06-11 09:33:16 +00:00
test-import-require-tla-twice.js esm: fix missed renaming in ModuleJob.runSync 2025-09-04 10:01:32 +00:00
test-loaders-hidden-from-users.js src: implement natives binding without special casing 2023-06-09 15:32:55 +02:00
test-loaders-unknown-builtin-module.mjs esm: misc test refactors 2023-02-18 14:26:36 +00:00
test-loaders-workers-spawned.mjs test: make test-loaders-workers-spawned less flaky 2024-10-08 10:43:20 +00:00
test-require-as-esm-interop.mjs module: support 'module.exports' interop export in require(esm) 2024-10-01 21:13:03 -07:00
test-require-esm-from-imported-cjs.js esm: populate separate cache for require(esm) in imported CJS 2025-09-08 14:59:31 +00:00
test-require-module-cached-tla.js module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
test-require-module-conditional-exports-module.js module: implement the "module-sync" exports condition 2024-09-25 06:35:26 +00:00
test-require-module-conditional-exports.js module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
test-require-module-cycle-cjs-esm-esm.js module: cache synchronous module jobs before linking 2024-05-09 00:25:14 +00:00
test-require-module-cycle-esm-cjs-esm-esm.js module: disallow CJS <-> ESM edges in a cycle from require(esm) 2024-04-08 14:45:55 +00:00
test-require-module-cycle-esm-cjs-esm.js module: disallow CJS <-> ESM edges in a cycle from require(esm) 2024-04-08 14:45:55 +00:00
test-require-module-cycle-esm-esm-cjs-esm-esm.js module: disallow CJS <-> ESM edges in a cycle from require(esm) 2024-04-08 14:45:55 +00:00
test-require-module-cycle-esm-esm-cjs-esm.js module: disallow CJS <-> ESM edges in a cycle from require(esm) 2024-04-08 14:45:55 +00:00
test-require-module-default-extension.js module: add __esModule to require()'d ESM 2024-07-11 18:59:31 +00:00
test-require-module-defined-esmodule.js module: add __esModule to require()'d ESM 2024-07-11 18:59:31 +00:00
test-require-module-detect-entry-point-aou.js module: unflag detect-module 2024-07-20 18:30:46 +00:00
test-require-module-detect-entry-point.js module: unflag detect-module 2024-07-20 18:30:46 +00:00
test-require-module-dont-detect-cjs.js module: unflag detect-module 2024-07-20 18:30:46 +00:00
test-require-module-dynamic-import-1.js module: add __esModule to require()'d ESM 2024-07-11 18:59:31 +00:00
test-require-module-dynamic-import-2.js module: add __esModule to require()'d ESM 2024-07-11 18:59:31 +00:00
test-require-module-dynamic-import-3.js module: add __esModule to require()'d ESM 2024-07-11 18:59:31 +00:00
test-require-module-dynamic-import-4.js module: add __esModule to require()'d ESM 2024-07-11 18:59:31 +00:00
test-require-module-error-catching.js module: clarify cjs global-like error on ModuleJobSync 2025-05-16 06:39:28 +00:00
test-require-module-errors.js module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
test-require-module-feature-detect.js process: add process.features.require_module 2024-10-07 15:26:10 +00:00
test-require-module-implicit.js module: unflag detect-module 2024-07-20 18:30:46 +00:00
test-require-module-instantiated.mjs module: handle instantiated async module jobs in require(esm) 2025-05-08 20:10:32 +00:00
test-require-module-preload.js module: only emit require(esm) warning under --trace-require-module 2024-12-11 15:10:33 +00:00
test-require-module-retry-import-errored-2.js tools,test: enforce best practices to detect never settling promises 2025-07-16 10:57:22 +02:00
test-require-module-retry-import-errored.js module: allow ESM that failed to be required to be re-imported 2024-10-28 12:21:22 +00:00
test-require-module-retry-import-evaluating.js module: allow ESM that failed to be required to be re-imported 2024-10-28 12:21:22 +00:00
test-require-module-synchronous-rejection-handling.js module: mark evaluation rejection in require(esm) as handled 2024-12-05 16:12:50 +00:00
test-require-module-tla-execution.js module: improve error message from asynchronicity in require(esm) 2025-02-20 17:22:08 +00:00
test-require-module-tla-nested.js module: improve error message from asynchronicity in require(esm) 2025-02-20 17:22:08 +00:00
test-require-module-tla-print-execution.js module: improve error message from asynchronicity in require(esm) 2025-02-20 17:22:08 +00:00
test-require-module-tla-rejected.js module: improve error message from asynchronicity in require(esm) 2025-02-20 17:22:08 +00:00
test-require-module-tla-resolved.js module: improve error message from asynchronicity in require(esm) 2025-02-20 17:22:08 +00:00
test-require-module-tla-retry-import-2.js tools,test: enforce best practices to detect never settling promises 2025-07-16 10:57:22 +02:00
test-require-module-tla-retry-import.js tools,test: enforce best practices to detect never settling promises 2025-07-16 10:57:22 +02:00
test-require-module-tla-retry-require.js module: fix error thrown from require(esm) hitting TLA repeatedly 2024-10-29 21:15:19 +00:00
test-require-module-tla-unresolved.js module: improve error message from asynchronicity in require(esm) 2025-02-20 17:22:08 +00:00
test-require-module-transpiled.js module: add __esModule to require()'d ESM 2024-07-11 18:59:31 +00:00
test-require-module-twice.js module: support require()ing synchronous ESM graphs 2024-03-18 18:10:06 +08:00
test-require-module-warning.js module: only emit require(esm) warning under --trace-require-module 2024-12-11 15:10:33 +00:00
test-require-module-with-detection.js module: unflag detect-module 2024-07-20 18:30:46 +00:00
test-require-module.js module: only emit require(esm) warning under --trace-require-module 2024-12-11 15:10:33 +00:00
test-require-node-modules-warning.js module: only emit require(esm) warning under --trace-require-module 2024-12-11 15:10:33 +00:00
test-typescript-commonjs.mjs module: use sync cjs when importing cts 2025-10-02 03:49:26 +00:00
test-typescript-eval.mjs module: remove experimental warning from type stripping 2025-06-11 10:12:04 +00:00
test-typescript-module.mjs module: use sync cjs when importing cts 2025-10-02 03:49:26 +00:00
test-typescript-transform.mjs test: module syntax should throw 2025-03-03 18:30:40 +00:00
test-typescript.mjs module: remove experimental warning from type stripping 2025-06-11 10:12:04 +00:00
test-vm-compile-function-leak.js test: use checkIfCollectable in vm leak tests 2023-09-18 23:00:53 +02:00
test-vm-compile-function-lineoffset.js lib: fix compileFunction throws range error for negative numbers 2023-10-06 14:33:46 +00:00
test-vm-contextified-script-leak.js test: deflake test-vm-contextified-script-leak 2023-09-23 03:46:22 +00:00
test-vm-main-context-default-loader-eval.js tools,test: enforce best practices to detect never settling promises 2025-07-16 10:57:22 +02:00
test-vm-main-context-default-loader.js tools,test: enforce best practices to detect never settling promises 2025-07-16 10:57:22 +02:00
test-vm-source-text-module-leak.js v8: implement v8.queryObjects() for memory leak regression testing 2024-03-02 22:11:30 +00:00
test-vm-synthetic-module-leak.js test: use checkIfCollectable in vm leak tests 2023-09-18 23:00:53 +02:00
test-wasm-memory-out-of-bound.js esm: --experimental-default-type flag to flip module defaults 2023-09-29 06:18:44 +00:00
test-wasm-simple.js esm: --experimental-default-type flag to flip module defaults 2023-09-29 06:18:44 +00:00
test-wasm-web-api.js fs: add autoClose option to FileHandle readableWebStream 2025-06-04 18:26:54 -07:00
testcfg.py test: run ESM tests in parallel 2018-08-04 18:14:13 +02:00