Path: blob/main/files/en-us/mozilla/firefox/releases/32/index.md
6581 views
------{{FirefoxSidebar}}
Changes for Web developers
Developer Tools
Highlights:
Code completion and inline documentation in Scratchpad]
HiDPI images added to the tools
Nodes that have
display:noneare shown differently in the Inspector
All devtools bugs fixed between Firefox 31 and Firefox 32.
CSS
Enabled {{cssxref("mix-blend-mode")}} by default (Webkit bug 952643).
Enabled
position:stickyby default in release builds (only enabled on Nightly and Aurora before) (Webkit bug 916315).Implemented {{cssxref("box-decoration-break")}} and removed the non-standard
-moz-background-inline-policy(Webkit bug 613659).Allowed {{cssxref("flex-grow")}} and {{cssxref("flex-shrink")}} to transition between zero and nonzero values, like 'flex-grow: 0.6'(Webkit bug 996945).
HTML
Experimentally implemented, behind a pref, {{HTMLElement("img")}} {{HTMLattrxref("srcset", "img")}} property, To activate it set
dom.image.srcset.enabletotrue(Webkit bug 870021).id and class are now true global attributes and also apply to XML elements, in a namespace or not (Firefox bug 741295).
JavaScript
The following new ECMAScript 2015 built-in methods got implemented:
{{jsxref("Array.from()")}} (Firefox bug 904723),
{{jsxref("Array.prototype.copyWithin()")}} (Firefox bug 934423),
{{jsxref("Number.isSafeInteger()")}} (Firefox bug 1003764).
Interfaces/APIs/DOM
The {{domxref("NavigatorLanguage.languages", "navigator.languages")}} property and {{domxref("Window.languagechange_event", "languagechange")}} event have been implemented (Webkit bug 889335).
The {{domxref("Navigator.vibrate()")}} method behavior has been adapted to the latest specification: too long vibrations are now truncated (Firefox bug 1014581).
The {{domxref("KeyboardEvent.getModifierState()")}} and {{domxref("MouseEvent.getModifierState()")}} methods have been extended to support the
Accelvirtual modifier (Webkit bug 1009388).The {{domxref("KeyboardEvent.code")}} property have been experimentally implemented: it is disabled on release build (Webkit bug 865649).
Scoped selectors for {{domxref("Document.querySelector()")}} and {{domxref("Document.querySelectorAll()")}}, for example
querySelector(":scope > li")have been implemented (Webkit bug 528456).The experimental implementation of the {{domxref("Document.timeline")}} interface, related to the Web Animation API, has been added (Firefox bug 998246). It is controlled by
layout.web-animations.api.enabledpreference, enabled only on Nightly and Aurora for the moment.The Data Store API has been made available to Web Workers (Firefox bug 949325). It still is only activated for certified applications.
The ServiceWorker {{domxref("InstallPhaseEvent")}} and {{domxref("InstallEvent")}} interfaces have been implemented (Webkit bug 967264).
The MSISDN Verification API, only activated for privileged apps, has been added (Webkit bug 988469).
The Gamepad API is now supported on Firefox for Android (Firefox 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. (Firefox bug 1008719)To complete our Hit Regions implementation, {{domxref("MouseEvent.region")}} has been implemented (Firefox bug 979692).
The {{domxref("CanvasRenderingContext2D.drawFocusIfNeeded()")}} method is now enabled by default (Firefox bug 1004579).
The {{domxref("Navigator.doNotTrack")}} properties now returns
'1'or'0', reflecting the HTTP value, instead of'yes'or'no'(Firefox bug 887703).XMLHttpRequest.responseURL was implemented (Firefox bug 998076)..
MathML
Add support for the {{MathMLElement("menclose")}} notation
phasorangle.
SVG
No change.
WebRTC
New constraints for WebRTC's {{domxref("NavigatorUserMedia.getUserMedia", "getUserMedia()")}},
width,height, andframerate, have been added, to limit stream dimensions and frame rate (Firefox bug 907352):WebRTC methods which previously used callback functions as input parameters are now also available using JavaScript promises.
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
Added
excludeoption toPageMod.Added
anonymousoption toRequest.Add-on Debugger now includes a Console and a Scratchpad.
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.
XPCOM
The
nsIUDPSocketinterface now provides multicast support through the addition of the newnsIUDPSocket.multicastLoopback,nsIUDPSocket.multicastInterface, andnsIUDPSocket.multicastInterfaceAddrattributes, as well as thensIUDPSocket.joinMulticast()andnsIUDPSocket.leaveMulticast()methods.
Older versions
{{Firefox_for_developers('31')}}