WebKit's week - #8
jeudi 23 avril 2009
After four months without news, I'll try to be more regular. Let's hope my new organisation will help.
Changes of the week
Everything mentioned below should work with the latest nightly available at the moment (42662).
6 parallel connections (42457, 42559)
With this commit, WebKit can now use 6 parallel connections per domain, previously 4. The number of parallel connections is important to download as fast as possible the resources of a web page. WebKit is now behaving like latest versions of IE, Firefox or Chrome. Opera uses 8 connections per domain. To test this, you'll have to wait for a future version of the CFNetwork library.
function.displayName (42478)
You can create anonymous function in JavaScript. They are very useful but the drawback is they also appear anonymous in the profiler. This make the interpretation of the results pretty hard. Now, you can give a name to those functions and it will be used in the profiler.
Yarr! (42481)
Yarr! (Yet Another Regex Runtime) is, as it suggests, a new Regex Runtime. It is disabled by default for some reasons like being incomplete at the moment but said to be faster than the old one. Hoperfully, we'll have more news when he'll be live.
XMLHttpRequest withCredentials (42483)
This is a new feature from the XMLHttpRequest Level 2 spec. With the withCredentials attribute, you can define whether or not you wanna send the cookies and HTTP authentication data when using a cross domain XHR. Like the number of parallel connections, we need a new version of CFNetwork to test this.
Array.reduce and Array.reduceRight (42563, 42570)
These are two new methods define by ECMAScript 5. You are invited to read the documentation on the Mozilla developer center.
SQL is read only with private browsing (42616)
When using the private browsing mode (aka porn mode), the web database is no longer writeable. Inserts, updates, deletes are no longer available. This way, the website can't record stuff while in a private session.
Implementation of the played attribute (42619)
The new video element has a played attribute which give info about what part of the video has been played. You got access to a TimeRanges object.
This is everything for this week. Of course, this is just a selection I've made. If you've noticed any other interesting changes, please let me know. Same thing if I got something wrong.