Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-22 | fix(ext/web): improve timers resolution for 0ms timeouts (#19212) | Bartek Iwańczuk | |
This commit changes the implementation of `ext/web` timers, by using "op_void_async_deferred" for timeouts of 0ms. 0ms timeout is meant to be run at the end of the event loop tick and currently Tokio timers that we use to back timeouts have at least 1ms resolution. That means that 0ms timeout actually take >1ms. This commit changes that and runs 0ms timeout at the end of the event loop tick. One consequence is that "unrefing" a 0ms timer will actually keep the event loop alive (which I believe actually makes sense, the test we had only worked because the timeout took more than 1ms). Ref https://github.com/denoland/deno/issues/19034 | |||
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-09-02 | fix(ext/timers): create primordial `eval` (#15110) | Garcia | |
2022-06-13 | Remove unstable Deno.sleepSync (#14719) | Ryan Dahl | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-03-20 | fix: actually don't inherit runtime permissions (#14024) | Luca Casonato | |
2022-03-14 | feat(ext/web): Add `AbortSignal.timeout()` (#13687) | Andreu Botella | |
2022-03-12 | refactor(core): validate promise id in refOp (#13905) | Yoshiya Hinosawa | |
2022-02-16 | feat(test): improved op sanitizer errors + traces (#13676) | Luca Casonato | |
This commit improves the error messages for the `deno test` async op sanitizer. It does this in two ways: - it uses handwritten error messages for each op that could be leaking - it includes traces showing where each op was started This "async op tracing" functionality is a new feature in deno_core. It likely has a significant performance impact, which is why it is only enabled in tests. | |||
2022-01-20 | chore: update copyright year (#13434) | Yoshiya Hinosawa | |
2021-12-09 | feat(ext/timers): add refTimer, unrefTimer API (#12953) | Yoshiya Hinosawa | |
2021-12-07 | refactor(timers): refactor timers to use one async op per timer (#12862) | Andreu Botella | |
This change also makes the timers implementation closer to the spec, and sets up the stage to implement AbortSignal.timeout() (whatwg/dom#1032). Fixes #8965 Fixes #10974 Fixes #11398 | |||
2021-11-23 | refactor: remove "unitTest" wrapper from cli/tests/unit (#12750) | Bartek Iwańczuk | |
2021-09-23 | test(cli): align unit test permissions with runtime test permissions (#12189) | Casper Beyer | |
2021-08-25 | chore(tests): improve unit tests using `deferred` (#11842) | David Sherret | |
2021-08-05 | refactor(cli/tests): remove unnecessary void return types (#11577) | Leo K | |
2021-06-25 | test(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-05-10 | chore: upgrade crates (#10559) | Bartek Iwańczuk | |
2021-04-12 | fix(runtime/js/timers): Use (0, eval) instead of eval() (#10103) | Nayeem Rahman | |
2021-04-09 | chore: upgrade dependencies (#10094) | Bartek Iwańczuk | |
This commit upgrades: - swc_ecmascript - swc_bundler - deno_doc - deno_lint - dprint-plugin-typescript | |||
2021-01-11 | chore: update copyright to 2021 (#9092) | Yusuke Tanaka | |
2021-01-06 | fix: stronger input checking for setTimeout; add function overload (#8957) | Anonymous | |
2020-11-26 | refactor(cli/tests): replace createResolvable with deferred (#8507) | crowlKats | |
2020-11-24 | feat(cli): update to TypeScript 4.1 (#7573) | Kitson Kelly | |
2020-10-15 | feat(cli/ops): add the sleep_sync op (#7974) | William Perron | |
2020-09-27 | feat(fmt): Sort named import and export specifiers (#7711) | David Sherret | |
2020-09-25 | refactor: clean timers tests (#7679) | Bartek Iwańczuk | |
2020-08-31 | fix no-inner-declaration lint rule (#7287) | Yusuke Tanaka | |
2020-08-24 | feat: update to TypeScript 4.0 (#6514) | Kitson Kelly | |
2020-07-14 | Use dprint for internal formatting (#6682) | David Sherret | |
2020-07-04 | Update timers to ignore Date Override (#6552) | Kyle June | |
2020-05-20 | move js unit tests to cli/tests (#5678) | Ryan Dahl | |