---
title: Firefox 32 for developers
slug: Mozilla/Firefox/Releases/32
tags:
- NeedsTranslation
- TopicStub
translation_of: Mozilla/Firefox/Releases/32
---
{{FirefoxSidebar}}
Changes for Web developers
Highlights:
All devtools bugs fixed between Firefox 31 and Firefox 32.
CSS
- Enabled {{cssxref("mix-blend-mode")}} by default ({{Bug(952643)}}).
- Enabled
position:sticky
by default in release builds (only enabled on Nightly and Aurora before) ({{Bug(916315)}}).
- Implemented {{cssxref("box-decoration-break")}} and removed the non-standard {{cssxref("-moz-background-inline-policy")}}({{Bug(613659)}}).
- Allowed {{cssxref("flex-grow")}} and {{cssxref("flex-shrink")}} to transition between zero and nonzero values ({{Bug(996945)}}).
HTML
- Experimentally implemented, behind a pref, {{HTMLElement("img")}} {{HTMLattrxref("srcset", "img")}} property, To activate it set
dom.image.srcset.enable
to true
({{Bug(870021)}}).
- id and class are now true global attributes and also apply to XML elements, in a namespace or not ({{bug(741295)}}).
JavaScript
- The following new ECMAScript 6 built-in methods got implemented:
- {{jsxref("Array.from()")}} ({{bug(904723)}}),
- {{jsxref("Array.prototype.copyWithin()")}} ({{bug(934423)}}),
- {{jsxref("Number.isSafeInteger()")}} ({{bug(1003764)}}).
Interfaces/APIs/DOM
- The {{domxref("NavigatorLanguage.languages", "navigator.languages")}} property and {{event("languagechange")}} event have been implemented ({{Bug(889335)}}).
- The {{domxref("Navigator.vibrate()")}} method behavior has been adapted to the latest specification: too long vibrations are now truncated ({{bug(1014581)}}).
- The {{domxref("KeyboardEvent.getModifierState()")}} and {{domxref("MouseEvent.getModifierState()")}} methods have been extended to support the
Accel
virtual modifier ({{Bug(1009388)}}).
- The {{domxref("KeyboardEvent.code")}} property have been experimentally implemented: it is disabled on release build ({{Bug(865649)}}).
- Scoped selectors for {{domxref("Document.querySelector()")}} and {{domxref("Document.querySelectorAll()")}}, for example
querySelector(":scope > li")
have been implemented ({{Bug(528456)}}).
- The experimental implementation of the {{domxref("Document.timeline")}} interface, related to the Web Animation API, has been added ({{bug("998246")}}). It is controlled by
layout.web-animations.api.enabled
preference, enabled only on Nightly and Aurora for the moment.
- The Data Store API has been made available to Web Workers ({{bug("949325")}}). It still is only activated for certified applications.
- The ServiceWorker {{domxref("InstallPhaseEvent")}} and {{domxref("InstallEvent")}} interfaces have been implemented ({{ Bug("967264") }}).
- The MSISDN Verification API, only activated for privileged apps, has been added ({{ Bug("988469") }}).
- The Gamepad API is now supported on Firefox for Android ({{bug(852935)}}).
- To match the spec and the evolution of the CSS syntax, minor changes have been done to {{domxref("CSS.escape()")}}. The identifier now can begins with
'--'
and the second dash must not be escaped. Also vendor identifier are no more escaped. ({{bug(1008719)}})
- To complete our Hit Regions implementation, {{domxref("MouseEvent.region")}} has been implemented ({{bug(979692)}}).
- The {{domxref("CanvasRenderingContext2D.drawFocusIfNeeded()")}} method is now enabled by default ({{bug(1004579)}}).
- The {{domxref("Navigator.doNotTrack")}} properties now returns
'1'
or '0'
, reflecting the HTTP value, instead of 'yes'
or 'no'
({{bug(887703)}}).
- New constraints for WebRTC's {{domxref("NavigatorUserMedia.getUserMedia", "getUserMedia()")}},
width
, height
, and framerate
, have been added, to limit stream dimensions and frame rate ({{bug("907352")}}):
{
mandatory: {
width: { min: 640 },
height: { min: 480 }
},
optional: [
{ width: 650 },
{ width: { min: 650 }},
{ frameRate: 60 },
{ width: { max: 800 }},
]
}
MathML
- Add support for the {{MathMLElement("menclose")}} notation
phasorangle
.
SVG
No change.
Audio/Video
No change.
Security
Changes for add-on and Mozilla developers
Xray vision is now applied to JavaScript objects that are not themselves DOM objects: Xrays for JavaScript objects.
A getDataDirectory() method has been added to Addon instances. This method returns the preferred location, within the current profile, for add-ons to store data.
Add-on SDK
Highlights
Details
GitHub commits made between Firefox 31 and Firefox 32. This will not include any uplifts made after this release entered Aurora.
Bugs fixed between Firefox 31 and Firefox 32. This will not include any uplifts made after this release entered Aurora.
See also
Older versions
{{Firefox_for_developers('31')}}