Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Firefox 6: new features for developers

DZone's Guide to

Firefox 6: new features for developers

· Web Dev Zone
Free Resource

Learn how to build modern digital experience apps with Crafter CMS. Download this eBook now. Brought to you in partnership with Crafter Software

A post on the Mozilla Hacks blog details what’s new for developers in Aurora 6 (pre-beta Firefox 6). The following is a summary of its contents:

  • Progress bars via the <progress> HTML element, with a look that is native to the host operating system.
  • window.matchMedia(): allows you to programmatically execute CSS Media Queries. For example, you can check the orientation of a device and act differently in landscape and in portrait orientation.
  • Improved handling of binary data: Read binary data via an XMLHttpRequest or from a file; concatenate binary data and text and produce binary data.
  • WebSockets are supported (again).
  • Server-Sent Events allow servers to push messages to clients. It is one-directional and thus much more limited than bidirectional mechanisms such as WebSockets. But it makes provisions for mobile devices where a proxy in a network can handle messages when a device is asleep or offline and then convert a server-sent event to a true push message.

 

From http://www.2ality.com/2011/06/firefox-6-dev.html

Crafter is a modern CMS platform for building modern websites and content-rich digital experiences. Download this eBook now. Brought to you in partnership with Crafter Software.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}