[Javascript] SAFARI javascript major problem

Mike Dougherty mdougherty at pbp.com
Thu Jul 10 20:08:37 CDT 2008


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.)



More information about the Javascript mailing list