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.
CSS
Gecko allgemein:
- Das Merkmal
background-blend-mode
ist jetzt standardmäßig aktiviert(Bug 970600). - Das nicht standardmäßige Merkmal
overflow-clip-box
ist jetzt lediglich für die Nutzung in UA stylesheets aktiviert(Bug 966992). - Das Merkmal
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 von1.0
verkleinern (Bug 349259). - Das Merkmal
line-height
beeinflusst jetz auchtype=button
, ohne Einschränkungen - Änderungen des Namens des Keyframes beeinflussen nicht die gegenwärtigen Elemente (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
- Firefox OS 1.4 Notes (will be linked to once they are published.)
Older versions
Schlagwörter des Dokuments und Mitwirkende
Mitwirkende an dieser Seite:
chrisdavidmills,
Changed
Zuletzt aktualisiert von:
chrisdavidmills,