summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2021-08-25fix(ext/http): websocket upgrade header check (#11830)Dayan C. Galiazzi
2021-08-24fix(cli): dispatch unload event on watch drop (#11696)Casper Beyer
2021-08-24feat(ext/crypto): implement encrypt, decrypt & generateKey for RSA-OAEP (#11654)Divy Srivastava
2021-08-24feat(cli): add --ignore flag to test command (#11712)Casper Beyer
2021-08-24feat(extensions/console): right align numeric columns in table (#11748)Nicolas Stucki
2021-08-24feat(unstable): Add file locking APIs (#11746)Tilman Roeder
This commit adds following unstable APIs: - Deno.flock() - Deno.flockSync() - Deno.funlock() - Deno.funlockSync()
2021-08-24chore(ext/webgpu): update wgpu to 0.10.0 (#11781)Leo K
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-23fix(ext/ffi): don't panic on invalid enum values (#11815)Luca Casonato
Co-authored-by: Feng Yu <f3n67u@gmail.com>
2021-08-23fix(ext/http): resource leak on HttpConn.close() (#11805)Bartek Iwańczuk
This commit adds tracking of resources that are related to "HttpConn" so they can be closed automatically when closing the connection.
2021-08-21doc(test): add --location to unit test command (#11793)Feng Yu
2021-08-21tests: remove redundant type assertion (#11794)Feng Yu
2021-08-18test: re-enable test watch tests and mark as flaky (#11669)Casper Beyer
2021-08-18fix(runtime): event loop panics in classic workers (#11756)Luca Casonato
Classic worker scripts are now executed in the context of a Tokio runtime. This does mean we can not spawn more tokio runtimes in "op_worker_sync_fetch". We instead spawn a new thread there, that can create a new Tokio runtime that we can use to block the worker thread.
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-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-16chore(cli/tests): disable flaky test on macos ci (#11726)Ben Noordhuis
Refs #11580.
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(test): dispatch load event before tests are run (#11708)Casper Beyer
2021-08-14chore: move importKey tests to webcrypto_unit.ts (#11706)Divy Srivastava
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-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/http): remove unwrap() when HTTP conn errors (#11674)Bartek Iwańczuk
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-12fix(cli): allow specifiers of unknown media types with test command (#11652)Casper Beyer
2021-08-12test: mark run_watch test as flaky (#11668)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
2021-08-10fix: correct spelling of certificate in ↵David Sherret
`--unsafely-ignore-certificate-errors` warning message (#11634)
2021-08-10v1.13.0Bartek Iwańczuk
2021-08-10refactor: --unsafely-ignore-certificate-errors (#11629)Bartek Iwańczuk
2021-08-10feat: add new esnext types (#11627)Kitson Kelly
2021-08-10upgrade: rusty_v8 0.26.0 (#11625)Bartek Iwańczuk
2021-08-10feat(lsp): support clients which do not support disabled code actions (#11612)Kitson Kelly
Closes: #11610
2021-08-10feat: add experimental WebSocketStream API (#10365)Leo K
This commit adds the experimental WebSocketStream API when using the --unstable flag. The explainer for the API can be found here: https://github.com/ricea/websocketstream-explainer
2021-08-09feat: Add --unsafely-treat-insecure-origin-as-secure flag to disable SSL ↵TheAifam5
verification (#11324) This commit adds "--unsafely-treat-insecure-origin-as-secure" flag that allows to disable SSL verification for all domains, or specific domains if they were passed as an argument to the flag. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-08-09feat: support client certificates for connectTls (#11598)Ryan Dahl
Co-authored-by: Daniel Lamando <dan@danopia.net> Co-authored-by: Erik Price <github@erikprice.net>
2021-08-09fix(websocket): allow any close code for server (#11614)Leo K
2021-08-09feat(extensions/web): add structuredClone function (#11572)Leo K
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-07feat(tls): Optionally support loading native certs (#11491)Justin Chase
This commit adds "DENO_TLS_CA_STORE" env variable to support optionally loading certificates from the users local certificate store. This will allow them to successfully connect via tls with corporate and self signed certs provided they have them installed in their keystore. It also allows them to deal with revoked certs by simply updating their keystore without having to upgrade Deno. Currently supported values are "mozilla", "system" or empty value.
2021-08-06feat(repl): add --eval flag for evaluating code when the repl starts (#11590)David Sherret
2021-08-06feat: ffi to replace plugins (#11152)Elias Sjögreen
This commit removes implementation of "native plugins" and replaces it with FFI API. Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API.
2021-08-06revert: allow URL for permissions (#11600)Bartek Iwańczuk
Revert changes to "net" permissions in regards to handling URLs introduced in 15b0e61de.
2021-08-06feat: support AbortSignal in writeFile (#11568)Benjamin Gruenbaum
2021-08-06feat(repl): support exports in the REPL (#11592)David Sherret
2021-08-06feat(runtime): allow URL for permissions (#11578)Leo K