summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2021-01-18fix: redirect in --location relative fetch (#9150)Luca Casonato
2021-01-18fix(op_crate/fetch): add back ReadableStream.getIterator and deprecate (#9146)Kitson Kelly
2021-01-18fix(cli): Check permissions for Deno.emit() (#9139)Nayeem Rahman
2021-01-17tests(wpt): enable working wasm tests (#9072)Vishal Pratap Singh
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-16upgrade: dlint in third_party/ (#9134)Bartek Iwańczuk
2021-01-15refactor(op_crate/fetch): align streams to spec (#9103)Kitson Kelly
Fixes #8814
2021-01-14fix: don't swallow customInspect exceptions (#9095)Steven Guerrero
2021-01-14refactor: make Process#kill() throw sensible errors on Windows (#9111)Bert Belder
Previously, calling `Process#kill()` after the process had exited would sometimes throw a `TypeError` on Windows. After this patch, it will throw `NotFound` instead, just like other platforms. This patch also fixes flakiness of the `runKillAfterStatus` test on Windows.
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
2021-01-13build: disable cafile_* tests and use slow runners (#9089)Luca Casonato
2021-01-12tests: disable logging of 'ok' web platform tests (#9087)Luca Casonato
2021-01-12tests: enable .worker.js tests (#9065)Yacine Hmito
2021-01-12fix(cli): dispatch unload on exit (#9088)Yoshiya Hinosawa
2021-01-11fix(watcher): keep working even when imported file has invalid syntax (#9091)Yusuke Tanaka
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-11upgrade: swc_bundler 0.19.2 (#9085)Bartek Iwańczuk
2021-01-11fix(op_crate/web): fix atob to throw spec aligned DOMException (#8798)gorogoroumaru
2021-01-10feat(fetch): req streaming + 0-copy resp streaming (#9036)Luca Casonato
* feat(fetch): req streaming + 0-copy resp streaming * lint * lint * fix test * rm test.js * explicitly use CancelHandle::default() * Apply review suggestions Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> * fix test * Merge remote-tracking branch 'origin/master' into fetch_real_streaming * fix test * retrigger ci Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2021-01-10tests(wpt/console): Enables web platform tests for console (#9013)Tarik Eshaq
2021-01-10Test crypto.getRandomValues() with wpt (#9016)Yacine Hmito
2021-01-09fix: don't error on version and help flag (#9064)Luca Casonato
2021-01-09tests: enable WPT for timers (#9047)Casper Beyer
2021-01-09fix(web): implement DOMException#code (#9015)Yacine Hmito
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-01-08fix: Worker hangs when posting "undefined" as message (#8920)yonatan ben avraham
This commit fixes hang in web workers occuring when sending "undefined" as message value. It is a temporary band-aid until proper structured close is implemented. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-08feat: denort binary (#9041)Luca Casonato
This commit adds new binary target called "denort". It is a "lite" version of "deno" binary that can only execute code embedded inside the binary itself. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-07feat: add --location=<href> and globalThis.location (#7369)Nayeem Rahman
2021-01-07 ignore "use asm" (#9019)Anonymous
Preventing V8 from logging erroneous line numbers. Use wasm.
2021-01-07fix(coverage): report partial lines as uncovered (#9033)Casper Beyer
2021-01-07fix: Use "none" instead of false to sandbox Workers (#9034)Nayeem Rahman
2021-01-07Remove emoji from welcome script so it looks better on windows (#9031)Ryan Dahl
2021-01-06feat: Add configurable permissions for Workers (#8215)Steven Guerrero
This commit adds new option to "Worker" Web API that allows to configure permissions. New "Worker.deno.permissions" option can be used to define limited permissions to the worker thread by either: - inherit set of parent thread permissions - use limited subset of parent thread permissions - revoke all permissions (full sandbox) In order to achieve this functionality "CliModuleLoader" was modified to accept "initial permissions", which are used for top module loading (ie. uses parent thread permission set to load top level module of a worker).
2021-01-06refactor: move WebSocket API to an op_crate (#9026)Luca Casonato
2021-01-06fix: stronger input checking for setTimeout; add function overload (#8957)Anonymous
2021-01-06feat(cli): support data urls (#8866)Kitson Kelly
Closes: #5059 Co-authored-by: Valentin Anger <syrupthinker@gryphno.de>
2021-01-06fix: align performance API to spec using WPT (#9012)Luca Casonato
2021-01-06fix: use inline source maps when present in js (#8995)Luca Casonato
2021-01-05upgrade: deno_doc, deno_lint, dprint, swc_ecmascript, swc_bundler (#9003)Bartek Iwańczuk
2021-01-05fix: align AbortSignal to spec using WPT (#9007)Luca Casonato
2021-01-05fix: align encoding APIs to spec using WPT (#9004)Luca Casonato
2021-01-05tests: add web platform test runner (#8990)Luca Casonato
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-01-05feat(cli/standalone): support runtime flags for deno compile (#8738)Nayeem Rahman
2021-01-04fix(coverage): merge duplicate reports (#8942)Casper Beyer
Merging multiple runs isn't quite right because we rely on a 0 count to signal that a block hasn't been called. Other tools like c8 expect this to be true as-well so we need to do our best to merge coverage files rather than duplicating them.
2021-01-04BREAKING(unstable): remove CreateHttpClientOptions.caFile (#8928)Mo
2021-01-04docs: meta updates to cli/tests/unit/README.md (#8969)Satya Rohith
2021-01-04fix(inspector): kill child process after test (#8986)Ben Noordhuis
The child process kept running and printing "hello" to stdout. This commit also removes the dependency on reqwest and instead switches to the re-export from the fetch crate. Brings back commit 1a2e7741c33490d2a91147966019853c6b1d6a48.
2021-01-04chore: disable flaky test on Windows (#8987)Bartek Iwańczuk
2021-01-04Revert "fix(inspector): add back list endpoint (#8894)" (#8977)Luca Casonato
This reverts commit 1a2e7741c33490d2a91147966019853c6b1d6a48.
2021-01-03fix(inspector): add back list endpoint (#8894)Liam Perlaki
This commit adds back "/json/list" endpoint to inspector server which was erroneously removed during server rewrite. Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>