Firefox OS 1.4 is at a pre-release stage right now. Its Gecko component is based on Firefox 30 (see Firefox 30 release notes for developers.) This page details the developer features newly implemented in Firefox OS 1.4.
CSS
Gecko general:
- The property
background-blend-mode
has been enabled by default (bug 970600). - The non-standard
overflow-clip-box
property has been implemented for use in UA stylesheets only (bug 966992). - The
line-height
property now affects single-line text inputs (<input type=text|password|email|search|tel|url|unknown>
types) although it cannot shrink them below a line height of1.0
(bug 349259). - The
line-height
property now also affectstype=button
, with no restrictions (bug 697451). - Change to keyframes' name does not affect current elements (bug 978648).
JavaScript
SpiderMonkey general:
- New ES6-compatible array comprehensions
[for (item of iterable) item]
and generator comprehensions(for (item of iterable) item)
have been implemented (bug 979865). - Typed arrays are now extensible and support new named properties (bug 695438).
- The
Error.prototype.stack
property now contains column numbers (bug 762556) and has been improved when usingFunction()
andeval()
calls. This can help you to better debug minified or generated JavaScript code.
Interfaces/APIs/DOM
Firefox OS specific:
- Availability of camera object now conditional on availability of Navigator.HasCameraSupport (bug 983180).
- Face Tracking API implemented (bug 965420).
- Clean up done on the Camera Control API (bug 909542).
- Network Information API now supported on Firefox OS (bug 960426).
- Wifi Direct API now implemented (bug 811635).
Gecko general:
URLSearchParams.size
support has been removed from Gecko; this has been removed from the DOM spec until iterator support is finalised (bug 959988).- Identity Provider API for WebRTC implemented (bug 884573).
- The
<shadow>
element is now implemented (bug 887538). createFile()
method implemented on the File System API (bug 934367).- Device Storage API now using File System API (bug 910412). The plan is to deprecate the former at a later date.
Navigator.sendBeacon
has been implemented, easing telemetry collection (bug 936340).- Added a
relList
property returning aDOMTokenList
toHTMLLinkElement
,HTMLAreaElement
andHTMLAnchorElement
(bug 968637). - As per the latest specification, the first argument of
OscillatorNode.start
andOscillatorNode.stop
is now optional and defaults to0
(bug 982541). - The method
Navigator.requestWakeLock()
and the non-standardMozWakeLock
are no longer available from the Web on Desktop (bug 963366). - The
DOM_VK_ENTER
constant has been removed fromKeyboardEvent
(bug 969247). - Web components'
Document.register
has been adapted to follow the behavior described in the latest version of the specification (bug 856140). - Basic support for Hit regions on canvas has been added: the methods
CanvasRenderingContext2D.addHitRegion()
andCanvasRenderingContext2D.removeHitRegion()
have been added. These are disabled by default; to activate them set the preferencecanvas.hitregions.enabled
totrue
(bug 966591). - The non-standard, and deprecated since Firefox 15,
Blob.mozSlice
is no longer supported (bug 961804). - The non-standard
ArchiveReader
andArchiveRequest
are no longer exposed to the Web (bug 968883). - Constructors cannot be called as functions anymore. They need to be preceded by the keyword
new
(bug 916644). - Added support for a new value (
alpha
) for the second, optional, parameter of theCanvas.getContext()
method allowing to define if alpha blending must be stored or not for this context. When not, the per-pixel alpha value in this store is always1.0
. This allows the back-end to implement a fast-track (bug 982480).
SVG
Gecko general:
<feDropShadow>
, and its interfaceSVGFEDropShadowElement
, from the Filter Effects Module are now supported (bug 964200).
Manifest
- The
precompile
manifest field is now supported, which specifies that asm.js code contained within the app should be compiled at install time, install of during first run.
See also
Older versions