[Javascript] SAFARI javascript major problem

Troy III Ajnej trojani2000 at hotmail.com
Fri Jul 11 08:08:33 CDT 2008


> Safari does not support window.onerror. (Neither does Opera, BTW).
 
That's pretty modern I'd say.They're calling themselves -"Modern Browsers". I wonder though:
 
-What is so "modern" about deliberately devolving Internet and 
delivering almost mutilated applications to the clients?
 
But let me first salute you. It has been a long time. It's an honor 
to read from you once again in Latech, or (is it) ListEvolt now.
 
My original problem, however, was not alerting JavaScript errors. 
It was in relation to "stylesheets collection" and manipulation, where 
Safari doesn't seem to follow, I can't figure out. 
 
While trying to deal with it - just prior to posting this letter - I 
encountered another problem. That is: Any error on a script body 
will cause a failure to all the rest. It's as if the "script element" is 
being treated as a single function.
 
Its interesting thing to mention that Safari is, ( who knows why )
secretly supporting IE syntax "document.styleSheets[index].rules",
but it's insignificant because it doesn't follow in other aspects.
 
I will try to post some testing code that might help drawing some 
conclusions about these Safari problems.
 
(It will take some time to clean/write and organize, but I'll be back 
soon)
 
Until than, my best regards to all.
 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      Troy III
                        progressive art enterprise
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



> Date: Fri, 11 Jul 2008 00:28:09 +0200> From: pp.koch at gmail.com> To: javascript at lists.evolt.org> Subject: Re: [Javascript] SAFARI javascript major problem> > > 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/> ------------------------------------------------------------------> _______________________________________________> Javascript mailing list> Javascript at lists.evolt.org> http://lists.evolt.org/mailman/listinfo/javascript
_________________________________________________________________
The i’m Talkaton. Can 30-days of conversation change the world?
http://www.imtalkathon.com/?source=EML_WLH_Talkathon_ChangeWorld


More information about the Javascript mailing list