Firefox 43 for developers
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
- New sidebar UI for WebIDE
CSS
- Support for the standard, unprefixed version of
hyphens
has been landed (Firefox bug 953408). - The shorthand property
font
has been updated to acceptfont-stretch
values (Firefox bug 1057680). - To match the 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 (Firefox 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 (Firefox 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 Firefox bug 1201796. - The value of the document's viewport (defined with
<meta name="viewport>
)can now dynamically be changed via JavaScript (Firefox bug 976616).
JavaScript
New APIs
- The new ES2016 methods
Array.prototype.includes()
andTypedArray.prototype.includes()
are now enabled by default (Firefox 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 Firefox bug 889158. - The arguments object is now allowed in conjunction with rest parameters (Firefox 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 (Firefox bug 1175394).
Other changes
- Generators and generator methods are no longer constructable as per ES2016 (Firefox 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 (Firefox 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 (Firefox bug 1180274). PushMessageData
methods have been implemented (Firefox bug 1149195).
WebRTC
- The
HTMLCanvasElement.captureStream()
method has been activated by default (Firefox bug 1177276). - The non-standard constraint style option list for
RTCOfferOptions
has been deprecated and will be removed entirely in Firefox 44.
Miscellaneous
- The Battery Status API now uses the new promise syntax for
Navigator.getBattery()
, as specified in the recent evolution of the specification (Firefox 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()
,… (Firefox bug 1188932). - The
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 (Firefox bug 1161276). - The
PerformanceObserver
interface, belonging to the Performance APIs has been implemented (Firefox bug 1165796). - The Frame Timing API has been added: the
PerformanceRenderTiming
andPerformanceCompositeTiming
interfaces are now available (Firefox bug 1191178). - The modern Screen Orientation API has been implemented: unprefixed
Screen.orientation
and theScreenOrientation
interface are now available (Firefox 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
(Firefox bug 1026803). - Experimental support for
Selection
eventsselectionchange
andselectstart
, as well as theDocument.onselectionchange
andHTMLInputElement.onselectstart
event handlers property has been added (Firefox bug 571294). Theselectionchange
event is fired on theDocument
if the associatedSelection
object is concerned, or on the specificHTMLInputElement
orHTMLTextAreaElement
(Firefox bug 1196479). This feature is controlled by thedom.select_events.enabled
preference, which defaults tofalse
, except on Nightly. - Support for
MouseEvent.offsetX
andMouseEvent.offsetY
have been activated on Firefox for Android and Firefox OS (Firefox bug 1204841). - The
HTMLCanvasElement.mozFetchAsStream()
method has been removed (Firefox bug 1206030). - The constructor
Request()
as well asfetch()
will now raise aTypeError
exception when used with a URL containing a username and password (Firefox 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 (Firefox bug 536509). - This whitelist has even been removed in Nightly and Aurora/Dev Edition of the browser (Firefox 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 (Firefox 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.
Older versions
- 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
- Firefox 16 for developers
- Firefox 15 for developers
- Firefox 14 for developers
- Firefox 13 for developers
- Firefox 12 for developers