--- title: Firefox 32 for developers slug: Mozilla/Firefox/Releases/32 tags: - NeedsTranslation - TopicStub translation_of: Mozilla/Firefox/Releases/32 --- {{FirefoxSidebar}} ## Changes for Web developers ### Developer Tools Highlights: - [Web Audio Editor](/fr/docs/Tools/Web_Audio_Editor) - [Code completion and inline documentation in Scratchpad](/fr/docs/Tools/Scratchpad#Code_completion_and_inline_documentation) - [User agent styles in the Inspector's Rules view](/fr/docs/Tools/Page_Inspector#Rules_view) - [Element picker button has moved](/fr/docs/Tools/Page_Inspector#Firefox_32_onwards_2) - [Node dimensions added to the Inspector's infobar](/fr/docs/Tools/Page_Inspector#Firefox_32_onwards) - [Full page screenshot button added](/fr/docs/Tools/Tools_Toolbox#Extra_tools) - HiDPI images added to the tools - Nodes that have `display:none` are shown differently in the Inspector [All devtools bugs fixed between Firefox 31 and Firefox 32](https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&classification=Client%20Software&chfieldto=2014-06-09&chfield=resolution&query_format=advanced&chfieldfrom=2014-04-28&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&component=Developer%20Tools&component=Developer%20Tools%3A%203D%20View&component=Developer%20Tools%3A%20App%20Manager&component=Developer%20Tools%3A%20Canvas%20Debugger&component=Developer%20Tools%3A%20Console&component=Developer%20Tools%3A%20Debugger&component=Developer%20Tools%3A%20Framework&component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&component=Developer%20Tools%3A%20Inspector&component=Developer%20Tools%3A%20Memory&component=Developer%20Tools%3A%20Netmonitor&component=Developer%20Tools%3A%20Object%20Inspector&component=Developer%20Tools%3A%20Profiler&component=Developer%20Tools%3A%20Responsive%20Mode&component=Developer%20Tools%3A%20Scratchpad&component=Developer%20Tools%3A%20Source%20Editor&component=Developer%20Tools%3A%20Style%20Editor&component=Developer%20Tools%3A%20User%20Stories&component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&product=Firefox). ### 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**](/fr/docs/Web/HTML/Global_attributes/id) and [**class**](/fr/docs/Web/HTML/Global_attributes/class) are now true [global attributes](/fr/docs/Web/HTML/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](http://dev.w3.org/fxtf/web-animations/), 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](/fr/docs/Web/API/Data_Store_API) has been made available to [Web Workers](/fr/docs/Web/Guide/Performance/Using_web_workers) ({{bug("949325")}}). It still is only activated for certified applications. - The [ServiceWorker](/fr/docs/Web/API/ServiceWorker_API) {{domxref("InstallPhaseEvent")}} and {{domxref("InstallEvent")}} interfaces have been implemented ({{ Bug("967264") }}). - The [MSISDN Verification API](/fr/docs/Web/API/MSISDN_Verification_API), only activated for privileged apps, has been added ({{ Bug("988469") }}). - The [Gamepad API](/fr/docs/Web/API/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](/fr/docs/Glossary/WebRTC)'s {{domxref("NavigatorUserMedia.getUserMedia", "getUserMedia()")}}, `width`, `height`, and `framerate`,  have been added, to limit stream dimensions and frame rate ({{bug("907352")}}): ```json { 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 - [Privileged code now gets Xray vision for JavaScript `Object` and `Array` instances](/fr/docs/Xray_vision#Xray_semantics_for_Object_and_Array). ## 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](/fr/docs/Xray_vision#Xrays_for_JavaScript_objects). A [getDataDirectory()]() method has been added to [Addon](/fr/Add-ons/Add-on_Manager/Addon) instances. This method returns the preferred location, within the current profile, for add-ons to store data. ### Add-on SDK #### Highlights - Added [`exclude`](/fr/Add-ons/SDK/High-Level_APIs/page-mod#PageMod%28options%29) option to `PageMod`. - Added [`anonymous`](/fr/Add-ons/SDK/High-Level_APIs/request#Request%28options%29) option to `Request`. - [Add-on Debugger](/fr/Add-ons/Add-on_Debugger) now includes a Console and a Scratchpad. #### Details [GitHub commits made between Firefox 31 and Firefox 32](https://github.com/mozilla/addon-sdk/compare/firefox31...firefox32). This will not include any uplifts made after this release entered Aurora. [Bugs fixed between Firefox 31 and Firefox 32](https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&chfieldto=2014-06-09&chfield=resolution&query_format=advanced&chfieldfrom=2014-04-28&chfieldvalue=FIXED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&product=Add-on%20SDK&list_id=10493962). This will not include any uplifts made after this release entered Aurora. ## See also - [Site Compatibility for Firefox 32](/fr/docs/Mozilla/Firefox/Releases/32/Site_Compatibility) ### Older versions {{Firefox_for_developers('31')}}