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
|
---
title: Firefox 29 для разработчика
slug: Mozilla/Firefox/Releases/29
tags:
- firefox developers
- firefox29
translation_of: Mozilla/Firefox/Releases/29
---
<div>{{FirefoxSidebar}}</div><p>Firefox 29 был выпущен 29 апреля 2014 года. Список ключевых изменений, предоставленный в данной статье будет полезен не только веб-разработчикам, но и Firefox-, Gecko-разработчикам и разработчикам дополнений.</p>
<p>Хотите помочь документировать Firefox 29? Просмотрите <a class="external external-icon" href="http://beta.elchi3.de/doctracker/#list=fx&version=28.0">список недостатков, которые надо устранить</a> и приступайте!</p>
<h2 id="Изменения_для_разработчиков">Изменения для разработчиков</h2>
<h3 id="Инструменты_разработчика">Инструменты разработчика</h3>
<p>Важные изменения:</p>
<ul>
<li>Vastly improved web console - Arrays are shown inline without clicking to bring up in the right inspector, window objects show their url, etc.</li>
<li>Added the <a href="https://developer.mozilla.org/docs/Web/API/console">console API</a> to Web Workers (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=620935">bug 620935</a>). Now you can log messages to the Web Console from Web Workers.</li>
<li>The <a href="/en-US/docs/Tools/Network_Monitor">Network Monitor</a> tool now shows performance statistics using pie charts ({{bug(846601)}}).</li>
<li>On the <a href="/en-US/docs/Tools/Page_Inspector">Inspector</a>, preview tooltips of CSS transforms are now available ({{bug(726427)}}).</li>
<li>DOM elements seen in the debugger and console can be removed or inspected directly, via the new buttons to the right of the variable listing.</li>
<li>A CSS source map is now supported by the <a href="/en-US/docs/Tools/Style_Editor">Style Editor</a> ({{bug(926014)}}).</li>
<li>Autocompletion of CSS properties and values has been added to the <a href="/en-US/docs/Tools/Style_Editor">Style Editor</a> ({{bug(717369)}}).</li>
</ul>
<p><em>Больше деталей и изменений смотрите в <a href="https://hacks.mozilla.org/2014/02/css-source-map-support-network-performance-analysis-more-firefox-developer-tools-episode-29/" title="CSS source map support, network performance analysis & more – Firefox Developer Tools Episode 29 ✩ Mozilla Hacks – the Web developer blog">блоге Mozilla Hacks</a>.</em></p>
<h3 id="CSS">CSS</h3>
<ul>
<li><a href="/en-US/docs/Web/CSS/Using_CSS_variables">CSS variables</a> have been implemented ({{bug("773296")}}). Mozilla Hacks article can be found <a href="https://hacks.mozilla.org/2013/12/css-variables-in-firefox-nightly/">here</a>. They are enabled by default only for non-release builds (on release builds flip the pref <code>layout.css.variables.enabled</code> to <code>true</code> if you want to play with them).</li>
<li>Добавлена поддержка {{cssxref("visibility")}}<code>: collapse</code> в<br>
Flexboxes ({{bug(783470)}}).</li>
<li>Свойство {{cssxref("box-sizing")}} больше не нуждается в префиксе ({{bug(243412)}}).</li>
<li>The {{cssxref("will-change")}} property, a hint to that something will animate has been added. The preference <code>layout.css.will-change.enabled</code> must be switched to <code>true</code> to enable it. ({{bug(940842)}})</li>
<li>Scientific exponential notation, like <code>3e1</code> or <code>10e+0</code>, is now supported for {{cssxref("<number>")}} values ({{bug(964529)}}).</li>
<li>Тип изображения {{cssxref("<gradient>")}} теперь поддерживается в {{cssxref("border-image")}} ({{bug(709587)}}).</li>
<li>The {{cssxref("touch-action")}} property has been implemented. It is not activated by default; the <code>layout.css.touch_action.enabled</code> pref controls it. ({{bug(795567)}})</li>
</ul>
<h3 id="HTML">HTML</h3>
<ul>
<li><code><input type=color></code> и <code><input type=number></code> доступны по умолчанию.</li>
<li>Support for the non standard <code><pre cols></code> has been removed, as well as the layout effect of <code><pre wrap></code> . Both effects can, and should, be achieved using CSS. ({{bug("949879")}})</li>
</ul>
<h3 id="JavaScript">JavaScript</h3>
<ul>
<li>Реализованы новые методы строк в ECMAScript 6: {{jsxref("String.prototype.codePointAt()")}} и {{jsxref("String.prototype.fromCodePoint()")}} ({{bug("918879")}}).</li>
<li>The <a href="http://www.ecma-international.org/ecma-402/1.0/">ECMAScript Internationalization API (ECMA-402)</a> has been implemented and is now enabled by default in Firefox Desktop ({{bug("853301")}}):
<ul>
<li>New objects in the new {{jsxref("Intl")}} object namespace:
<ul>
<li>{{jsxref("Collator", "Intl.Collator")}}</li>
<li>{{jsxref("DateTimeFormat", "Intl.DateTimeFormat")}}</li>
<li>{{jsxref("NumberFormat", "Intl.NumberFormat")}}</li>
</ul>
</li>
<li>The following methods of {{jsxref("String")}}, {{jsxref("Number")}} and {{jsxref("Date")}} have been updated to include the <code>locales</code> and <code>options</code> arguments per ECMA-402:
<ul>
<li>{{jsxref("String.prototype.localeCompare()")}}</li>
<li>{{jsxref("Number.prototype.toLocaleString()")}}</li>
<li>{{jsxref("Date.prototype.toLocaleString()")}}</li>
<li>{{jsxref("Date.prototype.toLocaleDateString()")}}</li>
<li>{{jsxref("Date.prototype.toLocaleTimeString()")}}</li>
</ul>
</li>
</ul>
</li>
<li>To match the updated ECMAScript6 draft specification, the {{jsxref("Map")}} and {{jsxref("Set")}} objects now treat <code>-0</code> and <code>+0</code> as the same when checking for key and value equality.</li>
<li><code>Promise</code> has been enabled by default ({{bug(918806)}}).</li>
<li>Completed generators now returns an {{jsxref("IteratorResult")}} object instead of throwing ({{bug(958951)}}).</li>
<li>A malformed JSON string parsed by {{jsxref("JSON.parse()")}} now yields a more detailed error message containing the line and column number that caused the parsing error. This is useful when debugging large JSON data.</li>
</ul>
<h3 id="ИнтерфейсAPIsDOM">Интерфейс/APIs/DOM</h3>
<ul>
<li>A new type of workers, {{domxref("SharedWorker")}}, is now available by default ({{bug(924089)}}).</li>
<li>The {{domxref("URLUtils")}} interface now supports the {{domxref("URLUtils.searchParams", "searchParams")}} property returning a {{domxref("URLSearchParams")}} object, allowing to modify the search params of an URL ({{bug(887836)}}). The {{domxref("URLSearchParams")}} constructor allows easier parsing of query strings.</li>
<li>The {{domxref("Worker.onLine")}} property is now supported, allowing to know the online/offline status in workers ({{bug(925437)}}).</li>
<li>As part of the implementation of Web Components, the {{domxref("HTMLShadowElement")}} interface has been implemented behind the <code>dom.webcomponents.enabled</code>. Flip it to <code>true</code> if you want to use it. ({{bug(887538)}}).</li>
<li>The read-only property {{domxref("HTMLIFrameElement.sandbox")}} is no longer a {{domxref("string")}} but an {{domxref("HTMLSettableToken")}} ({{bug(845057)}}).</li>
<li>On {{domxref("HTMLCanvasElement.getContext()")}}, the value <code>moz-webgl</code> is no longer supported. Use the standard <code>webgl</code> value ({{bug(913597)}}).</li>
<li>The constructor for {{domxref("ImageData")}} has been added. This interface can be used in a {{domxref("Worker")}}. ({{bug(959958)}})</li>
<li>The property {{domxref("NavigatorLocation.origin", "location.origin")}} is now available in workers ({{bug(964148)}}).</li>
<li>The {{domxref("ValidityState.badInput")}} property has been implemented ({{bug(827161)}}).</li>
<li>The deprecated {{domxref("Window.pkcs11")}} property has been removed; it was returning <code>null</code> since Firefox 3.0.14. ({{bug(964964)}})</li>
<li>The {{domxref("Node.cloneNode()")}} and {{domxref("Document.importNode()")}} methods take the Boolean <code>deep</code> argument. Until now, if omitted, these methods acted as if the value of <code>deep</code> was <code>true</code>. But this behavior has been changed as per the latest spec, and if omitted, the methods will act as if the value was <code>false</code>. ({{bug(937461)}})</li>
<li>{{domxref("Window._content")}} is no longer available to Web content ({{bug(946564)}}).</li>
<li>{{domxref("URLUtils.port")}} behavior has been slightly changed: set to <code>''</code> will set it to the default port associated with the protocol, and <code>0</code> to <code>0.</code> ({{bug(930450)}})</li>
<li>{{domxref("Document.referrer")}} is now based on the incumbent script ({{bug(887928)}}).</li>
<li><a href="/en-US/docs/Web/Guide/API/Gamepad">Gamepad API</a> включён по умолчанию ({{bug(878828)}}).</li>
</ul>
<h3 id="MathML">MathML</h3>
<p><em>Без изменений.</em></p>
<h3 id="SVG">SVG</h3>
<p><em>Без изменений.</em></p>
<h2 id="Безопасность">Безопасность</h2>
<ul>
<li>Реализована экспериментальная директива CSP 1.1 <code>hash-source</code>. Чтобы воспользоваться этой функцией, настройка <code>security.csp.experimentalEnabled</code> должна быть установлена в положение <code>true</code> ({{bug(883975)}}).</li>
</ul>
<h2 id="Изменения_для_разработчиков_дополнений">Изменения для разработчиков дополнений</h2>
<ul>
<li><a href="/en-US/Firefox/Australis_add-on_compat">Совместимость дополнений с Australis</a> - <span id="result_box" lang="ru"><span class="hps">Это</span> <span class="hps">существенное изменение</span> <span class="hps">темы</span> <span class="hps">Firefox</span><span>, что</span> <span class="hps">влияет на большинство</span> <span class="hps">расширений,</span> <span class="hps">связанных с</span> <span class="hps">пользовательским интерфейсом</span> <span class="hps">Firefox</span></span>.</li>
</ul>
<p>Об изменениях, не касающихся Austrlis, будет объявлено позднее.</p>
<h2 id="См._также">См. также</h2>
<ul>
<li><a href="/en-US/docs/Mozilla/Firefox/Releases/29/Site_Compatibility">Совместимость сайтов с Firefox 29</a></li>
</ul>
<h3 id="Предыдущие_версии">Предыдущие версии</h3>
<p>{{Firefox_for_developers('28')}}</p>
|