IndexedDB, Milestone 8, ES5 Strict Mode and progress on Print Preview
Published on in Google Chrome, Last Week, tech, WebKit. Version: Chrome 8
Only three commits short of 700 in the past week, the Chromium Team has been quite active. The Chromium nightlies have been pushed up to version 8, just over seven weeks after version seven. WebKit received 485 commits, but there were some large changes among them like support for ECMAScript 5’s Strict Mode.
Well over two years after Eric Lake filed Issue 173, there is finally some visible progress on previewing a print in Chromium. When using the latest nightly, you should launch Chrome using the “--enable-print-preview” flag and browse to “chrome://print/” to see a (not working!) preview of the feature. Enabling the Cloud Printing Proxy for Windows may now be done through the Labs page and a lot of work on supporting the CSS Paged Media Modules has been completed already. The feature is currently scheduled for milestone 9, which may be as soon as six weeks from now.
Another large change is that support for IndexedDB has been enabled by default. IndexedDB is a specification originally proposed by Oracle, but currently is being edited by experts from Google, Mozilla and Microsoft as well. Especially the latter makes this interesting, because since Opera’s Charles McCathieNevile has been positive about IndexedDB as well, chances on getting an interoperable database system are looking good.
The Web Inspector team hasn’t been idle either, and although I haven’t said much about it in the past few weeks, there certainly are some exciting changes coming up. Some more fine-tuning was done on the Network panel, the Extension API now also exposes a document’s body. Setting breakpoints on specific events will become a possibility too! And did I mention remote debugging?
Many of these features are still disabled in the Chromium builds. If you’d like to play around with them, you will either have to build Chromium yourself or create yourself a WebKit build. In time these features will be enabled for all Chromium builds, something which surely will be announced on the Chromium Blog.
Also great news for the Safari users, as Oliver Hunt landed support for ECMAScript 5’s Strict Mode just a few hours ago. In a nutshell, strict mode will disable some really bad practices in your JavaScript code like eval() and the with-construct. These changes couldn’t be applied by default, considering ECMAScript 5 had to remain backwards-compatible with ECMAScript 3. Until today, Kangax’ compatibility page shows that BESEN was the only JavaScript engine to support it, although Mozilla is actively working on supporting it.
Other changes this week include:
- Support for <a ping> is now enabled by default. You may use “--no-pings” to disable it.
- Background WebApps may now be enabled via the about:labs page.
- A list of Kernel extensions has been added to “chrome://net-internals/” on Mac systems.
- DirectX Diagnostics have been added to the “about:gpu” page on Windows systems.
- The new page info-bubble has been enabled by default for all platforms.
- The “unlimitedStorage” permission has been made available for the FileSystem API.
- A new strategy for default Applications has been rolled out, looks really interesting.
- Spatial navigation is now available for <input type=radio> elements as well.
- Enabling speech input has to be done using <input x-webkit-speech> now.
- Chromium’s Image Layer has been updated with support for mipmapping.
- A quota mechanism has been added to the IndexedDB implementation.
- CSS set in closing-tags would be applied to the element itself, this has been fixed.
- In their effort to pass the CSS 2.1 test-suite as soon as possible, a quick bug-fix was committed.
- Support for the HTML5 <progress> element landed for the EFL port!
- WebKit’s Application Cache selection algorithm has been updated to match the specification.
- A bunch of interesting changes related to improving support for SVG Filters.
Finally I just want to note down that I really don’t think recordings like these are going to make me popular, even though Christian Heilmann obviously thinks otherwise. A big thank you to the organization of Fronteers 2010, all the speakers, and of course all the visitors. The conference has been really great, cheers for that!