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

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

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

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}