1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/ext/web
Andreu Botella 22d140ffb1
refactor(ext/web): Don't rely on NaN comparisons in TextEncoderStream (#13151)
In the `transform` function to `TextEncoderStream`'s internal
`TransformStream`, if `chunk` is the empty string and
`this.#pendingHighSurrogate` is null, then `lastCodeUnit` will be NaN.
As it turns out, this does not cause a bug because the comparison to
check for lone surrogates turns out to be false for NaN, but to rely on
it makes the code brittle.
2022-01-05 00:42:30 +01: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 feat(ext/web): implement AbortSignal.prototype.throwIfAborted() (#13044) 2021-12-10 15:12:38 +01: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 feat(streams): support abort reasons in streams (#12991) 2021-12-08 23:31:22 +01:00
06_streams_types.d.ts feat(ext/web): BYOB support for ReadableStream (#12616) 2021-11-03 10:47:40 +01:00
08_text_encoding.js refactor(ext/web): Don't rely on NaN comparisons in TextEncoderStream (#13151) 2022-01-05 00:42:30 +01: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 fix(ext/web): set location undefined when --location is not specified (#13046) 2021-12-14 00:35:59 +09: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: merge v1.17.1 into main (#13184) 2021-12-22 22:20:17 +01:00
internal.d.ts feat(cli): update to TypeScript 4.5 (#12410) 2021-12-10 09:12:21 +11:00
lib.deno_web.d.ts feat(ext/web): implement AbortSignal.prototype.throwIfAborted() (#13044) 2021-12-10 15:12:38 +01: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 fix: Deno.emit crashes with BorrowMutError (#12627) 2021-11-03 09:27:36 -04: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/.