Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Firefox 35 开发者相关变更清单

这篇翻译不完整。请帮忙从英语翻译这篇文章

Firefox 35,基于 Gecko 35, 将会在 January 2015 正式发布。本文记录了开发者们应该注意的,该版本的 Firefox 的各种变化。

Web 开发者相关变更

开发者工具

Highlights:

All devtools bugs fixed between Firefox 34 and Firefox 35.

CSS

HTML

  • The obsolete and non-conforming bottommargin, leftmargin, rightmargin and topmargin 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 ES6 let 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.
  • ES6 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).
  • 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 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.
  • 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.

接口/APIs/DOM

 MathML

  • The 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).

SVG

无变化。

音频/视频

无变化。

网络 & 安全

附加组件和 Mozilla 开发者相关的变更

XUL & 附加组件

  • The private _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.
  • Components.utils.now(), matching Performance.now() has been implemented for non-window chrome code (bug 969490).

Add-on SDK

Highlights

明细

Firefox 34 到 Firefox 35 的 GitHub 提交. 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.

以往版本

文档标签和贡献者

 此页面的贡献者: tiansh, Fiag
 最后编辑者: tiansh,