On Thu, Jul 10, 2008 at 6:28 PM, Peter-Paul Koch <pp.koch at gmail.com> wrote: > Safari does not support window.onerror. (Neither does Opera, BTW). > > http://www.quirksmode.org/dom/events/error.html I didn't know there was such a method. I usually wrap code in try..catch if I am unsure what might go wrong. (I also usually try to anticipate and prevent those runtime errors I can predict, so the catch() block is really only a safety net for the unexpected and non-standard.)