If something takes a DOMString as value is it clearly defined what happens if the toString algorithm throws or returns a non-DOMString? I haven't been able to find descriptions for that in the Web IDL specification. E.g.

  obj  = { toString:function() { throw("haha") } }
  obj2 = { toString:function() { return 1 } }
  obj3 = { toString:function() { return obj } }


--
Anne van Kesteren
http://annevankesteren.nl/

Reply via email to