summaryrefslogtreecommitdiff
path: root/cli/tests/unit
AgeCommit message (Collapse)Author
2021-07-12chore(runtime): deprecate `Deno.copy` (#11369)Luca Casonato
2021-07-12feat(extensions/crypto): implement verify() for RSA (#11312)Divy Srivastava
2021-07-08fix: inspecting prototypes of built-ins with custom inspect implementations ↵David Sherret
should not throw (#11308)
2021-07-08feat(runtime/http): server side websocket support (#10359)Leo K
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-07-07fix(extensions/console): left align table entries (#11295)Divy Srivastava
2021-07-07fix(crypto): hash input for RSASSA-PKCS1-v1_5 before signing (#11314)Divy Srivastava
2021-07-06feat(crypto): implement generateKey() and sign() (#9614)Divy Srivastava
Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-07-05chore: upgrade crates (#11284)Bartek Iwańczuk
2021-07-05refactor: asynchronous blob backing store (#10969)Jimmy Wärting
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-07-05fix: spec conformance for performance API (#10887)Leo K
2021-07-05fix(fetch): OPTIONS should be allowed a non-null body (#11242)Craig Morten
2021-07-03feat: enable WebAssembly.instantiateStreaming and wasm async compilation ↵Andreu Botella
(#11200) The WebAssembly streaming APIs used to be enabled, but used to take buffer sources as their first argument (see #6154 and #7259). This change re-enables them, requiring a Promise<Response> instead, as well as enabling asynchronous compilation of WebAssembly modules.
2021-06-30fix: panic in request body streaming (#11191)Luca Casonato
2021-06-28fix(http): remove unwrap() in HTTP bindings (#11130)Bartek Iwańczuk
2021-06-27fix(runtime/http): Encode and decode headers as byte strings in the HTTP ↵Andreu Botella
server (#11144)
2021-06-27feat(inspector): pipe console messages between terminal and inspector (#11134)Bartek Iwańczuk
This commit adds support for piping console messages to inspector. This is done by "wrapping" Deno's console implementation with default console provided by V8 by the means of "Deno.core.callConsole" binding. Effectively each call to "console.*" methods calls a method on Deno's console and V8's console.
2021-06-26fix: MessagePort in message for postMessage transfers (#11103)Luca Casonato
2021-06-26fix: specify AbortSignal for native http requests (#11126)Luca Casonato
2021-06-25chore(ext/console): deprecate Deno.customInspect (#10035)Yoshiya Hinosawa
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-06-25fix(runtime/signal): use op_async_unref for op_signal_poll (#11097)Yoshiya Hinosawa
2021-06-25test(cli): refactor the usages of delay (#11098)Yoshiya Hinosawa
This PR refactors the usages of delay utility in js unit testing. The same utiliy is defined in several places with different names. This PR replaces those usages with the one provided in std/async/delay.ts to improve the readability and consistency of test code.
2021-06-24fix: make readonly `Event` properties readonly (#11106)David Sherret
2021-06-24fix(inspect): eliminate panic inspecting event classes (#10979)David Sherret
2021-06-22feat(core): support AbortSignal in readFile (#10943)Benjamin Gruenbaum
2021-06-22fix(runtime): fix signal promise API (#11069)Yoshiya Hinosawa
2021-06-22fix(extensions/fetch): Filter out custom HOST headers (#11020)Vladimir Ivanov
This commit updates "fetch" API to ignore custom "Host" headers and return value provided by "reqwest".
2021-06-22feat: Deno namespace configurable and unfrozen (#11062)Kitson Kelly
Closes #11033
2021-06-21feat: `MessageChannel` and `MessagePort` (#11051)Luca Casonato
This commit introduces support for MessageChannel and MessagePort. MessagePorts can be transfered across other MessagePorts.
2021-06-15fix(inspector): Deno.inspect should inspect the object the proxy represents ↵David Sherret
rather than the target of the proxy (#10977)
2021-06-14fix: poll connection after writing response chunk in Deno.serveHttp() (#10961)Bartek Iwańczuk
This commit changes "op_http_response_write" to first send response chunk and then poll the underlying HTTP connection. Previously after writing a chunk of response HTTP connection wasn't polled and thus data wasn't written to the socket until after next op interacting with the connection.
2021-06-14fix: hang in Deno.serveHttp() (#10923)Bartek Iwańczuk
Waiting on next request in Deno.serveHttp() API hanged when responses were using ReadableStream. This was caused by op_http_request_next op that was never woken after response was fully written. This commit adds waker field to DenoService which is called after response is finished.
2021-06-04fix: hang in op_http_next_request (#10836)Bartek Iwańczuk
This commit adds "CancelHandle" to "ConnResource" and changes "op_http_next_request" to await for the cancel signal. In turn when async iterating over "Deno.HttpConn" the iterator breaks upon closing of the resource.
2021-06-03feat(runtime): support URL overloads for `Deno.symlink` and ↵Casper Beyer
`Deno.symlinkSync` (#10664)
2021-06-03feat(runtime): support URL overloads for Deno.rename/Deno.renameSync (#10512)Casper Beyer
2021-06-01feat: add FsWatcher interface (#10798)Yoshiya Hinosawa
2021-05-31feat(cli): support URL overloads for `Deno.utime` and `Deno.utimeSync` (#10792)Casper Beyer
2021-05-28feat(cli): upgrade to TypeScript 4.3 (#9960)Kitson Kelly
2021-05-26fix(fetch): make prototype properties writable (#10769)Luca Casonato
2021-05-25fix(extension/file): update File constructor following the spec (#10760)Yoshiya Hinosawa
2021-05-23feat(extensions): BroadcastChannel WPT conformanceBen Noordhuis
Replaces the file-backed provider by an in-memory one because proper file locking is a hard problem that detracts from the proof of concept. Teach the WPT runner how to extract tests from .html files because all the relevant tests in test_util/wpt/webmessaging/broadcastchannel are inside basics.html and interface.html.
2021-05-21fix(runtime/http): fix empty blob response (#10689)Yoshiya Hinosawa
2021-05-19fix(runtime/http): expose nextRequest() errors in respondWith() (#10384)Nayeem Rahman
2021-05-18chore: update deno_lint binary used in CI to v0.5.0 (#10652)Yusuke Tanaka
2021-05-17feat(runtime): support urls for `Deno.realPath` and `Deno.realPathSync` (#10626)Casper Beyer
2021-05-11fix(tls): flush send buffer in the background after closing TLS stream (#10146)Bert Belder
In #9118, TLS streams were split into a "read half" and a "write half" using tokio::io::split() to allow concurrent Conn#read() and Conn#write() calls without one blocking the other. However, this introduced a bug: outgoing data gets discarded when the TLS stream is gracefully closed, because the read half is closed too early, before all TLS control data has been received. Fixes: #9692 Fixes: #10049 Fixes: #10296 Fixes: denoland/deno_std#750
2021-05-10chore: upgrade crates (#10559)Bartek Iwańczuk
2021-05-08fix: TextEncoder#encodeInto spec compliance + perf gains (#10129)Thiago Padilha
2021-05-06refactor(ops): replace `ZeroCopyBuf` arg by 2nd generic deserializable arg ↵Aaron O'Mullan
(#10448)
2021-05-06chore: update wgpu and realign to spec (#9760)Luca Casonato
2021-05-03fix(op_crates/fetch): check fetch() argument length (#10474)Anonymous