--- title: Firefox 35 技術文件 slug: Mozilla/Firefox/Releases/35 translation_of: Mozilla/Firefox/Releases/35 ---
Want to help document Firefox 35? See the list of bugs that need to be written about and pitch in!
Highlights:
All devtools bugs fixed between Firefox 34 and Firefox 35.
mask-type
property has been activated by default (bug 1058519).filter
property is now activated by default (bug 1057180).@font-face
at-rule now supports WOFF2 fonts (bug 1064737).bottommargin
, leftmargin
, rightmargin
and topmargin
attributes of the <body>
element
have been activated in non-quirks mode (bug 95530).let
declarations has been implemented. In conformance with ES6 let
semantics, the following situationslet
within the same scope in function bodies is now a syntax error.let
in function bodies before the declaration is reached and evaluated is now a runtime error.Symbols
(only available in the Nightly channel) have been updated to conform with recent specification changes:
String(Symbol("1"))
now no longer throws a TypeError
; instead a string ("Symbol(1)"
) gets returned (bug 1058396).[[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 from Function.prototype
and Object.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.__proto__:value
will mutate the [[Prototype]]
in the object literal syntax.__proto__() {}
will not overwrite the [[Prototype]]
anymore.NavigatorLanguage
interface is now available to workers on WorkerNavigator
(bug 925849).Element.closest
method returns the closest ancestor of the current element (bug 1055533).dtls
OpenType feature (via the CSS font-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).No change.
No change.
_getTabForBrowser()
method on the tabbrowser
element has been deprecated. In its place, we've added a new, public, method called getTabForBrowser
. This returns, predictably, the tab
element that contains the specified browser
.