summaryrefslogtreecommitdiff
path: root/ext/web
AgeCommit message (Collapse)Author
2022-03-16v1.20.0Ryan Dahl
2022-03-16perf(web): optimize Blob.text and Blob.arrayBuffer (#13981)Divy Srivastava
2022-03-16perf(web): use DOMString for BlobParts (#13979)Divy Srivastava
2022-03-16feat(ops): optional OpState (#13954)Aaron O'Mullan
2022-03-16perf(web): Optimize `TextDecoder` by adding a new `U16String` type (#13923)Andreu Botella
2022-03-14feat(ops): custom arity (#13949)Aaron O'Mullan
Also cleanup & drop ignored wildcard op-args
2022-03-14feat(ext/web): Add `AbortSignal.timeout()` (#13687)Andreu Botella
2022-03-14fix(core): Don't override structured clone error messages from V8 (#13942)Andreu Botella
In the implementation of structured serialization in `Deno.core.serialize`, whenever there is a serialization error, an exception will be thrown with the message "Failed to serialize response", even though V8 provides a message to use in such cases. This change instead throws an exception with the V8-provided message, if there is one.
2022-03-14feat(core): codegen ops (#13861)Divy Srivastava
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-03-14chore: improve build times for `ext/` changes (#13927)Divy Srivastava
2022-03-10v1.19.3Yoshiya Hinosawa
2022-03-05perf(ext/web): optimize atob/btoa (#13841)Aaron O'Mullan
Follow up to #13839, optimizing `base64_roundtrip` ~20x (~125ms => ~6.5ms)
2022-03-03chore: bump crate version for 1.19.2 (#13824)Satya Rohith
2022-02-24chore: bump crate versions for 1.19.1 (#13760)David Sherret
2022-02-22docs: code example to `structuredClone`, `CompressionStream`, ↵Geert-Jan Zwiers
`DecompressionStream` (#13719) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-02-17chore: release crates for v1.19.0 (#13698)Bartek Iwańczuk
2022-02-16chore: improve error messages in CompressionStream (#13585)Luca Casonato
This commit makes the error messages that one sees when passing something other than a BufferSource to a (De)CompressionStream. The WPT tests already pass, because they just check for error type (TypeError), and not error message. A TypeError was already thrown for invalid values via serde_v8.
2022-02-15chore(ext/timers): move ext/timers to ext/web (#13665)Andreu Botella
2022-02-07refactor: update runtime code for primordial check for iterators (#13510)Bartek Iwańczuk
2022-02-04chore: forward v1.18.2 to main (#13595)Bartek Iwańczuk
2022-02-01refactor: primordials for instanceof (#13527)Bartek Iwańczuk
2022-01-27chore: forward v1.18.1 to main (#13514)Bartek Iwańczuk
2022-01-27Revert "refactor: update runtime code for primordial checks for "instanceof" ↵Bartek Iwańczuk
(#13497)" (#13511) This reverts commit 884143218fad0e18f7553aaf079d52de703f7601.
2022-01-27refactor: update runtime code for primordial checks for "instanceof" (#13497)Bartek Iwańczuk
2022-01-24feat(ext/web): add CompressionStream API (#11728)Leo Kettmeir
Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2022-01-20chore: bump crate version for 0.18.0 (#13441)Divy Srivastava
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2022-01-18fix(runtime): don't crash when window is deleted (#13392)Bartek Iwańczuk
This commit fixes an error when user deletes "window" global JS variable. Instead of relying on "window" or "globalThis" to dispatch "load" and "unload" events, we are default to global scope of the worker.
2022-01-14fix(streams): update TypeError message for pending reads when releasing ↵Leo Kettmeir
reader (#13376)
2022-01-14feat(streams): reject pending reads when releasing reader (#13375)Leo Kettmeir
2022-01-13chore: forward v1.17.3 to main (#13364)Bartek Iwańczuk
2022-01-11fix(ext/web): handle no arguments in atob (#13341)Luca Casonato
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-06chore: forward 1.17.2 to main (#13295)Bartek Iwańczuk
2022-01-05refactor(ext/web): Don't rely on NaN comparisons in `TextEncoderStream` (#13151)Andreu Botella
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.
2021-12-22chore: merge v1.17.1 into main (#13184)Bartek Iwańczuk
2021-12-16chore: release crates for v1.17.0 (#13112)Bartek Iwańczuk
2021-12-14fix(ext/web): set location undefined when `--location` is not specified (#13046)Yoshiya Hinosawa
2021-12-10feat(ext/web): implement `AbortSignal.prototype.throwIfAborted()` (#13044)Andreu Botella
See whatwg/dom#1034.
2021-12-10feat(cli): update to TypeScript 4.5 (#12410)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-12-08feat(streams): support abort reasons in streams (#12991)Andreu Botella
2021-12-04chore: merge v1.16.4 into main (#12984)Luca Casonato
2021-11-24chore: merge v1.16.3 into main (#12892)Bert Belder
2021-11-17chore: bump crates for 1.16.2 (#12792)David Sherret
2021-11-11chore: bump crate versions for 1.16.1 (#12729)Luca Casonato
2021-11-11fix: add typings for AbortSignal.reason (#12730)Luca Casonato
2021-11-09chore: bump crate versions for 1.16.0 (#12706)Luca Casonato
2021-11-08feat(ext/web): add `AbortSignal.reason` (#12697)Leo Kettmeir
2021-11-08feat(ext/web): WritableStreamDefaultController.signal (#12654)Leo Kettmeir
2021-11-05BREAKING chore(ext/web): remove `ReadableStream.getIterator` (#12652)Leo Kettmeir