---
title: Firefox 43 for developers
slug: Mozilla/Firefox/Releases/43
tags:
- Firefox
translation_of: Mozilla/Firefox/Releases/43
---
{{FirefoxSidebar}}
To test the latest developer features of Firefox,
install Firefox Developer Edition Firefox 43 was released on December 15, 2015. This article lists key changes that are useful not only for web developers, but also Firefox and Gecko developers as well as add-on developers.
Changes for Web developers
Highlights:
All devtools bugs fixed between Firefox 42 and Firefox 43.
CSS
- Support for the standard, unprefixed version of {{Cssxref("hyphens")}} has been landed ({{bug(953408)}}).
- The shorthand property {{cssxref("font")}} has been updated to accept {{cssxref("font-stretch")}} values ({{bug(1057680)}}).
- To match a latest evolution of the specification, the {{cssxref(":fullscreen")}} pseudo-class now selects the whole stack of elements in full screen, and not only the top-level one ({{bug(1199522)}}).
- The deprecated SVG values for the {{cssxref("writing-mode")}},
lr
, lr-tb
, rl
, tb
, and tb-rl
, have been added in CSS as aliases to standard properties ({{bug(1205787)}}).
HTML
- For {{htmlelement("img")}} with ICO image containing multiple frames, the intrinsic dimension of the image is set to the one of the largest frame, and no more of the smallest frame {{bug(1201796)}}.
- The value of the document's viewport (defined with
<meta name="viewport>
)can now dynamically be changed via JavaScript ({{bug(976616)}}).
JavaScript
New APIs
- The new ES2016 methods {{jsxref("Array.prototype.includes()")}} and {{jsxref("TypedArray.prototype.includes()")}} are now enabled by default ({{bug(1070767)}}).
Changes regarding the arguments
object
Other changes
Interfaces/APIs/DOM
DOM & HTML DOM
No change.
IndexedDB
- A new feature called locale-aware sorting has been added allowing for the creation of indexes with a locale specified, which can then then be used to sort data according to the rules of that locale ({{bug(871846)}}). This is a non-standard Firefox-specific feature.
Service Workers
- As per the specification, if {{domxref("ExtendableEvent.waitUntil()")}} is called outside of the {{domxref("ExtendableEvent")}} handler, Firefox will now throw an
InvalidStateError
; in addition, multiple calls to {{domxref("ExtendableEvent.waitUntil","waitUntil()")}} will now stack up, and the resulting promises will be added to the list of extend lifetime promises ({{bug(1180274)}}).
- {{domxref("PushMessageData")}} methods have been implemented ({{bug(1149195)}}).
WebRTC
- The {{domxref("HTMLCanvasElement.captureStream()")}} method has been activated by default ({{bug(1177276)}}).
- The non-standard constraint style option list for {{domxref("RTCOfferOptions")}} has been deprecated and will be removed entirely in Firefox 44; see this post on the site compatibility blog for details.
Miscellaneous
- The Battery Status API now uses the new promise syntax for {{domxref("Navigator.getBattery()")}}, as specified in the recent evolution of the specificiation ({{bug(1050749)}}).
- The
User-Agent
header is no longer in the list of {{Glossary("Forbidden_header_name", "forbidden header names", 1)}} so it can now be set in a Fetch {{domxref("Headers")}} object, via XHR {{domxref("XMLHttpRequest.setRequestHeader()")}},… ({{bug(1188932)}}).
- The {{domxref("MediaRecorder.MediaRecorder()")}} constructor can now accept an options dictionary as a parameter, which allows you to set custom bitrates for the audio/video to be recorded ({{bug("1161276")}}).
- The {{domxref("PerformanceObserver")}} interface, belonging to the Performance Timeline API has been implemented ({{bug(1165796)}}).
- The Frame Timing API has been added: the {{domxref("PerformanceRenderTiming")}} and {{domxref("PerformanceCompositeTiming")}} interfaces are now availble ({{bug(1191178)}}).
- The modern Screen Orientation API has been implemented: unprefixed {{domxref("Screen.orientation")}} and the {{domxref("ScreenOrientation")}} interface are now available ({{bug("1131470")}}). The non-standard {{domxref("Screen.mozOrientation")}}, {{domxref("Screen.onmozorientationchange")}}, {{domxref("Screen.mozLockOrientation()")}}, and {{domxref("Screen.mozUnlockOrientation()")}} will be removed in the future.
- Under Linux, like under Windows, {{domxref("Event.timeStamp")}} now returns a {{domxref("DOMHighResTimeStamp")}} ({{bug(1026803)}}).
- Experimental support for {{domxref("Selection")}} events {{event("selectionchange")}} and {{event("selectstart")}}, as well as the {{domxref("Document.onselectionchange")}} and {{domxref("GlobalEventHandlers.onselectstart")}} event handlers property has been added ({{bug(571294)}}). This feature is controlled by the
dom.select_events.enabled
preference, that defaults to false
.
- Support for {{domxref("MouseEvent.offsetX")}} and {{domxref("MouseEvent.offsetY")}} have been activated on Firefox for Android and Firefox OS ({{bug(1204841)}}).
- The {{domxref("HTMLCanvasElement.mozFetchAsStream()")}} method has been removed ({{bug(1206030)}}).
- The constructor {{domxref("Request.Request", "Request()")}} as well as {{domxref("Window.fetch", "fetch()")}} will now raise a {{exception("TypeError")}} exception when used with a URL containing a username and password ({{bug(1195820)}}).
MathML
No change.
SVG
No change.
Audio/Video
No change.
HTTP
No change.
Networking
No change.
Security
- Access to Web Storage (i.e.
localStorage
and sessionStorage
) from third-party IFrames is now denied if the user has disabled third-party cookies ({{bug("536509")}}).
- This whitelist has even been removed in Nightly and Aurora/Dev Edition of the browser ({{bug(1201023)}}). It is currently scheduled that this removal will also happen for Beta and Release versions for the next version (Firefox 44).
- Subresource integrity has been implemented for {{htmlelement("script")}} and {{htmlelement("link")}} that doesn't link to stylesheets ({{bug("992096")}}).
Changes for add-on and Mozilla developers
Interfaces
No change
XUL
No change.
JavaScript code modules
No change.
XPCOM
No change.
Plugins
- In preparation for future releases to switch over to multi-process content, NPAPIplugins can no longer be run in the same process as the page content. The preferences starting with
dom.ipc.plugins
are no longer used.
Other
No change.
See also
Older versions
{{Firefox_for_developers('42')}}