Cet article nécessite une relecture technique. Voici comment vous pouvez aider.
Cet article nécessite une relecture rédactionnelle. Voici comment vous pouvez aider.
Cette traduction est incomplète. Aidez à traduire cet article depuis l'anglais.
Firefox 35, based on Gecko 35, will ship in January 2015. This article provides information about the changes in this release that will affect developers. Nightly builds of what will become Firefox 35 are currently available on the Beta channel.
Changement concernant les developpeurs
Outils de developpement
Highlights:
- See ::before and ::after pseudo elements in the Page Inspector
- CSS source maps are now enabled by default
- "Show DOM Properties" from the Page Inspector
All devtools bugs fixed between Firefox 34 and Firefox 35.
CSS
- La proprieté
mask-type
a été activée par défaut (bug 1058519). - La propieté
filter
est maintenant activée par défaut (bug 1057180). - La fonction
@font-face
est maintenant compatible avec les polices de type WOFF2 (bug 1064737). - La notation functionnelle
symbol()
est mainteant supportée(bug 966168). - L'API CSS Font Loading a été implémentée (bug 1028497).
- Using
-moz-appearance
with thenone
value on a combobox now remove the dropdown button (bug 649849). - The property accessor
element.style["css-property-name"]
has been added to match other browsers (bug 958887).
HTML
- The obsolete and non-conforming
bottommargin
,leftmargin
,rightmargin
andtopmargin
attributes of the
have been activated in non-quirks mode (bug 95530).<body>
element - Support for HTML Imports has been added (bug 877072).
JavaScript
- The "temporal dead zone" for
let
declarations has been implemented. In conformance with ES6let
semantics, the following situations
now throw errors. See also this newsgroup announcement and bug 1001090.- Redeclaring existing variables or arguments using
let
within the same scope in function bodies is now a syntax error. - Using a variable declared using
let
in function bodies before the declaration is reached and evaluated is now a runtime error.
- Redeclaring existing variables or arguments using
- ES6
Symbols
(only available in the Nightly channel) have been updated to conform with recent specification changes:String(Symbol("1"))
now no longer throws aTypeError
; instead a string ("Symbol(1)"
) gets returned (bug 1058396).
- The various TypedArray constructors now have as their
[[Prototype]]
a single function, denoted%TypedArray%
in ES6 (but otherwise not directly exposed). Each typed array prototype now inherits from%TypedArray%.prototype
. (%TypedArray%
and%TypedArray%.prototype
inherit fromFunction.prototype
andObject.prototype
, respectively, so that typed array constructors and instances still have the properties found on those objects.) Typed array function properties now reside on%TypedArray%.prototype
and work on any typed array. See TypedArray and bug 896116 for more information. - ES6 semantics for prototype mutations using object literals have been implemented (bug 1061853).
- Now only a single member notated as
__proto__:value
will mutate the[[Prototype]]
in the object literal syntax. - Method members like
__proto__() {}
will not overwrite the[[Prototype]]
anymore.
- Now only a single member notated as
Interfaces/APIs/DOM
- The
NavigatorLanguage
interface is now available to workers onWorkerNavigator
(bug 925849). - The
Element.closest
method returns the closest ancestor of the current element (bug 1055533). - Experimental support for the
CanvasRenderingContext2D.filter
property has been added behind thecanvas.filters.enabled
flag (bug 927892). - Our experimental implementation of Web Animations progresses with the landing of the
Animation.target
property. This always is behind the dom.animations-api.core.enabled pref, off by default (bug 1067701). - The
hasAttributes()
method has been moved fromNode
toElement
as required by the spec (1055773
). - Websockets can now be used in Workers (bug 504553).
- The
crossOrigin
reflected attribute ofHTMLImageElement
,HTMLLinkElement
,HTMLMediaElement
,HTMLScriptElement
, andSVGScriptElement
only accepts valid values, and""
isn't,null
has to be used instead (bug 880997). - The Resource Timing API has been activated by default (bug 1002855).
- To match the spec, the first argument of
Selection.containsNode()
cannot benull
anymore (bug 1068058). - The new
ImageCapture
API has been implemented:ImageCapture.takePhoto()
is available (bug 916643). - Non-HTTP
XHR
request now returns200
in case of success (instead of the erroneous0
) (bug 716491). - The internal, non-standard,
File.mozFullPath
property is no more visible from content (bug 1048293). - The constructor of
File
has been extended to match the specification (bug 10457483). - An experimental implementation of
AbortablePromise
, a promise that can be aborted by a different entity that the one who created it, has been added. It is prefixed withMoz
and controlled by thedom.abortablepromise.enabled
property, defaulting tofalse
(bug 1035060). - The non-standard
Navigator.mozIsLocallyAvailable
property has been removed (bug 1066826).
MathML
- The
dtls
OpenType feature (via the CSSfont-feature-settings
on the default stylesheet) is now applied automatically to MathML elements when positioning scripts over it (e.g. dotless i with mathematical hat).
SVG
No change.
Audio/Video
No change.
Network & Security
- The HTTP/2
alt-svc
header is now supported (bug 1003448). - The Public Key Pinning Extension for HTTP (HPKP) has been implemented (bug 787133).
Changes for add-on and Mozilla developers
XUL & Add-ons
- The private
_getTabForBrowser()
method on thetabbrowser
element has been deprecated. In its place, we've added a new, public, method calledgetTabForBrowser
. This returns, predictably, thetab
element that contains the specifiedbrowser
. Components.utils.now()
, matchingPerformance.now()
has been implemented for non-window chrome code (bug 969490).
Add-on SDK
Highlights
- Added access keys for context menu.
- Removed
isPrivateBrowsing
fromBrowserWindow
.
Details
GitHub commits made between Firefox 34 and Firefox 35. This will not include any uplifts made after this release entered Aurora.
Bugs fixed between Firefox 34 and Firefox 35. This will not include any uplifts made after this release entered Aurora.
See also
Older versions
- Firefox 34 pour les développeurs
- Firefox 33 pour les développeurs
- Firefox 32 pour les développeurs
- Firefox 31 pour les développeurs
- Firefox 30 pour les développeurs
- Firefox 29 pour les développeurs
- Firefox 28 pour les développeurs
- Firefox 27 pour les développeurs
- Firefox 26 pour les développeurs
- Firefox 25 pour les développeurs
- Firefox 24 pour les développeurs
- Firefox 23 pour les développeurs
- Firefox 22 pour les développeurs
- Firefox 21 pour les développeurs
- Firefox 20 pour les développeurs
- Firefox 19 pour les développeurs
- Firefox 18 pour les développeurs
- Firefox 17 pour les développeurs
- Firefox 16 pour les développeurs
- Firefox 15 pour les développeurs
- Firefox 14 pour les développeurs
- Firefox 13 pour les développeurs
- Firefox 12 pour les développeurs
- Firefox 11 pour les développeurs
- Firefox 10 pour les développeurs
- Firefox 9 pour les développeurs
- Firefox 8 pour les développeurs
- Firefox 7 pour les développeurs
- Firefox 6 pour les développeurs
- Firefox 5 pour les développeurs
- Firefox 4 pour les développeurs
- Firefox 3.6 pour les développeurs
- Firefox 3.5 pour les développeurs
- Firefox 3 pour les développeurs
- Firefox 2 pour les développeurs
- Firefox 1.5 pour les développeurs