W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2011

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 30 Jun 2011 07:23:05 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QcBab-00052V-3M@jessica.w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:53 UTC