1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/runtime/js
Divy Srivastava b21462355a
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-02 09:36:05 +05:30
..
01_errors.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
01_version.ts chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
06_util.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
10_permissions.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
11_workers.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
13_buffer.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
30_os.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
40_fs_events.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
40_http.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
40_process.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
40_signals.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
40_tty.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
41_prompt.js Revert "fix(runtime): Make native modal keyboard interaction consistent with browsers" (#21739) 2024-01-02 09:36:05 +05:30
90_deno_ns.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
98_global_scope.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
99_main.js chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00: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