• Skip to main content
  • Select language
  • Skip to search
MDN Web Docs
  • Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
  • References & Guides
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
B2G OS
  1. MDN
  2. Archive of obsolete content
  3. B2G OS
  4. Firefox OS developer release notes
  5. Firefox OS 1.4 for developers

Firefox OS 1.4 for developers

In This Article
  1. CSS
  2. JavaScript
  3. Interfaces/APIs/DOM
  4. SVG
  5. Manifest
  6. See also
  7. Older versions

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 of 1.0 (bug 349259).
  • The line-height property now also affects type=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 using Function() and eval() 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 a DOMTokenList to HTMLLinkElement, HTMLAreaElement and HTMLAnchorElement (bug 968637).
  • As per the latest specification, the first argument of OscillatorNode.start and OscillatorNode.stop is now optional and defaults to 0 (bug 982541).
  • The method Navigator.requestWakeLock() and the non-standard MozWakeLock are no longer available from the Web on Desktop (bug 963366).
  • The DOM_VK_ENTER constant has been removed from KeyboardEvent (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() and CanvasRenderingContext2D.removeHitRegion() have been added. These are disabled by default; to activate them set the preference canvas.hitregions.enabled to true (bug 966591).
  • The non-standard, and deprecated since Firefox 15, Blob.mozSlice is no longer supported (bug 961804).
  • The non-standard ArchiveReader and ArchiveRequest 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 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).

SVG

Gecko general:

  • <feDropShadow>, and its interface SVGFEDropShadowElement, 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

Older versions

  • Firefox OS 1.3 for developers
  • Firefox OS 1.2 for developers
  • Firefox OS 1.1 for developers
  • Firefox OS 1.0.1 for developers

 

Document Tags and Contributors

Tags: 
  • Firefox OS
  • Release Notes
 Contributors to this page: chrisdavidmills, ccarruitero, teoli, fscholz, NickDesaulniers
 Last updated by: chrisdavidmills, Feb 27, 2017, 2:56:47 AM
See also
  1. Build and install
    1. Build and install overview
    2. B2G OS build process summary
    3. Build prerequisites
    4. Preparing for your first build
    5. Building B2G OS
    6. B2G installer add-on
    7. Building B2G OS for Flame on Mac OS X
    8. Choosing how to run Gaia or B2G OS
    9. Compatible Devices
    10. Installing B2G OS on a mobile device
    11. Creating and applying B2G OS update packages
    12. Building and installing FOTA community builds
    13. B2G build variables reference sheet
  2. Porting B2G OS
    1. Porting overview
    2. Porting basics
    3. Porting on CyanogenMod
  3. Developing Gaia
    1. Developing Gaia overview
    2. Running the Gaia codebase
    3. Run Gaia on desktop using Mulet
    4. Understanding the Gaia codebase
    5. Making Gaia code changes
    6. Testing Gaia code changes
    7. Submitting a Gaia patch
    8. Gaia build system primer
    9. Different ways to run Gaia
    10. Make options reference
    11. Gaia tools reference
  4. B2G OS APIs