--- title: Firefox OS 1.4 for developers slug: Archive/B2G_OS/Releases/1.4 translation_of: Archive/B2G_OS/Releases/1.4 ---
Firefox OS 1.4 ist derzeit noch eien Vorabversion. Die Gecko Komponenten basieren auf Firefox 30 (dazu:Firefox 30 release notes for developers). Diese Seite beschreibt die neu hinzugefügten Entwicklerfunktionen in Firefox OS 1.4.
Gecko allgemein:
background-blend-mode
ist jetzt standardmäßig aktiviert(Bug 970600).overflow-clip-box
ist jetzt lediglich für die Nutzung in UA stylesheets aktiviert(Bug 966992).line-height
beeinflusst jetzt auch einzeilige Texteingaben (<input type=text|password|email|search|tel|url|unknown>
types), es kann diese allerdings nicht unter eine Größe von 1.0
verkleinern (Bug 349259).line-height
beeinflusst jetz auch type=button
, ohne EinschränkungenSpiderMonkey general:
[for (item of iterable) item]
and generator comprehensions (for (item of iterable) item)
have been implemented (Bug 979865).Error.prototype.stack
property now contains column numbers (Bug 762556) and has been improved when using Function()
and eval()
calls. This can help you to better debug minified or generated JavaScript code.Firefox OS specific:
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).<shadow>
element is now implemented (Bug 887538).createFile()
method implemented on the File System API (Bug 934367).Navigator.sendBeacon
has been implemented, easing telemetry collection (Bug 936340).relList
property returning a DOMTokenList
to HTMLLinkElement
, HTMLAreaElement
and HTMLAnchorElement
(Bug 968637).OscillatorNode.start
and OscillatorNode.stop
is now optional and defaults to 0
(Bug 982541).Navigator.requestWakeLock()
and the non-standard MozWakeLock
are no longer available from the Web on Desktop (Bug 963366).DOM_VK_ENTER
constant has been removed from KeyboardEvent
(Bug 969247).Document.register
has been adapted to follow the behavior described in the latest version of the specification (Bug 856140).CanvasRenderingContext2D.addHitRegion()
and CanvasRenderingContext2D.removeHitRegion()
have been added. These are disabled by default; to activate them set the preference canvas.hitregions.enabled
to true
(Bug 966591).Blob.mozSlice
is no longer supported (Bug 961804).ArchiveReader
and ArchiveRequest
are no longer exposed to the Web (Bug 968883).new
(Bug 916644).alpha
) for the second, optional, parameter of the Canvas.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 always 1.0
. This allows the back-end to implement a fast-track (Bug 982480).Gecko general:
<feDropShadow>
, and its interface SVGFEDropShadowElement
, from the Filter Effects Module are now supported (Bug 964200).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.