Firefox 18 for developers

Draft
This page is not complete.

Firefox 18 è stato pubblicato l'8 gennaio 2013. In questo articolo sono elencate le modifiche principali che sono utili non solo per gli sviluppatori web, ma anche gli sviluppatori di Firefox e Gecko così come add-on per gli sviluppatori.

Vuoi aiutare la documentazione di Firefox 18?
list of bugs that need to be written about (Vedi l'elenco dei bug )

Modifiche per gli sviluppatori Web

HTML

CSS

  • The min-width and min-height now uses the auto keyword as initial value (This has an effect only on flex items as it resolves to 0, the previous initial value, for other items). (bug 763689)
  • The cascade has been updated: now author !important rules override CSS animations. (bug 783714)
  • The background shorthand property now recognizes CSS3 background-size property specified inside. (bug 570326)
  • Initial support for the CSS Flexbox Module has been landed. It is disabled by default but can be enabled by setting layout.css.flexbox.enabled to true. (bug 666041)

 DOM

JavaScript

  • Harmony's (ECMAScript 6) Direct Proxies have been landed (bug 703537). Warning: the implementation contains a couple of known bugs, missing features and misalignements with the current state of the spec. Do not rely on it for production code.
  • The ECMAScript 6 contains() method is now implemented on strings.  This is unfortunately not compatible with Mootools 1.2, which expects different behavior from contains() on strings but does not ensure it.  Newer versions of Mootools fix this issue; sites should upgrade their Mootools version to something newer than 1.2.

WebGL

SVG

MathML

XUL

Network

  • Quality factors ("q-values") are now clamped to 2 digits in HTTP Accept-Language header (bug 672448).
  • The ALLOW-FROM syntax of the X-FRAME-OPTIONS HTTP Response header is now supported (bug 690168).

Developer tools

Changes for add-on and Mozilla developers

Interface changes

nsIStreamListener
The 4th parameter (aOffset) of onDataAvailable() method changes to unsigned long long. (bug 784912)
nsIUploadChannel
setUploadStream() supports over 2GB content-length (bug 790617)
nsIEditor
addEditorObserver() has been removed, use setEditorObserver() instead, removeEditorObserver() no longer takes a nsIEditorObserver parameter (bug 785091)
nsIHttpProtocolHandler
http-on-modify-request observers are no longer guaranteed to be called synchronously during
nsIChannel.asyncOpen(). For observers that need to be called during asyncOpen(), the new http-on-opening-request observer topic has been added.  See (bug 800799)

New interfaces

Removed interfaces

The following interfaces have been removed.

See also

Older versions

Document Tags and Contributors

Contributors to this page: 0limits91
Last updated by: 0limits91,