Chrome issues fixed

January 20th, 2010 | by bryan |

There were all sorts of updates that went out last night. One of which was a fix for the order of Folders on the News page on Chrome. All of the other major browsers keep the default order of an array in JavaScript based on insert order. It appears that the spec actually doesn’t specify that this is a requirement though and Chrome is the only browser that handles it in a different way. Here’s a post on Stack Overflow that explains exactly what was happening.

The fix was to do an explicit sorting of the data, this way it tells Chrome exactly how you want it. Google had originally said that this wasn’t a bug and that developers should just correct their code, but it appears that they might be back tracking on that.


Post a Comment