joyent/node — pull request #2644 by bjornstar (2012-01-30 22:47:03+00:00)
Title: Test for issue #2515, clearTimeout appears to clear timers it shouldn't

Created test for issue #2515 where clearTimeout is clearing timers other than the one specified.

Also created a test to ensure minimum timer ticks are being met. Currently the expectation is at least one timer tick per 4ms. This test case will pass in Firefox v9.0.1, Opera v11.61, Safari v5.1.2, and Chrome v16.0.912.77 on windows.

This test currently fails on Linux for clearing timers it should not be.

This test currently fails on Windows, with only one timer tick per 7.8ms.

If you want me to split this into two commits, please let me know.