Wednesday, June 20th, 2007
Prototype Upgrade for Safari
<p>If you are using Prototype, you probably want to grab the latest 1.5.1.1 version which is a bug fix release:Previous versions of Prototype could trigger bugs in Safari’s regular expression engine when updating elements with HTML containing <script> tags or when using JSON functionality with built-in security checks. These regular expression engine bugs affect Safari versions 1.3 through 2.0.4, but not Safari 3 beta or the WebKit nightlies. We’ve managed to code around them to prevent either browser crashing while maintaining the full API, keeping the performance top-notch and assuring backwards-compatibility.
Related Content:











Nice post.
There is an obscure but nasty bug in Safari 3.0.1 beta for Windows involving replace() callback functions when your data contains dollar signs (“$”). If this is not fixed by final release, it’s something developers should be aware of. Reproduction code can be found in this comment on my blog: http://blog.stevenlevithan.com/javascript/commafy-numbers/#comment-104
Compressed versions of this release and the previous major releases are up at their usual location.
http://groups.google.com/group/prototype-core/files
Steven,
Has that bug been reported to Apple ?
@Tobie Langel
I’ve entered a ticket here: http://bugs.webkit.org/show_bug.cgi?id=14244
Steve: thanks for the link. Note that as the regexps we modified in Prototype don’t rely on replace callbacks, we should be safe regarding the bug you mention.