1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 09:39:08 -05:00
denoland-deno/ext/webidl
Andreu Botella 74a93fdf63
fix(webidl): Don't throw when converting a detached buffer source (#12585)
The Web IDL conversion to `BufferSource` and similar types shouldn't
check whether the buffer is detached.

In the case of `TextDecoder`, our implementation would still throw after
the Web IDL conversions because we're creating a new `Uint8Array` from
the buffer source's buffer, which throws if it's detached. This change
also fixes this bug.
2021-10-28 23:17:27 +02:00
..
00_webidl.js fix(webidl): Don't throw when converting a detached buffer source (#12585) 2021-10-28 23:17:27 +02:00
Cargo.toml chore: bump crate version for 1.15.3 (#12531) 2021-10-25 15:48:01 +09:00
internal.d.ts Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
lib.rs Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00

deno_webidl

This crate implements WebIDL for Deno. It consists of infrastructure to do ECMA -> WebIDL conversions.

Spec: https://heycam.github.io/webidl/