Wednesday, June 20th, 2007

Prototype Upgrade for Safari

Category: Prototype

If you are using Prototype, you probably want to grab the latest 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

3.4 rating from 29 votes


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:

Comment by Steven Levithan — June 20, 2007

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

Comment by jdalton — June 20, 2007


Has that bug been reported to Apple ?

Comment by Tobie Langel — June 20, 2007

@Tobie Langel
I’ve entered a ticket here:

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.