Firefox 35 技術文件
{{ ReleaseChannelInfo("35", "35", "January 2015", "Aurora") }}
Want to help document Firefox 35? See the list of bugs that need to be written about and pitch in!
Changes for Web developers
Developer Tools
CSS
- The
mask-type
(en-US) property has been activated by default (bug 1058519). - The
filter
(en-US) property is now activated by default (bug 1057180). - The
@font-face
at-rule now supports WOFF2 fonts (bug 1064737).
HTML
- The obsolete and non-conforming
bottommargin
,leftmargin
,rightmargin
andtopmargin
attributes of the<body> element
have been activated in non-quirks mode (bug 95530).
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
(en-US) (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
(en-US) interface is now available to workers onWorkerNavigator
(en-US) (bug 925849). - The
Element.closest
(en-US) method returns the closest ancestor of the current element (bug 1055533).
MathML
- The
dtls
OpenType feature (via the CSSfont-feature-settings
(en-US) 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.
Security
- The Public Key Pinning (en-US) Extension for HTTP (HPKP) has been implemented. (bug 787133)
Changes for add-on and Mozilla developers
XUL
- 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
.
Older versions
- Firefox 34 for developers (en-US)
- Firefox 33 for developers (en-US)
- Firefox 32 for developers (en-US)
- Firefox 31 for developers (en-US)
- Firefox 30 for developers (en-US)
- Firefox 29 for developers (en-US)
- Firefox 28 for developers (en-US)
- Firefox 27 for developers (en-US)
- Firefox 26 for developers (en-US)
- Firefox 25 for developers (en-US)
- Firefox 24 for developers (en-US)
- Firefox 23 for developers (en-US)
- Firefox 22 for developers (en-US)
- Firefox 21 for developers (en-US)
- Firefox 20 for developers (en-US)
- Firefox 19 for developers (en-US)
- Firefox 18 for developers (en-US)
- Firefox 17 for developers (en-US)
- Firefox 16 for developers (en-US)
- Firefox 15 for developers (en-US)
- Firefox 14 for developers (en-US)
- Firefox 13 for developers (en-US)
- Firefox 12 for developers (en-US)
- Firefox 11 for developers
- Firefox 10 for developers
- Firefox 9 for developers
- Firefox 8 for developers
- Firefox 7 for developers
- Firefox 6 for developers
- Firefox 5 for developers
- Firefox 4 for developers
- Firefox 3.6 for developers
- Firefox 3.5 for developers (en-US)
- Firefox 3 for developers
- Firefox 2 for developers
- Firefox 1.5 for developers