迷渡
590463bd4a
setTimeout's params should not be bigint ( #2834 )
2019-08-29 10:57:09 -04:00
迷渡
ac98bd8a7c
fix timer's params length ( #2655 )
2019-07-18 06:09:32 -04:00
迷渡
d5e80ad677
fix clearTimeout.name / clearInterval.name ( #2540 )
2019-06-18 06:24:20 -07:00
迷渡
9ad5b0653e
clearTimeout should convert to number ( #2539 )
2019-06-17 10:42:20 -07:00
迷渡
42d1024cd9
forbidden to set this
for setTimeout ( #2511 )
2019-06-13 08:08:27 -07:00
justjavac
cb58162052
set setTimeout callback's this to window object
2019-06-11 10:09:33 -04:00
Ryan Dahl
9dfebbc949
Fix eslint warnings ( #2151 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
2019-04-21 16:40:10 -04:00
Ryan Dahl
8ba6e4fa13
Fix flaky tests ( #2164 )
2019-04-21 14:06:57 -04:00
Ryan Dahl
1a69df4a05
Fix flaky tests ( #2139 )
2019-04-17 13:02:32 -04:00
Kitson Kelly
034e2cc028
Migrate from tslint to eslint for linting ( #1905 )
2019-03-09 12:30:38 -05:00
Ryan Dahl
c42a9d7370
Upgrade deno_std ( #1892 )
...
A major API change was that asserts are imported from testing/asserts.ts
now rather than testing/mod.ts and assertEqual as renamed to
assertEquals to conform to what is most common in JavaScript.
2019-03-06 20:48:46 -05:00
bokuweb
aaaa35548e
timers: use int instead of double for timeout type ( #1469 )
2019-01-26 22:10:38 +01:00
Yoshiya Hinosawa
77114fbda4
chore: update license lines ( #1557 )
2019-01-21 13:03:30 -06:00
Li Hao
951e5def98
timers: align unit tests with others
2018-10-11 13:21:25 -04:00
Bert Belder
5b66f28fa3
timers: add test for clearTimer bug #942
2018-10-08 19:54:32 +02:00
Chris Bystrek
6a649012bc
Changed tools/lint.py to lint the entire js and tests directories. ( #900 )
...
* Changed tools/lint.py to lint the entire js and tests directorys and sub directories, currently it was pointing at tsconfig and would only lint files that were part of js/main.ts or node_modules/typescript/lib/lib.esnext.d.ts and their dependencies
* Broke the typescript linting out into separate steps for the main typescript programing and tests.
* Fixed linting issues in ts tests.
2018-10-05 07:29:55 -04:00
Andy Hayden
47508c7207
Update timer test to use #497 test case
...
This behavior was fixed by #885 .
2018-10-03 16:05:00 -07:00
Li Hao
99e2c42d16
timers: add some more unit tests
...
Closes #682 .
2018-10-03 13:27:59 -07:00
Bert Belder
aa691ea26c
timers: implement timers in javascript
2018-10-03 13:27:55 -07:00
Ryan Dahl
b088b58f76
Add SetGlobalTimeout().
...
To be used for a timers implementation soon.
2018-09-25 17:02:49 -04:00
Kevin (Kun) "Kassimo" Qian
b0958073ba
Remove remove_timer asserts ( #760 )
...
* Remove remove_timer asserts
* Add clearTimeout invalid id no-panic test
* Move timer test to its file AND some lint side-effects
2018-09-16 13:35:16 -07:00