timer,domain: maintain order of timers upon uncaught exception
Checklist
-
make -j4 test
(UNIX) -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
timer, domain, tests
Description of change
The issue in https://github.com/nodejs/node/issues/1271 shows that the callback for timers do not get called in the order they were created if the domain handles an "uncaught exception"