Firefox 31 released: Find out what is new
Mozilla will release updates for Firefox on all channels and platforms later today that increase the version of the browser by one.
This means that stable users of the browser will get updated to version 31 automatically, while beta, aurora and nightly users are moved to Firefox 32, 33 and 34 respectively.
The update has not been released at the time of writing, but several third-party download sites and Mozilla's official FTP server are already listing it.
It is however recommended to wait until the update is officially released by Mozilla as last minute changes may make the non-profit organization pull what you have downloaded.
You can find out which version of Firefox you are running by loading about:support in the browser. There you find the version value listed under Application Basics.
Check out our download guide for Firefox if you need assistance with that.
Executive Summary
Feature-wise, Firefox 31 is a minor update just like Firefox 30 was. Below are the most important changes in this release:
- A search field has been added to the New Tab Page.
- Several under the hood changes such as a new default certificate verifier or generational garbage collection.
- Ogg and pdf files are handled by Firefox by default if no handler is specified on Windows.
- Implementation of CSS3 variables and WebVTT.
Firefox 31 Changes
The browser.tabs.closeButtons preference has been removed
Firefox supported several placements for close buttons on the tab bar of the browser. The default setting displayed close buttons next to each tab but you could modify the browser.tabs.closeButtons preference to modify that so that the close button was only displayed on the active tab, at the end of the tab bar, or not at all.
This preference is no longer functional and Mozilla suggests to users to use add-ons instead to change the tab closing behavior.
If you have modified it in the past, you will notice that Firefox has modified it automatically to the default again (which is one close button for each tab).
Add-ons such as Classic Theme Restorer provide you with the means to change that behavior.
Additional information about the change are available here.
Search Field on New Tab Page
One of the few changes in Firefox 31 that users will notice. Mozilla has added a new search field to the browser's New Tab Page that is displayed directly above the thumbnail grid.
The default search engine of the browser is used for this, and searches conducted here are loaded in the same tab.
There is no built-in option to turn it off. The next best thing you can do is install an add-on such as New Tab Tools that comes without a search option.
New default certificate verifier
Mozilla has developed the new certificate verification library mozilla::pkix! which replaces NSS in Firefox 31.The new implementation offers several advantages over the old:
- The code is more maintainable as it has been reduced to less than 5000 lines of code compared to NSS' more than 81,000.
- The new code handles cross-signed certificates better.
Additional details about that decision can be found on the Mozilla Security blog. Mozilla did make changes to policies as well which you find listed here.
Generational Garbage Collection
This is another under the hood change that most users may not notice at all. The implementation improves performance of Firefox, at least in some benchmarks.
Compacting Garbage Collection is the next big project in this regard. Mozilla hopes that it will reduce memory use significantly when it lands.
Ogg and PDF files handling on Windows
If no program is associated with ogg or pdf files on Windows, Firefox will handle these types of files directly. Firefox will use its internal pdf reader and the HTML5 media player for ogg files if that is the case.
WebVTT implemented
WebVTT is a text-based format that can be used to display text tracks using the <text> element. Its primary use is the display of subtitles when <video> elements are loaded.
Instructions on how to use WebVTT have been posted on the Mozilla Developer website. You can check out a sample HTML5 video that uses WebVTT here.
Other changes
- Safe Preference Header integrated
- Downloaded files checked against a local database
- OdinMonkey: Use backtracking allocator for asmjs style code [bug 983580]
- OpenType Math table partially implemented. See Mozilla Wiki and the MathML Torture Test for details.
- Removal of the CAPS infrastructure for specifying site-specific permissions [bug 913734]
Developer changes
- CSS3 Variables have been implemented. [MDN article on CSS variables]
- Add-on Debugger is a new Developer Tool. [MDN article on the Add-on Debugger]
- Canvas Debugger is a new Developer Tool. [Mozilla Hacks article on the Canvas Debugger]
- New Array built-in: Array.prototype.fill() - The
fill()
method fills all the elements of an array from a start index to an end index with a static value. - [MDN article on Array.prototype.fill()] - New Object built-in: Object.setPrototypeOf() - The
Object.setPrototype()
method sets the prototype (i.e., the internal[[Prototype]]
property ) of a specified object to another object ornull
. - [MDN article on Object.setPrototypeOf()] - CSP 1.1 nonce-source and hash-source enabled by default
- Eyedropper tool added to color picker in Developer Tools. Launch it via Alt > Tools > Web Developer > Eyedropper. A right-click copies the value of the color to the clipboard. [MDN article on the Eyedropper tool]
- Editable Box Model. When you are using the Inspector, the box model view is displayed as well. You can now edit values in the box model view directly to change it on the page you are on.
- Code Editor improvements. You can use Sublime Text key bindings by assigning "sublime" to the devtools.editor.keymap setting in about:config.
- Console Stack Traces. [Mozilla Developer article]
- Copy as cURL. This copies the network request to the clipboard using the cURL command.
- Styled console logs. Starting in Firefox 31, you can use the
"%c"
format specifier to style console messages. - navigator.sendBeacon enabled by default. [MDN article].
- Dialogs spawned from the onbeforeunload event no longer block access to the rest of the browser.
Unresolved issues
- Slow shut downs lead to 'Firefox is already running' warning (see 966469 and 985655)
- Mac OS X and Windows: Citrix Receiver no longer works. As a workaround, mark the plugin as Always Enable in the addon manager (1025627)
- GNU/Linux and Windows XP: Google Maps Street View displays a black screen (1034593)
- Mac OS X: cmd-L no longer opens a new window when no window is available (1008793)
Firefox 31 for Android
Existing Panels on about:home can now be reordered
A panel displays information when you open a new tab page or the about:home page in Firefox on Android.Default panels that Firefox ships with display the history, top sites, bookmarks, and the reading list.
While it was possible previously to enable or disable panels, there was not yet an option to reorder them. This has changed now:
- Tap on the menu icon in the top right corner of the screen and select Settings from it.
- Select Customize on the settings page and on the next page Home.
- Long-tap on any panel installed here and select change order from the context menu that is displayed when you remove your finger.
- You can then use the move up or move down option to change its location.
Other mobile changes
- Pull-to-refresh on synced tabs page. [bug 850600]
- Locales added: Assamese [as], Bengali [bn-IN], Gujarati [gu-IN], Hindi [hi-IN], Kannada [kn], Maithili [mai], Malayalam [ml], Marathi [mr], Oriya [or], Panjabi [pa-IN], Tamil [ta], Telugu [te]
- Most features of the desktop version are integrated as well.
Security updates / fixes
The security updates are
Additional information / sources