[Javascript] SAFARI javascript major problem

Peter-Paul Koch pp.koch at gmail.com
Thu Jul 10 17:28:09 CDT 2008


> I've just tried the error alert the old way
> function tellerror(msg, url, linenumber){alert('Error message= '+msg+'\nURL= '+url+'\nLine Number= '+linenumber)return true}window.onerror=tellerror

Safari does not support window.onerror. (Neither does Opera, BTW).

http://www.quirksmode.org/dom/events/error.html

> Nothing! Plain def...
> FX, IE majors are delivering alertbox with exact error line number etc
> (!?Opera is silent also).
> Does anybody know what's going on here?
> Are they trying to impose on us some new "standard" standards again
> and break once again everything achieved this far?

-- 
-------------------------------------------------------------------
ppk, freelance web developer
http://www.quirksmode.org/
------------------------------------------------------------------



More information about the Javascript mailing list