1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/runtime/js
Luca Casonato 53088e16de
feat(test): improved op sanitizer errors + traces (#13676)
This commit improves the error messages for the `deno test` async op
sanitizer. It does this in two ways:
- it uses handwritten error messages for each op that could be leaking
- it includes traces showing where each op was started

This "async op tracing" functionality is a new feature in deno_core.
It likely has a significant performance impact, which is why it is only
enabled in tests.
2022-02-16 19:53:17 +01:00
..
01_build.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
01_errors.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
01_version.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
01_web_util.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
06_util.js refactor: update runtime code for primordial check for iterators (#13510) 2022-02-07 13:54:32 +01:00
10_permissions.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
11_workers.js refactor: primordials for instanceof (#13527) 2022-02-01 18:06:11 +01:00
12_io.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
13_buffer.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
30_fs.js refactor: primordials for instanceof (#13527) 2022-02-01 18:06:11 +01:00
30_os.js feat(unstable): add Deno.getUid (#13496) 2022-01-31 14:44:19 +09:00
40_compiler_api.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
40_diagnostics.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
40_error_stack.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
40_files.js feat: Add Deno.FsFile, deprecate Deno.File (#13660) 2022-02-15 13:59:04 +01:00
40_fs_events.js refactor: primordials for instanceof (#13527) 2022-02-01 18:06:11 +01:00
40_http.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
40_process.js feat: Add Deno.FsFile, deprecate Deno.File (#13660) 2022-02-15 13:59:04 +01:00
40_read_file.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
40_signals.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
40_testing.js feat(test): improved op sanitizer errors + traces (#13676) 2022-02-16 19:53:17 +01:00
40_tty.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
40_write_file.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
41_prompt.js chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
90_deno_ns.js feat: Add Deno.FsFile, deprecate Deno.File (#13660) 2022-02-15 13:59:04 +01:00
99_main.js compat: support --compat in web workers (#13629) 2022-02-11 13:41:56 +01:00
README.md feat: add --location=<href> and globalThis.location (#7369) 2021-01-07 19:06:08 +01:00

Runtime JavaScript Code

This directory contains Deno runtime code written in plain JavaScript.

Each file is a plain, old script, not ES modules. The reason is that snapshotting ES modules is much harder, especially if one needs to manipulate global scope (like in case of Deno).

Each file is prefixed with a number, telling in which order scripts should be loaded into V8 isolate. This is temporary solution and we're striving not to require specific order (though it's not 100% obvious if that's feasible).

Deno Web APIs

This directory facilities Web APIs that are available in Deno.

Please note, that some implementations might not be completely aligned with specification.

Some Web APIs are using ops under the hood, eg. console, performance.

Implemented Web APIs