aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/mozilla/firefox/releases/35/index.html
blob: c7d75e5f949f715a86219d3836abe9067023aad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
---
title: Firefox 35 开发者相关变更清单
slug: Mozilla/Firefox/Releases/35
tags:
  - Firefox
  - Firefox 35
translation_of: Mozilla/Firefox/Releases/35
---
<div><section class="Quick_links" id="Quick_Links">
  <ol>
    <li class="toggle">
        <details>
            <summary>Firefox developer 发布说明</summary>
            <ol>
              <li><a href="/zh-CN/docs/Mozilla/Firefox/Releases">Firefox developer 发布说明</a></li>
            </ol>
        </details>
    </li>
    <li class="toggle">
        <details>
            <summary>附加组件</summary>
            <ol>
              <li><a href="/zh-CN/Add-ons/WebExtensions">浏览器扩展</a></li>
              <li><a href="/zh-CN/Add-ons/Themes">主题</a></li>
            </ol>
        </details>
    </li>
    <li class="toggle">
        <details>
            <summary>Firefox 的内部机制</summary>
            <ol>
              <li><a href="/zh-CN/docs/Mozilla/">Mozilla 项目</a></li>
              <li><a href="/zh-CN/docs/Mozilla/Gecko">Gecko</a></li>
              <li><a href="/zh-CN/docs/Mozilla/Firefox/Headless_mode">Headless mode</a></li>
              <li><a href="/zh-CN/docs/Mozilla/JavaScript_code_modules">JavaScript代码模块</a></li>
              <li><a href="/zh-CN/docs/Mozilla/js-ctypes">JS-ctypes</a></li>
              <li><a href="/zh-CN/docs/Mozilla/MathML_Project">MathML 项目</a></li>
              <li><a href="/zh-CN/docs/Mozilla/MFBT">MFBT</a></li>
              <li><a href="/zh-CN/docs/Mozilla/Projects">Mozilla 项目</a></li>
              <li><a href="/zh-CN/docs/Mozilla/Preferences">Preference 系统</a></li>
              <li><a href="/zh-CN/docs/Mozilla/WebIDL_bindings">WebIDL 绑定</a></li>
              <li><a href="/zh-CN/docs/Mozilla/Tech/XPCOM">XPCOM</a></li>
              <li><a href="/zh-CN/docs/Mozilla/Tech/XUL">XUL</a></li>
            </ol>
        </details>
    </li>
    <li class="toggle">
        <details>
            <summary>构建与作出贡献</summary>
            <ol>
              <li><a href="/zh-CN/docs/Mozilla/Developer_guide/Build_Instructions">构建说明</a></li>
              <li><a href="/zh-CN/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options">配置构建选项</a></li>
              <li><a href="/zh-CN/docs/Mozilla/Developer_guide/Build_Instructions/How_Mozilla_s_build_system_works">构建系统如何工作</a></li>
              <li><a href="/zh-CN/docs/Mozilla/Developer_guide/Source_Code/Mercurial">Mozilla源代码</a></li>
              <li><a href="/zh-CN/docs/Mozilla/Localization">本地化</a></li>
              <li><a href="/zh-CN/docs/Mozilla/Mercurial">Mercurial</a></li>
              <li><a href="/zh-CN/docs/Mozilla/QA">质量保证</a></li>
              <li><a href="/zh-CN/docs/Mozilla/Using_Mozilla_code_in_other_projects">在其他项目中使用来自Mozilla的代码</a></li>
            </ol>
        </details>
    </li>
  </ol>
</section></div><div>Firefox 35 was released on January 13th, 2015. This article lists key changes that are useful not only for web developers, but also Firefox and Gecko developers as well as add-on developers.</div>

<h2 id="Web_开发者相关变更">Web 开发者相关变更</h2>

<h3 id="开发者工具">开发者工具</h3>

<p>Highlights:</p>

<ul>
 <li><a href="https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector#.3A.3Abefore_and_.3A.3Aafter">See ::before and ::after pseudo elements in the Page Inspector</a></li>
 <li><a href="https://developer.mozilla.org/en-US/docs/Tools/Style_Editor#Source_map_support">CSS source maps are now enabled by default</a></li>
 <li><a href="https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector#Element_popup_menu_2">"Show DOM Properties" from the Page Inspector</a></li>
</ul>

<p><a class="external-icon external" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&amp;chfieldto=2014-10-13&amp;chfield=resolution&amp;query_format=advanced&amp;chfieldfrom=2014-09-02&amp;chfieldvalue=FIXED&amp;component=Developer%20Tools&amp;component=Developer%20Tools%3A%203D%20View&amp;component=Developer%20Tools%3A%20Canvas%20Debugger&amp;component=Developer%20Tools%3A%20Console&amp;component=Developer%20Tools%3A%20Debugger&amp;component=Developer%20Tools%3A%20Framework&amp;component=Developer%20Tools%3A%20Graphic%20Commandline%20and%20Toolbar&amp;component=Developer%20Tools%3A%20Inspector&amp;component=Developer%20Tools%3A%20Memory&amp;component=Developer%20Tools%3A%20Netmonitor&amp;component=Developer%20Tools%3A%20Object%20Inspector&amp;component=Developer%20Tools%3A%20Profiler&amp;component=Developer%20Tools%3A%20Responsive%20Mode&amp;component=Developer%20Tools%3A%20Scratchpad&amp;component=Developer%20Tools%3A%20Source%20Editor&amp;component=Developer%20Tools%3A%20Storage%20Inspector&amp;component=Developer%20Tools%3A%20Style%20Editor&amp;component=Developer%20Tools%3A%20Timeline&amp;component=Developer%20Tools%3A%20User%20Stories&amp;component=Developer%20Tools%3A%20Web%20Audio%20Editor&amp;component=Developer%20Tools%3A%20WebGL%20Shader%20Editor&amp;component=Developer%20Tools%3A%20WebIDE&amp;component=Simulator&amp;product=Firefox&amp;product=Firefox%20OS&amp;list_id=11184176">All devtools bugs fixed between Firefox 34 and Firefox 35</a>.</p>

<h3 id="CSS">CSS</h3>

<ul>
 <li><a href="/zh-CN/docs/Web/CSS/mask-type" title="此页面仍未被本地化, 期待您的翻译!"><code>mask-type</code></a> 属性默认启用 (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1058519" title="FIXED: Ship mask-type CSS property">bug 1058519</a>)。</li>
 <li><a href="/zh-CN/docs/Web/CSS/filter" title="CSS滤镜(filter)属提供的图形特效,像模糊,锐化或元素变色。过滤器通常被用于调整图片,背景和边界的渲染。"><code>filter</code></a> 属性默认启用 (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1057180" title="FIXED: Turn on CSS Filters by default (by enabling about:config pref)">bug 1057180</a>)。</li>
 <li><a href="/zh-CN/docs/Web/CSS/@font-face" title="这是一个叫做@font-face 的CSS @规则 ,它允许网页开发者为其网页指定在线字体。 通过这种作者自备字体的方式,@font-face 可以消除对用户电脑字体的依赖。 @font-face 不仅可以放在在CSS的最顶层, 也可以放在 @规则 的 条件规则组 中。"><code>@font-face</code></a> at-rule 支持 WOFF2 字体 (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1064737" title="FIXED: support WOFF2 fonts via @font-face">bug 1064737</a>)。</li>
 <li>支持 <a href="/zh-CN/docs/Web/CSS/symbol()" title="此页面仍未被本地化, 期待您的翻译!"><code>symbol()</code></a> 函数注解 (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=966168" title="FIXED: Implement symbols() CSS function">bug 966168</a>)。</li>
 <li>实现 CSS Font Loading API  (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1028497" title="FIXED: implement the CSS Font Loading API">bug 1028497</a>)。</li>
 <li><span id="summary_alias_container"><span id="short_desc_nonedit_display">在下拉框上设置 <a href="/zh-CN/docs/Web/CSS/appearance" title="此页面仍未被本地化, 期待您的翻译!"><code>-moz-appearance</code></a><code>none</code> 值,会移除下拉按钮</span></span> (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=649849" title="FIXED: Make -moz-appearance:none on a combobox remove the dropdown button">bug 649849</a>)。</li>
 <li>The property accessor <code>element.style["css-property-name"]</code> has been added to match other browsers (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=958887" title='FIXED: Add support for element.style["css-property-name"] non-standard extension'>bug 958887</a>).</li>
</ul>

<h3 id="HTML">HTML</h3>

<ul>
 <li>The obsolete and non-conforming <code>bottommargin</code>, <code>leftmargin</code>, <code>rightmargin</code> and <code>topmargin</code> attributes of the <code><a href="/zh-CN/docs/Web/HTML/Element/body" title="HTML body 元素表示文档的内容。document.body 属性提供了可以轻松访问文档的 body 元素的脚本。"><code>&lt;body&gt;</code></a> element</code> have been activated in non-quirks mode (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=95530" title="FIXED: topmargin and leftmargin attributes on the BODY element should be honored in all modes (not just Quirks mode)">bug 95530</a>).</li>
</ul>

<h3 id="JavaScript">JavaScript</h3>

<ul>
 <li>The "<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let#Temporal_dead_zone_and_errors_with_let">temporal dead zone</a>" for <a href="/en-US/docs/Web/JavaScript/Reference/Statements/let"><code>let</code></a> declarations has been implemented. In conformance with ES6 <code>let</code> semantics, the following situations<br>
  now throw errors. See also this<a href="https://groups.google.com/forum/#!topic/mozilla.dev.platform/tezdW299Zds"> newsgroup announcement</a> and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1001090" title='FIXED: Implement ES6 "temporal dead zone" for let'>bug 1001090</a>.

  <ul>
   <li>Redeclaring existing variables or arguments using <code>let</code> within the same scope in function bodies is now a syntax error.</li>
   <li>Using a variable declared using <code>let</code> in function bodies before the declaration is reached and evaluated is now a runtime error.</li>
  </ul>
 </li>
 <li>ES6 <a href="/zh-CN/docs/Web/JavaScript/Reference/Symbols" title="此页面仍未被本地化, 期待您的翻译!"><code>Symbols</code></a> (only available in the Nightly channel) have been updated to conform with recent specification changes:
  <ul>
   <li><code>String(Symbol("1"))</code> now no longer throws a <a href="/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/TypeError" title="TypeError(类型错误) 对象用来表示值的类型非预期类型时发生的错误。"><code>TypeError</code></a>; instead a string (<code>"Symbol(1)"</code>) gets returned (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1058396" title="FIXED: String(aSymbol) now returns the symbol’s description in ES6 draft rev 27">bug 1058396</a>).</li>
  </ul>
 </li>
 <li>The various <a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#TypedArray_objects"><em>TypedArray</em> constructors</a> now have as their <code>[[Prototype]]</code> a single function, denoted <code>%TypedArray%</code>  in ES6 (but otherwise not directly exposed).  Each typed array prototype now inherits from <code>%TypedArray%.prototype</code>.  (<code>%TypedArray%</code> and <code>%TypedArray%.prototype</code> inherit from <a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/prototype"><code>Function.prototype</code></a> and <a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/prototype"><code>Object.prototype</code></a>, respectively, so that typed array constructors and instances still have the properties found on those objects.)  Typed array function properties now reside on <code>%TypedArray%.prototype</code> and work on any typed array.  See <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#Description"><em>TypedArray</em></a> and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=896116" title="FIXED: Implement ES6 %TypedArray% superclass that all ArrayBufferViews inherit from">bug 896116</a> for more information.</li>
 <li>ES6 semantics for <a href="/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer#Prototype_mutation">prototype mutations using object literals</a> have been implemented (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1061853" title="FIXED: Implement ES6 object-literal __proto__ restrictions/semantics">bug 1061853</a>).
  <ul>
   <li>Now only a single member notated as <code>__proto__:value</code> will mutate the <code>[[Prototype]]</code> in the object literal syntax.</li>
   <li>Method members like <code>__proto__() {}</code> will not overwrite the <code>[[Prototype]]</code> anymore.</li>
  </ul>
 </li>
</ul>

<h3 id="接口APIsDOM">接口/APIs/DOM</h3>

<ul>
 <li>The <a href="/zh-CN/docs/Web/API/NavigatorLanguage" title="NavigatorLanguage 包含涉及导航(Navigator)的语言特性的方法和属性。"><code>NavigatorLanguage</code></a> interface is now available to workers on <a href="/zh-CN/docs/Web/API/WorkerNavigator" title="此页面仍未被本地化, 期待您的翻译!"><code>WorkerNavigator</code></a> (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=925849" title="FIXED: WorkerNavigator does not implement NavigatorLanguage">bug 925849</a>).</li>
 <li>The <a href="/zh-CN/docs/Web/API/Element/closest" title="Element.closest() 方法用来获取:匹配特定选择器且离当前元素最近的祖先元素(也可以是当前元素本身)。如果匹配不到,则返回 null。"><code>Element.closest()</code></a> method returns the closest ancestor of the current element (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1055533" title="FIXED: Implement Element.closest()">bug 1055533</a>).</li>
 <li>Experimental support for the <a href="/zh-CN/docs/Web/API/CanvasRenderingContext2D/filter" title="CanvasRenderingContext2D.filter 是Canvas 2D API 提供模糊、灰度等过滤效果的属性 。它类似于 CSS filter 属性,并且接受相同的函数。"><code>CanvasRenderingContext2D.filter</code></a> property has been added behind the <code>canvas.filters.enabled</code> flag (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=927892" title="FIXED: Exposing the CSS/SVG Filters as Canvas APIs">bug 927892</a>).</li>
 <li>Our experimental implementation of Web Animations progresses with the landing of the <a href="/zh-CN/docs/Web/API/Animation/target" title="此页面仍未被本地化, 期待您的翻译!"><code>Animation.target</code></a> property. This always is behind the <code>dom.animations-api.core.enabled</code> pref, off by default (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1067701" title="FIXED: Implement Animation.target">bug 1067701</a>).</li>
 <li>The <a href="/zh-CN/docs/Web/API/Element/hasAttributes" title="hasAttributes属性返回一个布尔值true或false,来表明当前元素节点是否有至少一个的属性(attribute)."><code>hasAttributes()</code></a> method has been moved from <a href="/zh-CN/docs/Web/API/Node" title="Node是一个接口,许多DOM类型从这个接口继承,并允许类似地处理(或测试)这些各种类型。"><code>Node</code></a> to <a href="/zh-CN/docs/Web/API/Element" title="Element是非常通用的基类,所有 Document对象下的对象都继承它. 这个接口描述了所有相同种类的元素所普遍具有的方法和属性。 这些继承自Element并且增加了一些额外功能的接口描述了具体的行为. 例如,  HTMLElement 接口是所有HTML元素的基础接口, 而 SVGElement 接口是所有SVG元素的基本接口.大多数功能在类的层次中进一步制定."><code>Element</code></a> as required by the spec (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1055773" title="FIXED: Move hasAttributes() to Element">bug 1055773</a>).</li>
 <li>The <code>crossOrigin</code> reflected attribute of <a href="/zh-CN/docs/Web/API/HTMLImageElement" title="HTMLImageElement 接口提供了特别的属性和方法 (在常规的 HTMLElement之外,它也能通过继承使用)来操纵 &lt;img> 元素的布局和图像."><code>HTMLImageElement</code></a>, <a href="/zh-CN/docs/Web/API/HTMLLinkElement" title="The HTMLLinkElement interface represents reference information for external resources and the relationship of those resources to a document and vice-versa. This object inherits all of the properties and methods of the HTMLElement interface."><code>HTMLLinkElement</code></a>, <a href="/zh-CN/docs/Web/API/HTMLMediaElement" title="从父级元素 HTML 元素继承属性"><code>HTMLMediaElement</code></a>, <a href="/zh-CN/docs/Web/API/HTMLScriptElement" title="HTML script elements expose the HTMLScriptElement interface, which provides special properties and methods (beyond the regular HTMLElement object interface they also have available to them by inheritance) for manipulating the layout and presentation of &lt;script> elements."><code>HTMLScriptElement</code></a>, and <a href="/zh-CN/docs/Web/API/SVGScriptElement" title="此页面仍未被本地化, 期待您的翻译!"><code>SVGScriptElement</code></a> only accepts valid values, and <code>""</code> isn't, <code>null</code> has to be used instead (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=880997" title="FIXED: Reflect crossOrigin as a limited enumerated attribute">bug 880997</a>).</li>
 <li>The Resource Timing API has been activated by default (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1002855" title="FIXED: Turn on Resource Timing">bug 1002855</a>).</li>
 <li>To match the spec, the first argument of <a href="/zh-CN/docs/Web/API/Selection/containsNode" title="Selection.containsNode() 判断指定的节点是否包含在Selection中(是否被选中)."><code>Selection.containsNode()</code></a> cannot be <code>null</code> anymore (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1068058" title="FIXED: Update Selection.containsNode according to the spec">bug 1068058</a>).</li>
 <li>The new <a href="/zh-CN/docs/Web/API/ImageCapture" title="此页面仍未被本地化, 期待您的翻译!"><code>ImageCapture</code></a> API has been implemented: <a href="/zh-CN/docs/Web/API/ImageCapture/takePhoto" title="此页面仍未被本地化, 期待您的翻译!"><code>ImageCapture.takePhoto()</code></a> is available (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=916643" title="FIXED: ImageCapture - Implement WebIDL and takePhoto()">bug 916643</a>).</li>
 <li>Non-HTTP <a href="/zh-CN/docs/Web/API/XMLHttpRequest" title="使用XMLHttpRequest (XHR)对象可以与服务器交互。您可以从URL获取数据,而无需让整个的页面刷新。这使得Web页面可以只更新页面的局部,而不影响用户的操作。XMLHttpRequest在 Ajax 编程中被大量使用。"><code>XMLHttpRequest</code></a> requests now return <code>200</code> in case of success (instead of the erroneous <code>0</code>) (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=716491" title="FIXED: Investigate the status code for non-HTTP XHR.">bug 716491</a>).</li>
 <li><a href="/zh-CN/docs/Web/API/XMLHttpRequest/responseURL" title="如果URL为空,只读的XMLHttpRequest.responseURL属性返回响应的序列化URL或空字符串。当URL被返回的时候,任何包含在URL # 后面的fragment都会被删除。 responseURL 的值将会是经过任意多次重定向后的最终 URL 。"><code>XMLHttpRequest.responseURL</code></a> has been adapted to the latest spec and doesn't include the fragment (<code>'#xyz'</code>) of the URL, if relevant (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1073882" title="FIXED: XMLHttpRequest.prototype.responseURL should not have fragment per latest spec">bug 1073882</a>).</li>
 <li>The internal, non-standard, <a href="/zh-CN/docs/Web/API/File/mozFullPath" title="此页面仍未被本地化, 期待您的翻译!"><code>File.mozFullPath</code></a> property is no more visible from content (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1048293" title="FIXED: File::mozFullPath attribute should not be exposed to content.">bug 1048293</a>).</li>
 <li>The constructor of <a href="/zh-CN/docs/Web/API/File" title="文件(File) 接口提供有关文件的信息,并允许网页中的 JavaScript 访问其内容。"><code>File</code></a> has been extended to match the specification (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1047483" title="FIXED: Porting DOMFile/DOMBlob to WebIDL">bug 1047483</a>).</li>
 <li>An experimental implementation of <a href="/zh-CN/docs/Web/API/AbortablePromise" title="此页面仍未被本地化, 期待您的翻译!"><code>AbortablePromise</code></a>, a promise that can be aborted by a different entity that the one who created it, has been added. It is prefixed with <code>Moz</code> and controlled by the <code>dom.abortablepromise.enabled </code>property, defaulting to <code>false</code> (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1035060" title="FIXED: Implement AbortablePromise">bug 1035060</a>).</li>
 <li>The non-standard <a href="/zh-CN/docs/Web/API/Navigator/mozIsLocallyAvailable" title="查询某个URI上的资源是否是本地可用的."><code>Navigator.mozIsLocallyAvailable</code></a> property has been removed (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1066826" title="FIXED: Remove Navigator::MozisLocallyAvailable API">bug 1066826</a>).</li>
 <li>The preference <code>network.websocket.enabled,</code> <code>true</code> by default, has been removed; <a href="https://developer.mozilla.org/en-US/docs/WebSockets">Websocket</a> API cannot be deactivated anymore (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1091016" title="FIXED: Pref network.websocket.enabled is no longer reasonable">bug 1091016</a>).</li>
 <li>The non-standard methods and properties of <a href="/zh-CN/docs/Web/API/Window/crypto" title="Window.crypto只读属性返回与全局对象关联的 Crypto对象。 此对象允许网页访问某些加密相关服务。"><code>Window.crypto</code></a> have been removed (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1030963" title="FIXED: remove proprietary window.crypto functions/properties">bug 1030963</a>). Only methods and properties defined in the standard WebCrypto API are left.</li>
 <li>Our experimental implementation of WebGL 2.0 is going forward!
  <ul>
   <li>The <a href="/zh-CN/docs/Web/API/WebGL2RenderingContext/copyBufferSubData" title="此页面仍未被本地化, 期待您的翻译!"><code>WebGL2RenderingContext.copyBufferSubData()</code></a> method has been implemented (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1048668" title="FIXED: WebGL2 - Implement CopyBufferSubData">bug 1048668</a>).</li>
  </ul>
 </li>
</ul>

<h3 id="MathML"> MathML</h3>

<ul>
 <li>The <code>dtls</code> OpenType feature (via the CSS <a href="/zh-CN/docs/Web/CSS/font-feature-settings" title="font-feature-settings CSS属性可让您控制OpenType字体中的高级印刷功能。"><code>font-feature-settings</code></a> on the default stylesheet) is now applied automatically to MathML elements when positioning scripts over it (e.g. dotless i with mathematical hat).</li>
</ul>

<h3 id="SVG">SVG</h3>

<p><em>无变化。</em></p>

<h3 id="音频视频">音频/视频</h3>

<p><em>无变化。</em></p>

<h2 id="网络_安全">网络 &amp; 安全</h2>

<ul>
 <li>HTTP/2 has been implemented and activated, with AEAD ciphers only (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1027720" title="FIXED: Restrict HTTP/2 connections to AEAD ciphers only">bug 1027720</a> and <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1047594" title="FIXED: Enable http/2 (and alpn) by default">bug 1047594</a>).</li>
 <li>支持 HTTP/2 <code>alt-svc</code> header (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1003448" title="FIXED: http/2 alt-svc support">bug 1003448</a>)。</li>
 <li>实现 HTTP (HPKP) 的 <a href="/en-US/docs/Web/Security/Public_Key_Pinning">Public Key Pinning</a> 扩展 (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=787133" title="FIXED: Implement Public Key Pinning Extension for HTTP (HPKP)">bug 787133</a>)。</li>
 <li>The <a href="https://developer.mozilla.org/en-US/docs/Web/Security/CSP">CSP</a> 1.1 <code>base-uri</code> <a href="https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives">directive</a> is now supported (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1045897" title="FIXED: Implement CSP 1.1 base-uri directive">bug 1045897</a>).</li>
 <li>Path of the source is now considered too when host-source matching happens in <a href="https://developer.mozilla.org/en-US/docs/Web/Security/CSP">CSP</a> (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=808292" title="FIXED: Implement path-level host-source matching to CSP">bug 808292</a>).</li>
</ul>

<h2 id="附加组件和_Mozilla_开发者相关的变更">附加组件和 Mozilla 开发者相关的变更</h2>

<h3 id="XUL_附加组件">XUL &amp; 附加组件</h3>

<ul>
 <li>The private <code>_getTabForBrowser()</code> method on the <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/tabbrowser" title="tabbrowser">tabbrowser</a></code> element has been deprecated. In its place, we've added a new, public, method called <span id="m-getTabForBrowser"><code><a href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Tech/XUL/Method/getTabForBrowser">getTabForBrowser</a></code></span>. This returns, predictably, the <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/tab" title="tab">tab</a></code> element that contains the specified <code><a href="/zh-CN/docs/Mozilla/Tech/XUL/browser" title="browser">browser</a></code>.</li>
 <li><code>Components.utils.now()</code>, matching <a href="/zh-CN/docs/Web/API/Performance/now" title="performance.now()方法返回一个精确到毫秒的  DOMHighResTimeStamp 。"><code>Performance.now()</code></a> has been implemented for non-window chrome code (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=969490" title="FIXED: Implement Components.utils.now() to match Performance.now() for non-window chrome code">bug 969490</a>).</li>
</ul>

<h3 id="Add-on_SDK">Add-on SDK</h3>

<h4 id="Highlights">Highlights</h4>

<ul>
 <li>增加 <a href="https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Add_a_Context_Menu_Item#Adding_an_access_key">上下文菜单的快捷键</a></li>
 <li>移除 <a href="https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/windows#BrowserWindow"><code>BrowserWindow</code></a><code>isPrivateBrowsing</code></li>
 <li>added <code><a href="https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/url#toJSON%28%29">toJSON</a> </code>method to <code>URL</code> instances from <a href="https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/url">sdk/url</a></li>
</ul>

<h4 id="明细">明细</h4>

<p><a class="external external-icon" href="https://github.com/mozilla/addon-sdk/compare/firefox34...firefox35">Firefox 34 到 Firefox 35 的</a><a class="external external-icon" href="https://github.com/mozilla/addon-sdk/compare/firefox34...firefox35"> GitHub 提交</a>. This will not include any uplifts made after this release entered Aurora.</p>

<p><a class="external external-icon" href="https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&amp;chfieldto=2014-10-13&amp;chfield=resolution&amp;query_format=advanced&amp;chfieldfrom=2014-09-02&amp;chfieldvalue=FIXED&amp;bug_status=RESOLVED&amp;bug_status=VERIFIED&amp;bug_status=CLOSED&amp;product=Add-on%20SDK&amp;list_id=11562840">Bugs fixed between Firefox 34 and Firefox 35</a>. This will not include any uplifts made after this release entered Aurora.</p>

<p> </p>

<h2 id="See_also">See also</h2>

<ul>
 <li><a href="https://www.fxsitecompat.com/en-US/versions/35/">Site Compatibility for Firefox 35</a></li>
</ul>

<p> </p>

<h2 id="以往版本">以往版本</h2>

<div class="multiColumnList">
<ul>
<li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/34">Firefox 34 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/33">Firefox 33 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/32">Firefox 32 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/31">Firefox 31 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/30">Firefox 30 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/29">Firefox 29 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/28">Firefox 28 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/27">Firefox 27 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/26">Firefox 26 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/25">Firefox 25 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/24">Firefox 24 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/23">Firefox 23 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/22">Firefox 22 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/21">Firefox 21 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/20">Firefox 20 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/19">Firefox 19 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/18">Firefox 18 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/17">Firefox 17 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/16">Firefox 16 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/15">Firefox 15 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/14">Firefox 14 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/13">Firefox 13 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/12">Firefox 12 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/11">Firefox 11 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/10">Firefox 10 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/9">Firefox 9 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/8">Firefox 8 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/7">Firefox 7 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/6">Firefox 6 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/5">Firefox 5 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/4">Firefox 4 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/3.6">Firefox 3.6 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/3.5">Firefox 3.5 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/3">Firefox 3 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/2">Firefox 2 for developers</a></li><li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/1.5">Firefox 1.5 for developers</a></li></ul>
</div>