1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/runtime/js
Divy Srivastava 97604ef522
Revert "fix(runtime): Make native modal keyboard interaction consistent with browsers" (#21739)
Reverts denoland/deno#18453

Fixes https://github.com/denoland/deno/issues/21602
https://github.com/denoland/deno/issues/21631
https://github.com/denoland/deno/issues/21641

Reasons for revert:
- alert() and confirm() swallowed ^C with raw mode.
- prompt() did not re-raise the interrupt signal from rustyline. 
- Default 'Y' on confirm() is a bad default and breaking change.

cc @lionel-rowe
2024-01-04 20:34:52 +01:00
..
01_errors.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
01_version.ts chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
06_util.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
10_permissions.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
11_workers.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
13_buffer.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
30_os.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
40_fs_events.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
40_http.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
40_process.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
40_signals.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
40_tty.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
41_prompt.js Revert "fix(runtime): Make native modal keyboard interaction consistent with browsers" (#21739) 2024-01-04 20:34:52 +01:00
90_deno_ns.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
98_global_scope.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +01:00
99_main.js chore: update copyright to 2024 (#21753) 2024-01-04 20:34:51 +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