Wednesday, June 20th, 2007

Prototype Upgrade for Safari

Category: Prototype

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.

Posted by Dion Almaer at 8:53 am
6 Comments

+++--
3.4 rating from 29 votes

6 Comments »

Comments feed TrackBack URI

Nice post.

Comment by Eduo — June 20, 2007

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

Comment by Steven Levithan — June 20, 2007

Compressed versions of this release and the previous major releases are up at their usual location.

http://groups.google.com/group/prototype-core/files

Comment by jdalton — June 20, 2007

Steven,

Has that bug been reported to Apple ?

Comment by Tobie Langel — June 20, 2007

@Tobie Langel
I’ve entered a ticket here: http://bugs.webkit.org/show_bug.cgi?id=14244

Comment by Steve — June 20, 2007

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.

Comment by Tobie Langel — June 20, 2007

Leave a comment

You must be logged in to post a comment.