summaryrefslogtreecommitdiff
path: root/ext/webidl/00_webidl.js
AgeCommit message (Collapse)Author
2021-10-28fix(webidl): Don't throw when converting a detached buffer source (#12585)Andreu Botella
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-05perf(webidl): fix typo from #12286 (#12336)Aaron O'Mullan
In a tweak commit of #12286 I accidentally eliminated the else branch ... running the slow & the fast path providing a worst of both worlds path
2021-10-04perf(webidl): optimize createRecordConverter() (#12286)Aaron O'Mullan
Cuts self-time by ~6x, 172ns/iter => 22ns/iter benched on 1M Response builds / HeadersInit calls
2021-09-30perf(webidl): optimize createDictionaryConverter() (#12279)Aaron O'Mullan
On a benchmark constructing Responses with headers this shaves off 25%
2021-09-29perf(webidl/DOMString): don't wrap string primitives (#12266)Aaron O'Mullan
2021-09-26perf(webidl/ByteString): 3x faster ASCII check (#12230)Aaron O'Mullan
2021-09-25fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851)李瑞丰
Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-08-24refactor(webgpu): use op interface idiomatically (#11835)Luca Casonato
2021-08-11Rename extensions/ directory to ext/ (#11643)Ryan Dahl