summaryrefslogtreecommitdiff
path: root/op_crates/web
AgeCommit message (Collapse)Author
2021-04-30Rename crate_ops to extensions (#10431)Andy Hayden
2021-04-30refactor(core.js): provide window.__bootstrap (#10423)Aaron O'Mullan
2021-04-28refactor(extensions): reintroduce builder (#10412)Aaron O'Mullan
2021-04-28core: introduce extensions (#9800)Aaron O'Mullan
Extensions allow declarative extensions to "JsRuntime" (ops, state, JS or middleware). This allows for: - `op_crates` to be plug-and-play & self-contained, reducing complexity leaked to consumers - op middleware (like metrics_op) to be opt-in and for new middleware (unstable, tracing,...) - `MainWorker` and `WebWorker` to be composable, allowing users to extend workers with their ops whilst benefiting from the other infrastructure (inspector, etc...) In short extensions improve deno's modularity, reducing complexity and leaky abstractions for embedders and the internal codebase.
2021-04-28chore: upgrade dprint plugins (#10397)Satya Rohith
2021-04-23chore: release crates (#10327)Luca Casonato
Release crates for the cli 1.9.2 release.
2021-04-21chore: release crates (#10269)Bartek Iwańczuk
* Revert "tooling(bench_util): benching and profiling utilities (#10223)" This reverts commit 733a00030582375c43fa156e978f25df6ecc9e9a. * Upgrade notify
2021-04-20chore: align fetch to spec (#10203)Luca Casonato
This commit aligns the `fetch` API and the `Request` / `Response` classes belonging to it to the spec. This commit enables all the relevant `fetch` WPT tests. Spec compliance is now at around 90%. Performance is essentially identical now (within 1% of 1.9.0).
2021-04-20chore: update copyright headers (#10243)Yoshiya Hinosawa
2021-04-19chore: align `Headers` to spec (#10199)Luca Casonato
This commit aligns `Headers` to spec. It also removes the now unused 03_dom_iterable.js file. We now pass all relevant `Headers` WPT. We do not implement any sort of header filtering, as we are a server side runtime. This is likely not the most efficient implementation of `Headers` yet. It is however spec compliant. Once all the APIs in the `HTTP` hot loop are correct we can start optimizing them. It is likely that this commit reduces bench throughput temporarily.
2021-04-14chore: align FormData to spec (#10169)Luca Casonato
This PR aligns `FormData` to spec. All WPT tests are passing.
2021-04-13chore: release crates (#10164)Bartek Iwańczuk
2021-04-11refactor(op_crates/web): remove unused code path in TextEncoder (#10104)Thiago de Arruda Padilha
According to https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder, TextEncoder should ignore the "encoding" parameter and always use "utf-8".
2021-04-08chore: update deps (#10058)Luca Casonato
This commit updates crate dependencies.
2021-04-08fix: enable FileReader wpt and align to spec (#10063)Luca Casonato
This adds some algorithms from the whatwg mimesniff, whatwg infra, and whatwg encoding specs that FileReader needs to use internally.
2021-04-06refactor: add deno_file op crate (#10019)Luca Casonato
Also enables WPT for FileReader.
2021-04-02chore: bump dependent crates for cli (#9964)Kitson Kelly
2021-04-02Revert "fix(cli): align type definitions to spec (#9782)" (#9961)Kitson Kelly
This reverts commit f8aff8edcdb7330a8cc397e2af2ec445533ce970.
2021-04-01fix(cli): align type definitions to spec (#9782)Casper Beyer
Fixes #5666
2021-03-27fix: update wpt + align AbortController (#9907)crowlKats
2021-03-21chore: release crates (#9847)Bartek Iwańczuk
2021-03-12chore: bump crates (#9769)Luca Casonato
2021-03-12chore: split web op crate (#9635)Luca Casonato
This commit starts splitting out the deno_web op crate into multiple smaller crates. This commit splits out WebIDL and URL API, but in the future I want to split out each spec into its own crate. That means we will have (in rough order of loading): `webidl`, `dom`, `streams`, `console`, `encoding`, `url`, `file`, `fetch`, `websocket`, and `webgpu` crates.
2021-03-09chore: release crates (#9731)Bartek Iwańczuk
2021-03-08fix(webgpu): add webidl records and simple unions (#9698)Luca Casonato
The only functional user facing difference is that this commit allows the use SPIRV shaders, not just WGSL. This matches FF and Chrome Canary.
2021-03-02Bump crates again (#9653)Ryan Dahl
2021-03-02Bump crate versions (#9651)Ryan Dahl
2021-03-02refactor(op_crates/web): Move URL parsing to Rust (#9276)Nayeem Rahman
2021-03-01feat: WebGPU API (#7977)crowlKats
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-03-01chore: improve internal webidl functions (#9606)Luca Casonato
2021-02-16typoLeo Chandra
2021-02-16fix: align btoa to spec (#9053)Casper Beyer
2021-02-16chore: add internal webidl helpers for enums and nullables (#9504)Anonymous
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-02-13fix: webidl utils and align `Event` to spec (#9470)Luca Casonato
2021-02-12chore: release crates (#9481)Bartek Iwańczuk
2021-02-09fix(op_crates): Don't use `Deno.inspect` in op crates (#9332)Nayeem Rahman
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-02-09chore: update dependencies (#9455)Luca Casonato
2021-02-05chore: release crates (#9410)Bartek Iwańczuk
2021-02-04chore: use strict mode for internal runtime, core, and op_crates js (#9391)Developing
2021-01-29v1.7.1Ryan Dahl
2021-01-29fix(op_crates/web): Add customInspect for Location (#9290)Nayeem Rahman
2021-01-28chore: add jsdoc to 26_fetch.js and enable some fetch tests (#9305)Luca Casonato
2021-01-26chore: update crates (#9251)Luca Casonato
Updates SWC, dprint, deno_lint, deno_doc, serde, and Tokio (to 1.1.0). Co-authored-by: Kitson Kelly <me@kitsonkelly.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-24feat(op_crates/web): adding gb18030 and GBK encodings (#9242)ali ahmed
2021-01-19v1.7.0Ryan Dahl
2021-01-19feat(web): add utf-16 and big5 to TextEncoder/TextDecoder (#8108)ali ahmed
2021-01-18fix(op_crates/web) let TextEncoder#encodeInto accept detached ArrayBuffers ↵Anonymous
(#9143)
2021-01-17fix(op_crates/web): Use WorkerLocation for location in workers (#9084)Nayeem Rahman
2021-01-17chore: Enforce ban-untagged-todo lint rule (#9135)Bartek Iwańczuk
2021-01-14fix: align DOMException API to the spec and add web platform testing of it. ↵Yoshiya Hinosawa
(#9106) * fix: align DOMException API to the spec * test: fix test case 070_location * test(DOMException): disable "does not inherit from Error: class-side" test of WPT * test: remove test cases in deno codebase * docs: add note about skipped test