mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 09:39:08 -05:00
74a93fdf63
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. |
||
---|---|---|
.. | ||
00_webidl.js | ||
Cargo.toml | ||
internal.d.ts | ||
lib.rs | ||
README.md |
deno_webidl
This crate implements WebIDL for Deno. It consists of infrastructure to do ECMA -> WebIDL conversions.