[Bug 13095] setTimeout behavior seems to be undefined if ToString throws

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13095

--- Comment #2 from Boris Zbarsky <bzbarsky@mit.edu> 2011-06-30 07:23:04 UTC ---
More data here:

Gecko tries to do the ToString conversion _before_ adding anything to the
timeout list, and if ToString() throws will just throw from setTimeout.  But
that's not compatible with the spec's requirements on timer ordering (e.g. a
timer added from inside ToString() should per spec fire after the one that was
being added when ToString() was called, while in Gecko it will fire before).

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 30 June 2011 07:23:05 UTC