1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/ext/web
Bert Belder ff932b411d
fix(core): poll async ops eagerly (#12385)
Currently all async ops are polled lazily, which means that op
initialization code is postponed until control is yielded to the event
loop. This has some weird consequences, e.g.

```js
let listener = Deno.listen(...);
let conn_promise = listener.accept();
listener.close();
// `BadResource` is thrown. A reasonable error would be `Interrupted`.
let conn = await conn_promise;
```

JavaScript promises are expected to be eagerly evaluated. This patch
makes ops actually do that.
2021-10-17 19:50:42 +02:00
..
00_infra.js perf(web): optimize byteLowerCase() (#12282) 2021-10-01 01:03:51 +02:00
01_dom_exception.js fix(ext/web): Format DOMException stack property (#12333) 2021-10-08 17:01:02 +02:00
01_mimesniff.js Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
02_event.js refactor: deduplicate defineEventHandler util (#12367) 2021-10-08 09:53:31 +02:00
02_structured_clone.js feat(fmt): add basic JS doc formatting (#11902) 2021-09-02 18:28:12 -04:00
03_abort_signal.js fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) 2021-09-25 02:07:22 +09:00
04_global_interfaces.js Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
05_base64.js Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
06_streams.js chore: upgrade crates based on deno ast 0.3 (#12403) 2021-10-12 09:58:04 -04:00
06_streams_types.d.ts Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
08_text_encoding.js fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) 2021-09-25 02:07:22 +09:00
09_file.js fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) 2021-09-25 02:07:22 +09:00
10_filereader.js fix(ext/web): FileReader error messages (#12218) 2021-09-25 15:28:17 +02:00
11_blob_url.js Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
12_location.js Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
13_message_port.js fix(core): poll async ops eagerly (#12385) 2021-10-17 19:50:42 +02:00
blob.rs fix: a Request whose URL is a revoked blob URL should still fetch (#11947) 2021-09-08 11:29:21 +02:00
Cargo.toml chore: bump crate version for 1.15.0 (#12406) 2021-10-12 22:16:15 +05:30
internal.d.ts perf(web): ~400x faster http header trimming (#12277) 2021-09-30 18:39:55 +02:00
lib.deno_web.d.ts feat(fmt): add basic JS doc formatting (#11902) 2021-09-02 18:28:12 -04:00
lib.rs fix: a Request whose URL is a revoked blob URL should still fetch (#11947) 2021-09-08 11:29:21 +02:00
message_port.rs feat: ArrayBuffer in structured clone transfer (#11840) 2021-08-25 13:48:53 +02:00
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00

deno web

Op crate that implements Event, TextEncoder, TextDecoder and File API (https://w3c.github.io/FileAPI).

Testing for text encoding is done via WPT in cli/.