Questa traduzione è incompleta. Collabora alla traduzione di questo articolo dall’originale in lingua inglese.
Installa Firefox Developer Edition
Firefox 42, based on Gecko 42, will ship in Novembre 2015. This article provides information about the changes in this release that will affect developers. Nightly builds of what will become Firefox 42 are currently available on the Developer Edition channel.
Note: Items listed here are tentatively slated for Firefox 42; however, they may be held for a future release if testing shows they're not ready by the time Firefox 42 is due to ship. Please keep an eye on this page to stay up to date on the plans for Firefox 42.
Modifiche per gli sviluppatori
Strumenti per gli sviluppatori
In evidenza:
- Debugging Firefox per Android tramite Wifi
- Firefox OS Simulator configuration in WebIDE
- CSS filter presets
All devtools bugs fixed between Firefox 41 and Firefox 42.
CSS
- Vertical
writing-mode
is now supported with rtl scripts (bug 1131451). - Non-standard proprieties like
-moz-margin-start
are now aliases of their standard counterpart (margin-inline-start
, …). Previously, it was the opposite. This affects the value returned byCSSStyleDeclaration.cssText
and iteration of the properties in a style ruleand iteration of the properties in a style rule, that both use the canonical form (bug 1118103).
HTML
- The
referrer
attribute of the<input>
(bug 1166910),<a>
and<area>
(bug 1174913) has been implemented.
JavaScript
- The
Reflect
object has been implemented (bug 987514). - The implementation of the
Proxy
handler.ownKeys()
trap has been updated to match the final ES2015 specification (bug 1049662). - Calling
Map
,Set
, orWeakMap
withoutnew
, will now throw aTypeError
(bug 1083752).
Interfaces/APIs/DOM
DOM & HTML DOM
Event.offsetX
andEvent.offsetY
have been added (bug 69787).- The
HTMLInputElement
interface has been experimentally extended to handle the upload of directories (bug 1164310). These four members are now available behind thedom.input.dirpicker
preference: - The
Directory
interface has been experimentally extended (bug 1177688). The two membersDirectory.path
andDirectory.getContents
are now available. - The
HTMLMediaElement.mozSrcObject
has been renamed inHTMLMediaElement.srcObject
(bug 1175523).
Service Workers
Request.context
has been removed (bug 1188062).- The Push API has been activated by default on Firefox for Desktop (bug 1153499), but only on the Nightly/Dev Edition/Beta channels. It is being deactivated by default in the Release channel until consumer UX and debugging features have been properly implemented (bug 1207875.) You can still activate it by enabling the
dom.push.enabled
pref in about:config. - The
PushManager.hasPermission()
method has been deprecated in the spec, and replaced with thePushManager.permissionState()
method. Firefox has updated its implementation to reflect this (bug 1183853.) - Service-worker-related additions to the Notifications API have been implemented (bug 1114554), but are disabled in this release.
Web Animations API
Our experimental implementation of Web Animations API have been extended to support:
- The
AnimationPlayer.playbackRate
property (bug 1127380). - The
CSSAnimation
andCSSTransition
interfaces (bug 1178186). - The
Animation.reverse()
method (bug 1150808). - The
AnimationPlaybackEvent
interface has been added andcancel
andfinish
are now fired onAnimation
(bug 1178664).
Web Components
Our experimental implementation of the Shadow DOM has been modified:
- When trying to invoke
Node.cloneNode()
on aShadowRoot
, throws aDataCloneError
exception (bug 1176757). - When invoking
Document.importNode()
with aShadowRoot
as an argument, we now throws aNotSupportedError
exception (bug 1177914). - When invoking
Document.adoptNode()
with aShadowRoot
as an argument, we now throws aHierarchyRequestError
exception (bug 1177991).
WebGL
- WebGL2
WebGLTransformFeedback
has been implemented (bug 1048724). - The
WEBGL_debug_renderer_info
extension has been turned on by default (bug 1171228). - To obtain a WebGL2 context,
HTMLCanvasElement.getContext()
now takeswebgl2
instead ofexperimental-webgl2
previously (bug 1187174).
WebRTC
- The
RTCICECandidatePairStats.mozPriority
has been renamed toRTCICECandidatePairStats.priority
(bug 1184426).
New APIs
- The
ImageBitmap
interface and thecreateImageBitmap()
method have been implemented. They are available on regular window scripts and in Web workers and allow efficient posting of images between window and worker contexts (bug 1044102).
Miscellaneous
- The
IDBCursorWithValue
interface is now available in Web workers (bug 1188115). - Error events sent in Web workers doesn't bubble anymore (bug 1188141).
- Media Source Extensions (MSE) has been activated for all Web sites, and no more for a white list of sites (bug 1185611).
- The non-standard and deprecated
Window.mozRequestAnimationFrame()
has been removed (bug 909154). Use the standardWindow.requestAnimationFrame()
instead.
MathML
No change.
SVG
No change.
Audio/Video
No change.
HTTP
No change.
Networking
- The CSP
upgrade-insecure-requests
directive has been implemented (bug 1139297).
Sicurezza
- EV certificates with a validity greater than 39 months are now considered and handled as DV certificates (bug 1145679).
Cambiamenti per gli add-on e Mozilla developers
Interfaces
nsIContentPolicy
- The
TYPE_EMBED
constant has been added tonsIContentPolicy
to allow Gecko internals and add-on code to better differentiate different types of requests. Previously,TYPE_OBJECT
was used for these cases (bug 1148030). - Similarly, the
TYPE_SUBDOCUMENT
constants has been split intoTYPE_FRAME
andTYPE_IFRAME
(bug 1148044).
XUL
No change.
JavaScript code modules
No change.
XPCOM
No change.
Other
No change.
See also
Older versions
- Firefox 41 for developers
- Firefox 40 for developers
- Firefox 39 for developers
- Firefox 38 for developers
- Firefox 37 for developers
- Firefox 36 for developers
- Firefox 35 for developers
- Firefox 34 for developers
- Firefox 33 for developers
- Firefox 32 for developers
- Firefox 31 for developers
- Firefox 30 for developers
- Firefox 29 for developers
- Firefox 28 for developers
- Firefox 27 for developers
- Firefox 26 for developers
- Firefox 25 for developers
- Firefox 24 for developers
- Firefox 23 for developers
- Firefox 22 for developers
- Firefox 21 for developers
- Firefox 20 for developers
- Firefox 19 for developers
- Firefox 18 for developers
- Firefox 17 for developers
- Firefox 16 for developers
- Firefox 15 for developers
- Firefox 14 for developers
- Firefox 13 for developers
- Firefox 12 for developers
- Firefox 11 for developers