summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-17fix(ext/crypto): exportKey() for HMAC (#11737)Divy Srivastava
Fixes typings and innerKey processing (WPT doesn't test exportKey for HMAC so this wasn't caught earlier).
2021-08-161.13.1David Sherret
2021-08-16chore: release crates for 1.13.1 (#11729)David Sherret
2021-08-16fix(ext/fetch): better error if no content-typeBen Noordhuis
The streaming WASM support code inspects the Response object's Content-Type header but if that was missing, it failed with a fairly inscrutable "String.prototype.toLowerCase called on null or undefined" exception. Now it raises a more legible "Invalid WebAssembly content type" exception.
2021-08-16fix(ext/fetch): don't use global Deno objectBen Noordhuis
Don't use `Deno.core`, it's not present in embedders that don't expose the Deno global object.
2021-08-16fix(ext/crypto): enable non-extractable keys (#11705)Divy Srivastava
2021-08-16chore(cli/tests): disable flaky test on macos ci (#11726)Ben Noordhuis
Refs #11580.
2021-08-16feat(runtime): support classic workers for internal testing (#11338)Andreu Botella
This commit implements classic workers, but only when the `--enable-testing-features-do-not-use` flag is provided. This change is not user facing. Classic workers are used extensively in WPT tests. The classic workers do not support loading from disk, and do not support TypeScript. Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-16test(ext/http): add test for incomplete HTTP message and fix resource leak ↵Bartek Iwańczuk
(#11717) This commit adds a test case for "Http: connection closed before message completed" error as well as fixing an edge with resource leak when the error is raised.
2021-08-16fix: parse error when transpiling code with BOM (#11688)Ryan Dahl
Co-authored-by: David Sherret <dsherret@gmail.com>
2021-08-15fix: don't statically type name on Deno.errors (#11715)Luca Casonato
2021-08-15fix(test): dispatch load event before tests are run (#11708)Casper Beyer
2021-08-15refactor(ops): return BadResource errors in ResourceTable calls (#11710)Aaron O'Mullan
* refactor(ops): return BadResource errors in ResourceTable calls Instead of relying on callers to map Options to Results via `.ok_or_else(bad_resource_id)` at over 176 different call sites ...
2021-08-15perf(ext/http): faster req_url string assembly (#11711)Aaron O'Mullan
This stood out on a flamegraph, it took up ~1% of a profiled loadtest of `cli/bench/deno_http_native.js`
2021-08-15fix(ext/crypto): fix copying buffersource (#11714)Divy Srivastava
2021-08-14perf: improve localStorage throughput (#11709)Luca Casonato
This PR improves localStorage write throughput by around 150x by caching the prepared statements for SQLite and adding some DB pragmas. Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2021-08-14chore: move importKey tests to webcrypto_unit.ts (#11706)Divy Srivastava
2021-08-14fix(cli/lint): don't use gray in diagnostics output for visibility (#11702)Yusuke Tanaka
2021-08-14cleanup(ext/http): simplify cookie header handling (#11704)Aaron O'Mullan
cleanup(ext/http): simplify cookie header handling Use `Vec::join` instead of essentially reimplementing it. There should be no meaningful performance delta
2021-08-14build: rename `kind` to `job` in ci config (#11699)Jheyson Saavedra
Co-authored-by: Jheyson Saavedra <jheysondev@users.noreply.github.com>
2021-08-14chore: roll wpt (#11692)Luca Casonato
This PR rolls WPT to https://github.com/web-platform-tests/wpt/commit/7eb7372a613fb3a4a7d4160d8292ac2b95b29864
2021-08-14cleanup(ext/http): simplify op_http_request_next (#11691)Aaron O'Mullan
* cleanup(ext/http): simplify op_http_request_next Keep op_http_request_next's high-level logic simple, factor out NextRequestResponse building to prepare_next_request() for improved readability & maintainability * cleanup(ext/http): break prepare_next_request() into meaningful sub-funcs
2021-08-14fix(cli): explicitly scan for ignore attribute in inline tests (#11647)Casper Beyer
This commits adds "ignore" as a known attribute for Markdown codeblock which drops a code block early whenever it is seen in documentation tests.
2021-08-14cleanup(ext/web/BlobStore): avoid redundant Arc<Box<T>> alloc (#11693)Aaron O'Mullan
2021-08-14fix(cli/tools/repl): dont highlight candidate when completion is list (#11697)Casper Beyer
2021-08-14refactor: normalize `is_supported_` check naming (#11698)Casper Beyer
Normalizes the naming of the functions used to determine if a path is a suitable match for the test runner and placed them both in the the fs_util module.
2021-08-14fix(cli): retain input order of remote specifiers (#11700)Casper Beyer
Specifier collection partitions remote specifiers in their own group which is appended to the collected specifiers at the end of the routine meaning that the input order isn't respected for remote specifiers.
2021-08-13fix(ext/crypto): importKey() SecurityError on non-extractable keys (#11662)Divy Srivastava
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-13fix(http/ws): support multiple options in connection header (#11675)Leo K
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-13fix(ext/crypto): handle idlValue not being present (#11685)Divy Srivastava
2021-08-13build: add devcontainer configuration (#11670)Luca Casonato
This allows users to use Codespaces and VS Code Remote Containers easily.
2021-08-13fix(ext/http): remove unwrap() when HTTP conn errors (#11674)Bartek Iwańczuk
2021-08-13refactor(cli): generalize module specifier collection (#11679)Casper Beyer
2021-08-13test(cli): add test for test filtering (#11672)Casper Beyer
2021-08-13fix(ext/crypto): take a copy of keyData bytes (#11666)Divy Srivastava
2021-08-13fix(ext/web): use Array primordials in MessagePort (#11680)Divy Srivastava
2021-08-13perf(wpt/crypto): optimize num-bigint-dig for debug builds (#11681)Divy Srivastava
2021-08-12fix(cli): allow specifiers of unknown media types with test command (#11652)Casper Beyer
2021-08-12fix: Blob#slice arguments should be optional (#11665)Luca Casonato
2021-08-12fix(lint): add links to help at lint.deno.land (#11667)Bartek Iwańczuk
2021-08-12test: mark run_watch test as flaky (#11668)Bartek Iwańczuk
2021-08-12fix(test): sort file module specifiers (#11656)Casper Beyer
2021-08-12doc: improve coverage CLI help text (#11646)Chris Knight
Co-authored-by: Casper Beyer <caspervonb@pm.me>
2021-08-12chore: update README.md (#11633)Bartek Iwańczuk
Updates "complex" example in the README.md, which used std/http which will be phased out. Instead use newly stabilized Deno.serveHttp()
2021-08-12chore(tools): use local std in wpt utils (#11644)Divy Srivastava
2021-08-11build: allow deno_runtime crate to build in docs.rs (#11602)Bartek Iwańczuk
2021-08-11mark cafile tests as flaky (#11649)Ryan Dahl
2021-08-11chore: move test files to testdata directory (#11601)David Sherret
2021-08-11Rename extensions/ directory to ext/ (#11643)Ryan Dahl
2021-08-11test: reenable cafile tests (#11615)Bartek Iwańczuk