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
Developer Tools
Highlights:
- Server logging in the Web Console
- Quickly find the rule that overrode a CSS declaration
- "Use in Console" context menu item in Inspector
- "Strict" option for filtering in the Rules view
- Network entries in the Console now link to the Network Monitor
- Markup view shows indicators for pseudo-classes locked for elements
All devtools bugs fixed between Firefox 42 and Firefox 43.
CSS
- Support for the standard, unprefixed version of
hyphens
has been landed (bug 953408). - The shorthand property
font
has been updated to acceptfont-stretch
values (bug 1057680). - To match a latest evolution of the specification, the
: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
writing-mode
,lr
,lr-tb
,rl
,tb
, andtb-rl
, have been added in CSS as aliases to standard properties (bug 1205787).
HTML
- For
<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
Array.prototype.includes()
andTypedArray.prototype.includes()
are now enabled by default (bug 1070767).
Changes regarding the arguments
object
- To match the ES2015 specification, arrow functions no longer have their own
arguments
object. Thearguments
object is now lexically bound (inherited from the outer function). In most cases, rest parameters are a good alternative(...args) => args[i]
, see bug 889158. - The arguments object is now allowed in conjunction with rest parameters (bug 1133298).
- From now on, a mapped
arguments
object in non-strict functions is only provided if the function does not contain any rest parameters, any default parameters or any destructured parameters (bug 1175394).
Other changes
- Generators and generator methods are no longer constructable as per ES2016/ES7 (bug 1191486).
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 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
ExtendableEvent.waitUntil()
is called outside of theExtendableEvent
handler, Firefox will now throw anInvalidStateError
; in addition, multiple calls towaitUntil()
will now stack up, and the resulting promises will be added to the list of extend lifetime promises (bug 1189644). PushMessageData
methods have been implemented (bug 1149195).
WebRTC
- The
HTMLCanvasElement.captureStream()
method has been activated by default (bug 1177276). - The non-standard constraint style option list for
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
Navigator.getBattery()
, as specified in the recent evolution of the specificiation (bug 1050749). - The
User-Agent
header is no longer in the list of forbidden header names so it can now be set in a FetchHeaders
object, via XHRXMLHttpRequest.setRequestHeader()
,… (bug 1188932). - The
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
PerformanceObserver
interface, belonging to the Performance Timeline API has been implemented (bug 1165796). - The Frame Timing API has been added: the
PerformanceRenderTiming
andPerformanceCompositeTiming
interfaces are now availble (bug 1191178). - The modern Screen Orientation API has been implemented: unprefixed
Screen.orientation
and theScreenOrientation
interface are now available (bug 1131470). The non-standardScreen.mozOrientation
,Screen.onmozorientationchange
,Screen.mozLockOrientation()
, andScreen.mozUnlockOrientation()
will be removed in the future. - Under Linux, like under Windows,
Event.timeStamp
now returns aDOMHighResTimeStamp
(bug 1026803). - Experimental support for
Selection
eventsselectionchange
andselectstart
, as well as theDocument.onselectionchange
andGlobalEventHandlers.onselectstart
event handlers property has been added (bug 571294). Theselectionchange
event is fired on theDocument
if the associatedSelection
object is concerned, or on the specificHTMLInputElement
orHTMLTextAreaElement
(bug 1196479). This feature is controlled by thedom.select_events.enabled
preference, that defaults tofalse
, except on Nightly. - Support for
MouseEvent.offsetX
andMouseEvent.offsetY
have been activated on Firefox for Android and Firefox OS (bug 1204841). - The
HTMLCanvasElement.mozFetchAsStream()
method has been removed (bug 1206030). - The constructor
Request()
as well asfetch()
will now raise aTypeError
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
andsessionStorage
) 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
<script>
and<link>
that links 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, NPAPI plugins 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 47 for developers
- Firefox 46 for developers
- Firefox 45 for developers
- Firefox 44 for developers
- Firefox 43 for developers
- Firefox 42 for developers
- Firefox 41 for developers
- Firefox 40 for developers
- Firefox 39 for developers
- Firefox 38 for developers
- Firefox 37 for developers
- Firefox 36 for developers
- Firefox 35 for developers
- Firefox 34 for developers
- Firefox 33 for developers
- Firefox 32 for developers
- Firefox 31 for developers
- Firefox 30 for developers
- Firefox 29 for developers
- Firefox 28 for developers
- Firefox 27 for developers
- Firefox 26 for developers
- Firefox 25 for developers
- Firefox 24 for developers
- Firefox 23 for developers
- Firefox 22 for developers
- Firefox 21 for developers
- Firefox 20 for developers
- Firefox 19 for developers
- Firefox 18 for developers
- Firefox 17 for developers
Document Tags and Contributors
Tags:
Contributors to this page:
Sheppy,
fscholz,
Mostafa.S,
teoli,
poiru,
fmarier,
chrisdavidmills,
jsx,
wbamberg,
Sebastianz,
SJW,
franciov,
kohei.yoshino,
arai
Last updated by:
Sheppy,