1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-04 08:54:20 -05:00
denoland-deno/cli/tests/testdata
Bartek Iwańczuk 208c91b68f
fix(core): run macrotasks and next ticks after polling dynamic imports (#17173)
This commit fixes handling of rejected promises in dynamic imports
evaluation.

Previously we were running callbacks for next ticks and macrotasks
_before_ polling
dynamic imports and checked for unhandled rejections immediately after.
This is wrong,
as `unhandledrejection` event is dispatched and its callbacks are run as
macrotasks.

This commit changes order of actions performed by the event loop to
following:
- poll async ops
- poll dynamic imports
- run next tick callbacks
- run macrotask callbacks
- check for unhandled promise rejections
2022-12-23 19:46:24 +01:00
..
assets refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
bench feat(cli): support deno bench in the config file (#16608) 2022-12-10 02:30:47 +01:00
benches refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
bundle refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
cache perf: more efficient deno cache and npm package info usage (#16592) 2022-11-11 11:33:57 -05:00
cert feat: support npm specifiers in deno info for display text output only (#16470) 2022-10-28 16:19:55 -04:00
check fix(cli): allow for specifying noErrorTruncation compiler option (#17127) 2022-12-19 20:29:44 -05:00
commonjs feat(unstable): initial support for npm specifiers (#15484) 2022-08-20 11:31:33 -04:00
compile fix(compile): ensure import map is used when specified in deno config file (#16990) 2022-12-08 11:50:09 -05:00
coverage fix(coverage): Error if the emit cache is invalid (#16850) 2022-11-29 18:43:54 +01:00
doc chore: update deno_doc (#16515) 2022-11-02 18:51:37 +01:00
dynamic_import refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
encoding
eval refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
fmt refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
import_assertions upgrade: v8 10.4.132.5 (#14874) 2022-06-15 12:30:19 -04:00
import_maps
info feat(unstable/npm): deno info --json support for npm specifiers (#16472) 2022-10-31 10:25:46 -04:00
inspector feat: add --inspect-wait flag (#17001) 2022-12-12 15:33:30 +01:00
install feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
jsx test: don't use lock file in JSX tests (#16639) 2022-11-15 17:20:40 +01:00
lint fix(lint): column number for pretty reporting was off by 1 (#17107) 2022-12-17 16:00:33 -05:00
lsp feat: upgrade to TypeScript 4.9.3 (#16973) 2022-12-07 12:59:59 -05:00
malformed_config feat: auto-discover config file (#13313) 2022-01-17 20:10:17 -05:00
module_graph
npm fix(npm): conditional exports with --node-modules-dir (#17111) 2022-12-19 17:09:54 +01:00
repl refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
run fix(core): run macrotasks and next ticks after polling dynamic imports (#17173) 2022-12-23 19:46:24 +01:00
runtime refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
subdir refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
task fix(task): output encoding issues on windows (#16794) 2022-11-24 19:37:02 -05:00
test feat: upgrade to TypeScript 4.9.3 (#16973) 2022-12-07 12:59:59 -05:00
tls
tsc
tsc2
type_definitions
types refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
vendor feat(vendor): support using an existing import map (#14836) 2022-06-14 10:05:37 -04:00
webcrypto fix(ext/crypto): decode id-RSASSA-PSS with default params (#12147) 2021-10-01 11:14:16 +02:00
webgpu refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
workers feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#15797) 2022-09-28 15:03:56 +02:00
cat.ts
echo.ts
echo_server.ts
error_cause_recursive_aggregate.ts feat(cli): show error cause recursion information (#16384) 2022-10-26 15:37:45 +02:00
error_cause_recursive_aggregate.ts.out feat(cli): show error cause recursion information (#16384) 2022-10-26 15:37:45 +02:00
error_cause_recursive_tail.ts fix: add error cause in recursive cause tail (#16306) 2022-10-16 21:16:46 +02:00
error_cause_recursive_tail.ts.out feat(cli): show error cause recursion information (#16384) 2022-10-26 15:37:45 +02:00
navigator_language.ts feat: introduce navigator.language (#12322) 2022-10-18 15:33:35 +02:00
navigator_languages.ts feat: introduce navigator.language (#12322) 2022-10-18 15:33:35 +02:00
symlink_to_subdir