deno/tests/testdata/run
Matt Mastracci 736b91edd0
perf(cli): use new deno_core timers (#22569)
Improves #19100 

Fixes #20356

Replaces #20428



Changes made in deno_core to support this:

 - [x] Errors must be handled in setTimeout callbacks
 - [x] Microtask ordering is not-quite-right
 - [x] Timer cancellation must be checked right before dispatch
 - [x] Timer sanitizer
 - [x] Move high-res timer to deno_core
 - [x] Timers need opcall tracing
2024-03-01 11:15:18 -07:00
..
auto_discover_lockfile
check_js_points_to_ts
cjs_imports
config
config_file_lock_boolean
config_types
decorators
dynamic_import_already_rejected
dynamic_import_async_error
dynamic_import_concurrent_non_statically_analyzable
explicit_resource_management
fetch
followup_dyn_import_resolves
import_compression
import_maps
import_meta chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
jsx_precompile
lock_only_http_and_https
lock_write_fetch
main_module
nested_error
no_check_imports_not_used_as_values
no_lock_flag
node_builtin_modules
node_prefix_missing
onload chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
remote_type_error
stdio_streams_are_locked_in_permission_prompt
top_level_await
ts_import_from_js
tsx_imports
unhandled_rejection_dynamic_import
unhandled_rejection_dynamic_import2
unsafe_proto
unstable_temporal_api
warn_on_deprecated_api
webstorage
with_config
with_package_json
workspaces fix(lsp): import map expansion (#22553) 2024-02-24 00:21:09 -05:00
001_hello.js
001_hello.js.out
002_hello.ts
002_hello.ts.out
003_relative_import.ts
003_relative_import.ts.out
004_set_timeout.ts
004_set_timeout.ts.out
005_more_imports.ts
005_more_imports.ts.out
006_url_imports.ts
006_url_imports.ts.out
012_async.ts
012_async.ts.out
013_dynamic_import.ts
013_dynamic_import.ts.out
014_duplicate_import.ts
014_duplicate_import.ts.out
015_duplicate_parallel_import.js
015_duplicate_parallel_import.js.out
016_double_await.ts
016_double_await.ts.out
017_import_redirect.ts
017_import_redirect.ts.out
017_import_redirect_info.out
018_async_catch.ts
018_async_catch.ts.out
019_media_types.ts
019_media_types.ts.out
020_json_modules.ts
020_json_modules.ts.out
021_mjs_modules.ts
021_mjs_modules.ts.out
023_no_ext
023_no_ext.out
025_hrtime.ts
025_hrtime.ts.out
025_reload_js_type_error.js
025_reload_js_type_error.js.out
026_redirect_javascript.js
026_redirect_javascript.js.out
027_redirect_typescript.ts
027_redirect_typescript.ts.out
028_args.ts
028_args.ts.out
033_import_map.out
033_import_map_in_config_file.out
033_import_map_in_flag_has_precedence.out
033_import_map_remote.out
035_cached_only_flag.out
038_checkjs.js
038_checkjs.js.out
042_dyn_import_evalcontext.ts
042_dyn_import_evalcontext.ts.out
044_bad_resource.ts
044_bad_resource.ts.out
045_mod.ts
045_output.ts
045_programmatic_proxy_client.ts
045_proxy_client.ts
045_proxy_test.ts chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
045_proxy_test.ts.out
046_jsx_test.tsx
046_jsx_test.tsx.out
047_jsx_test.jsx
047_jsx_test.jsx.out
048_media_types_jsx.ts
048_media_types_jsx.ts.out
052_no_remote_flag.out
056_make_temp_file_write_perm.out
056_make_temp_file_write_perm.ts
058_tasks_microtasks_close.ts
058_tasks_microtasks_close.ts.out
059_fs_relative_path_perm.ts
059_fs_relative_path_perm.ts.out
061_permissions_request.ts
061_permissions_request_sync.ts
062_permissions_request_global.ts
062_permissions_request_global_sync.ts
063_permissions_revoke.ts
063_permissions_revoke.ts.out
063_permissions_revoke_sync.ts
064_permissions_revoke_global.ts
064_permissions_revoke_global.ts.out
064_permissions_revoke_global_sync.ts
065_permissions_revoke_net.ts
065_permissions_revoke_net.ts.out
066_prompt.ts
070_location.ts
070_location.ts.out
071_location_unset.ts
071_location_unset.ts.out
072_location_relative_fetch.ts
072_location_relative_fetch.ts.out
075_import_local_query_hash.ts
075_import_local_query_hash.ts.out
077_fetch_empty.ts
077_fetch_empty.ts.out
078_unload_on_exit.ts
078_unload_on_exit.ts.out
079_location_authentication.ts
079_location_authentication.ts.out
081_location_relative_fetch_redirect.ts
081_location_relative_fetch_redirect.ts.out
082_prepare_stack_trace_throw.js
082_prepare_stack_trace_throw.js.out
083_legacy_external_source_map.ts
088_dynamic_import_already_evaluating.ts
088_dynamic_import_already_evaluating.ts.out
088_dynamic_import_target.ts
089_run_allow_list.ts
089_run_allow_list.ts.out
090_run_permissions_request.ts
090_run_permissions_request_sync.ts
091_use_define_for_class_fields.ts
091_use_define_for_class_fields.ts.out
092_import_map_unmapped_bare_specifier.ts
092_import_map_unmapped_bare_specifier.ts.out
aggregate_error.out
aggregate_error.ts
async_error.ts
async_error.ts.out
before_unload.js
before_unload.js.out
blob_gc_finalization.js
blob_gc_finalization.js.out
byte_order_mark.out
byte_order_mark.ts
checkjs.tsconfig.json
classic_workers_event_loop.js
classic_workers_event_loop.js.out
colors_without_globalThis.js
complex_error.ts
complex_error.ts.out
complex_permissions_test.ts
config_file_lock_path.json
config_file_lock_path.out
config_json_import.ts
config_json_import.ts.out
custom_inspect_url.js
custom_inspect_url.js.out
delete_window.js
deno_exit_tampering.ts
deno_futures_env.ts chore: add DENO_FUTURE env var (#22318) 2024-02-15 04:50:17 +00:00
deny_all_permission_args.js
deny_all_permission_args.out
deny_some_permission_args.js
deny_some_permission_args.out
disallow_http_from_https.js
disallow_http_from_https.ts
disallow_http_from_https_js.out
disallow_http_from_https_ts.out
dom_exception_formatting.ts
dom_exception_formatting.ts.out
dynamic_import_conditional.js
dynamic_import_conditional.js.out
dynamic_import_syntax_error.js
dynamic_import_syntax_error.js.out
dynamic_import_syntax_error_import.js
empty.ts
env_file.out
env_file.ts
env_file_missing.out
error_001.ts
error_001.ts.out
error_002.ts
error_002.ts.out
error_003_typescript.ts
error_003_typescript.ts.out
error_004_missing_module.ts
error_004_missing_module.ts.out
error_005_missing_dynamic_import.ts
error_005_missing_dynamic_import.ts.out
error_006_import_ext_failure.ts
error_006_import_ext_failure.ts.out
error_007_any.ts
error_007_any.ts.out
error_008_checkjs.js
error_008_checkjs.js.out
error_009_extensions_error.js
error_009_extensions_error.js.out
error_009_missing_js_module.disabled
error_011_bad_module_specifier.ts
error_011_bad_module_specifier.ts.out
error_012_bad_dynamic_import_specifier.ts
error_012_bad_dynamic_import_specifier.ts.out
error_013_missing_script.out
error_014_catch_dynamic_import_error.js
error_014_catch_dynamic_import_error.js.out
error_015_dynamic_import_permissions.js
error_015_dynamic_import_permissions.out
error_016_dynamic_import_permissions2.js
error_016_dynamic_import_permissions2.out
error_017_hide_long_source_ts.ts
error_017_hide_long_source_ts.ts.out
error_018_hide_long_source_js.js
error_018_hide_long_source_js.js.out
error_019_stack_function.ts
error_019_stack_function.ts.out
error_020_stack_constructor.ts
error_020_stack_constructor.ts.out
error_021_stack_method.ts
error_021_stack_method.ts.out
error_022_stack_custom_error.ts
error_022_stack_custom_error.ts.out
error_023_stack_async.ts
error_023_stack_async.ts.out
error_024_stack_promise_all.ts
error_024_stack_promise_all.ts.out
error_025_tab_indent
error_025_tab_indent.out
error_026_remote_import_error.ts
error_026_remote_import_error.ts.out
error_cause.ts
error_cause.ts.out
error_cause_recursive.ts
error_cause_recursive.ts.out
error_for_await.ts
error_for_await.ts.out
error_import_map_unable_to_load.out
error_local_static_import_from_remote.js
error_local_static_import_from_remote.js.out
error_local_static_import_from_remote.ts
error_local_static_import_from_remote.ts.out
error_missing_module_named_import.ts
error_missing_module_named_import.ts.out
error_name_non_string.js
error_name_non_string.js.out
error_no_check.ts
error_no_check.ts.out
error_syntax.js
error_syntax.js.out
error_syntax_empty_trailing_line.mjs
error_syntax_empty_trailing_line.mjs.out
error_type_definitions.ts
error_type_definitions.ts.out
error_with_errors_prop.js
error_with_errors_prop.js.out
es_private_fields.js
es_private_fields.js.out
eval_context_throw_dom_exception.js
eval_context_throw_dom_exception.js.out
event_listener_error.ts
event_listener_error.ts.out
event_listener_error_handled.ts
event_listener_error_handled.ts.out
event_listener_error_immediate_exit.ts
event_listener_error_immediate_exit.ts.out
event_listener_error_immediate_exit_worker.ts
event_listener_error_immediate_exit_worker.ts.out
exec_path.ts
exit_error42.ts
exit_error42.ts.out
export_type_def.ts
extension_dynamic_import.ts
extension_dynamic_import.ts.out
extension_import.ts
extension_import.ts.out
fetch_async_error_stack.ts
fetch_async_error_stack.ts.out
fetch_response_finalization.js
fetch_response_finalization.js.out
finalization_registry.js
finalization_registry.js.out
fix_dynamic_import_errors.js
fix_dynamic_import_errors.js.out
fix_emittable_skipped.js
fix_emittable_skipped.ts.out
fix_js_import_js.ts
fix_js_import_js.ts.out
fix_js_imports.ts
fix_js_imports.ts.out
fix_tsc_file_exists.out
fix_worker_dispatchevent.ts
fix_worker_dispatchevent.ts.out
heapstats.js
heapstats.js.out
http2_request_url.ts
https_import.ts
https_import.ts.out
if_main.ts
if_main.ts.out
import_blob_url.ts
import_blob_url.ts.out
import_blob_url_error_stack.ts
import_blob_url_error_stack.ts.out
import_blob_url_import_relative.ts
import_blob_url_import_relative.ts.out
import_blob_url_imports.ts
import_blob_url_imports.ts.out
import_blob_url_jsx.ts
import_blob_url_jsx.ts.out
import_data_url.ts
import_data_url.ts.out
import_data_url_error_stack.ts
import_data_url_error_stack.ts.out
import_data_url_import_relative.ts
import_data_url_import_relative.ts.out
import_data_url_imports.ts
import_data_url_imports.ts.out
import_data_url_jsx.ts
import_data_url_jsx.ts.out
import_dynamic_data_url.ts
import_dynamic_data_url.ts.out
import_extensionless.ts
import_extensionless.ts.out
import_file_with_colon.ts
import_file_with_colon.ts.out
import_type.ts
import_type.ts.out
inline_js_source_map.ts
inline_js_source_map_2.js
inline_js_source_map_2.js.out
inline_js_source_map_2.ts
inline_js_source_map_2_with_inline_contents.js
inline_js_source_map_2_with_inline_contents.js.out
inline_js_source_map_with_contents_from_graph.js
inline_js_source_map_with_contents_from_graph.js.out
issue9750.js
issue13562.ts
issue13562.ts.out
js_import_detect.ts
js_import_detect.ts.out
js_root_with_ts_check.js
js_root_with_ts_check.js.out
jsx_import_from_ts.App.jsx
jsx_import_from_ts.ts
jsx_import_from_ts.ts.out
jsx_import_source.out
jsx_import_source_dev.out
jsx_import_source_error.out
jsx_import_source_import_map.out
jsx_import_source_import_map_dev.out
jsx_import_source_no_pragma.tsx
jsx_import_source_pragma.tsx
jsx_import_source_pragma_import_map.tsx
lock_check_err.json
lock_check_err.out
lock_check_err2.json
lock_check_err2.out
lock_check_ok.json
lock_check_ok2.json
lock_dynamic_imports.json
lock_dynamic_imports.out
lock_v2_check_err.json
lock_v2_check_err.out
lock_v2_check_err2.json
lock_v2_check_err2.out
lock_v2_check_ok.json
lock_v2_check_ok2.json
lock_v2_dynamic_imports.json
lock_v2_dynamic_imports.out
long_data_url_formatting.ts
long_data_url_formatting.ts.out
mts_dmts_mjs.out
no_check_remote.ts
no_check_remote.ts.disabled.out
no_check_remote.ts.enabled.out
no_mem_cache.js
no_mem_cache.js.out
no_prompt.ts
no_validate_asm.js
node_env_var_allowlist.ts
node_env_var_allowlist.ts.out
op_exit_op_set_exit_code_in_worker.ts
op_exit_op_set_exit_code_worker.js
permission_args.out
permission_request_long.ts
permission_test.ts
permissions_cache.ts
permissions_prompt_allow_all.ts
permissions_prompt_allow_all_2.ts
private_field_presence.ts
private_field_presence.ts.out
proto_exploit.js
proto_exploit.js.out
queue_microtask_error.ts
queue_microtask_error.ts.out
queue_microtask_error_handled.ts
queue_microtask_error_handled.ts.out
reference_types.ts
reference_types.ts.out
reference_types_error.js
reference_types_error.js.out
reference_types_remote.ts
reference_types_remote.ts.out
rejection_handled.out
rejection_handled.ts
replace_self.js
replace_self.js.out
report_error.ts
report_error.ts.out
report_error_end_of_program.ts
report_error_end_of_program.ts.out
report_error_handled.ts
report_error_handled.ts.out
resolve_dns.ts
resolve_dns.ts.out
resolve_dns.zone.in
runtime_decorators.ts
runtime_decorators.ts.out
seed_random.js
seed_random.js.out
set_exit_code_0.ts
set_exit_code_1.ts
set_exit_code_2.ts
set_timeout_error.ts
set_timeout_error.ts.out
set_timeout_error_handled.ts
set_timeout_error_handled.ts.out
shebang.ts
shebang.ts.out
shebang2.ts
single_compile_with_reload.ts
single_compile_with_reload.ts.out
single_compile_with_reload_dyn.ts
single_compile_with_reload_worker.ts
spawn_stdout_inherit.ts
spawn_stdout_inherit.ts.out
stdin_read_all.out
stdin_read_all.ts
stdout_write_all.out
stdout_write_all.ts
stdout_write_sync_async.out
stdout_write_sync_async.ts
swc_syntax_error.ts
swc_syntax_error.ts.out
test_and_bench_in_run.js
textproto.ts chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
tls.out
tls_connecttls.js chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
tls_starttls.js chore: move test_util/std to tests/util/std (#22402) 2024-02-13 09:22:49 -07:00
ts_type_imports.ts
ts_type_imports.ts.out
ts_type_imports_foo.ts
ts_type_only_import.d.ts
ts_type_only_import.ts
ts_type_only_import.ts.out
type_definitions.ts
type_definitions.ts.out
type_definitions_for_export.ts
type_definitions_for_export.ts.out
type_directives_01.ts
type_directives_01.ts.out
type_directives_02.ts
type_directives_02.ts.out
type_directives_js_main.js
type_directives_redirect.ts
type_directives_redirect.ts.out
type_headers_deno_types.ts
type_headers_deno_types.ts.out
unbuffered_stderr.ts
unbuffered_stderr.ts.out
unbuffered_stdout.ts
unbuffered_stdout.ts.out
unhandled_rejection.ts
unhandled_rejection.ts.out
unhandled_rejection_sync_error.ts
unhandled_rejection_sync_error.ts.out
unstable.js
unstable.ts
unstable_broadcast_channel.disabled.out
unstable_broadcast_channel.enabled.out
unstable_broadcast_channel.js
unstable_cron.disabled.out
unstable_cron.enabled.out
unstable_cron.js
unstable_disabled_js.out
unstable_enabled.out
unstable_enabled_js.out
unstable_ffi.disabled.out
unstable_ffi.enabled.out
unstable_ffi.js
unstable_fs.disabled.out
unstable_fs.enabled.out
unstable_fs.js
unstable_http.disabled.out
unstable_http.enabled.out
unstable_http.js
unstable_kv.disabled.out
unstable_kv.enabled.out
unstable_kv.js
unstable_net.disabled.out
unstable_net.enabled.out
unstable_net.js
unstable_webgpu.disabled.out
unstable_webgpu.enabled.out
unstable_webgpu.js
unstable_worker.ts
unstable_worker.ts.out
unstable_worker_options.disabled.out
unstable_worker_options.enabled.out
unstable_worker_options.js
unsupported_dynamic_import_scheme.out
v8_flags.js
v8_flags.js.out
v8_flags_unrecognized.out
v8_help.out
wasm.ts
wasm.ts.out
wasm_async.js
wasm_async.out
wasm_shared.out
wasm_shared.ts
wasm_streaming_panic_test.js
wasm_streaming_panic_test.js.out
wasm_unreachable.js
wasm_unreachable.out
wasm_url.js
wasm_url.out
weakref.ts
weakref.ts.out
websocket_server_idletimeout.ts fix(cli): ensure that pre- and post-test output is flushed at the appropriate times (#22611) 2024-02-28 22:12:21 +00:00
websocket_server_multi_field_connection_header_test.ts
websocketstream_ping_test.ts
worker_close_in_wasm_reactions.js
worker_close_in_wasm_reactions.js.out
worker_close_nested.js
worker_close_nested.js.out
worker_close_race.js
worker_close_race.js.out
worker_drop_handle_race.js
worker_drop_handle_race.js.out perf(cli): use new deno_core timers (#22569) 2024-03-01 11:15:18 -07:00
worker_drop_handle_race_terminate.js
worker_drop_handle_race_terminate.js.out
worker_event_handler_test.js
worker_event_handler_test.js.out
worker_message_before_close.js
worker_message_before_close.js.out