Safari crashes if you eval() a "really long string"
I'm doing some playing around with AJAXian goodness and was cooking up a really easy way to make the 23hq photo widget on my home page a bit more web2.0. I was cheating, really, by slurping up the javascript url 23hq provide that creates a js array of all your photo id's and associated metadata.
When you use the evalScript: option in the Ajax.Updater class ofprototype, all that is really happening is that eval() is getting called on the content returned by the http get. In Firefox that was working fine. In Safari it was crashing. I eventually discovered that in Safari it worked fine, as long as I only had a few photos in the javascript source (about 50 lines of js code). As soon as it was much more than that, Safari crashed.
Something to keep in mind.
So I guess I have to do it the proper way and use the REST api at 23hq.
06:37 PM, 03 May 2006 by Mark Aufflick Permalink