aboutsummaryrefslogtreecommitdiff
path: root/files/ru/mozilla/firefox/releases/58/index.html
blob: 70439e828fc8a6701c7fcb3583f16ac771f4d29e (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
---
title: Firefox 58 для разработчиков
slug: Mozilla/Firefox/Releases/58
translation_of: Mozilla/Firefox/Releases/58
---
<div>{{FirefoxSidebar}}</div><article class="text-content" id="wikiArticle">
<p class="summary">Данная статья содержит информацию обо всех изменениях в Firefox 58, которые касаются разработчиков. Firefox 58 — текущая <a href="https://www.mozilla.org/en-US/firefox/channel/desktop/#beta">бета-версия Firefox</a>, релиз которой состоится  <a href="https://wiki.mozilla.org/RapidRelease/Calendar#Future_branch_dates">16 января 2018</a>.</p>

<article class="text-content" id="wikiArticle">
<h2 id="Изменения_для_веб-разработчиков">Изменения для веб-разработчиков</h2>

<h3 id="Инструменты_разработчика">Инструменты разработчика</h3>

<ul>
 <li>Код старой версии режима Отзывчивый дизайн (Responsive Design) (включен по умолчанию в pre-Firefox 52) удален из Devtools ({{bug(1305777)}}). Подробнее о новой версии в статье <a href="/en-US/docs/Tools/Responsive_Design_Mode">Responsive Design Mode</a>.</li>
 <li>Возможность просмотривать документацию MDN docs на вкладке CSS на страницах инспектора удалена ({{bug(1382171)}}).</li>
 <li><a href="/en-US/docs/Tools/Page_Inspector/How_to/Edit_CSS_shapes">Маркер CSS фигур </a> включен по умолчанию для фигур (геометрических примтивов), сгенерированных как  {{cssxref("clip-path")}} ({{bug(1405339)}}).</li>
 <li> <a href="/en-US/docs/Tools/Network_Monitor">Network Monitor</a> теперь содержит кнопку для  <a href="/en-US/docs/Tools/Network_Monitor#Pausing_and_resume_network_traffic_recording">останова/записи и просмотра сетевого трафика</a> согласно ({{bug(1005755)}}).</li>
 <li>В <a href="/en-US/docs/Tools/Network_Monitor">Network Monitor</a> фильтр  "Flash" недоступен и все запросы Flash включаются в фильтр "Другое" согласно ({{bug(1413540)}}).</li>
</ul>

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

<p><em>Нет изменений.</em></p>

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

<ul>
 <li>Определение {{cssxref("@font-face/font-display", "font-display")}} доступно по умолчанию для всех платформ ({{bug(1317445)}}).</li>
</ul>

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

<p><em>Нет изменений.</em></p>

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

<ul>
 <li>Метод {{jsxref("Promise.prototype.finally()")}} реализован для ({{bug(1019116)}}).</li>
 <li>Метод {{jsxref("NumberFormat.formatToParts", "Intl.NumberFormat.prototype.formatToParts()")}} реализован для ({{bug(1403319)}}).</li>
 <li>Объект {{jsxref("Global_Objects/DateTimeFormat", "Intl.DateTimeFormat")}} теперь поддерживает атрибут <code>hourCycle</code>  и языковой тег <code>hc</code>  согласно ({{bug(1386146)}}).</li>
</ul>

<h3 id="APIs">APIs</h3>

<h4 id="Новые_интерфейсы_API">Новые интерфейсы API</h4>

<ul>
 <li>Интерфейс API {{domxref("PerformanceNavigationTiming")}} реализован согласно ({{bug(1263722)}}).
  <ul>
   <li>Gecko has also been given a pref that can be used to disable the interface if required — <code>dom.enable_performance_navigation_timing</code>, defaulting to <code>true</code> ({{bug(1403926)}}).</li>
  </ul>
 </li>
</ul>

<h4 id="DOM">DOM</h4>

<ul>
 <li>Errors reported via error objects in certain APIs — for example in the <code>error</code> property of {{domxref("FileReader")}}, {{domxref("IDBRequest")}}, and {{domxref("IDBTransaction")}}, and when requests made via certain methods of {{domxref("RTCPeerConnection")}} are unsuccessful — are now represented by {{domxref("DOMException")}} instances. {{domxref("DOMError")}} is now deprecated, having been removed from the DOM4 spec ({{bug(1120178)}}).</li>
 <li>The <a href="/en-US/docs/Web/API/WebVR_API">WebVR API</a> has been enabled by default on macOS ({{bug(1374399)}}).</li>
 <li>The {{domxref("PerformanceResourceTiming.workerStart")}} property is now supported ({{bug(1191943)}}).</li>
 <li>Budget-based background timeout throttling has been implemented — see <a href="/en-US/docs/Web/API/Page_Visibility_API#Policies_in_place_to_aid_background_page_performance">Policies in place to aid background page performance</a> for more details ({{bug(1377766)}}).</li>
</ul>

<h4 id="DOM_events">DOM events</h4>

<p><em>Нет изменений.</em></p>

<h4 id="Media_и_WebRTC">Media и WebRTC</h4>

<ul>
 <li>The prefixed version of {{domxref("HTMLMediaElement.srcObject")}} has been removed; make sure code is updated to use the standard <code>srcObject</code> instead of <code>mozSrcObject</code> ({{bug(1183495)}}).</li>
</ul>

<h4 id="Canvas_и_WebGL">Canvas и WebGL</h4>

<ul>
 <li>Support for prefixed WebGL extensions has been removed ({{bug(1403413)}}):
  <ul>
   <li>For <code>MOZ_WEBGL_compressed_texture_atc</code> use {{domxref("WEBGL_compressed_texture_atc")}} instead.</li>
   <li>For <code>MOZ_WEBGL_compressed_texture_pvrtc</code> use {{domxref("WEBGL_compressed_texture_pvrtc")}} instead.</li>
   <li>For <code>MOZ_WEBGL_compressed_texture_s3tc</code> use {{domxref("WEBGL_compressed_texture_s3tc")}} instead.</li>
   <li>For <code>MOZ_WEBGL_depth_texture</code> use {{domxref("WEBGL_depth_texture")}} instead.</li>
   <li>For <code>MOZ_WEBGL_lose_context</code> use {{domxref("WEBGL_lose_context")}} instead.</li>
  </ul>
 </li>
</ul>

<h3 id="HTTP">HTTP</h3>

<ul>
 <li><code><a href="/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors">frame-ancestors</a></code> is no longer ignored in {{httpheader("Content-Security-Policy-Report-Only")}} ({{bug(1380755)}}).</li>
 <li>Firefox now implements a TLS handshake timeout with a default value of 30 seconds. The timeout value can be varied by editing the <code>network.http.tls-handshake-timeout</code> pref in about:config ({{bug(1393691)}}).</li>
 <li>The <code><a href="/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/worker-src">worker-src</a></code> CSP directive has been implemented ({{bug(1302667)}}).</li>
</ul>

<h3 id="Безопасность">Безопасность</h3>

<p><em>Нет изменений.</em></p>

<h3 id="Расширения">Расширения</h3>

<p><em>Нет изменений.</em></p>

<h3 id="Другое">Другое</h3>

<ul>
 <li>"Add to home screen" is now supported in Firefox for Android, part of the <a href="/en-US/Apps/Progressive">Progressive Web Apps</a> effort ({{bug(1212648)}}).</li>
 <li><a href="/en-US/docs/WebAssembly">WebAssembly</a> now has a tiered compiler providing load time optimizations ({{bug(1277562)}}), and new streaming APIs — {{jsxref("WebAssembly.compileStreaming()")}} and {{jsxref("WebAssembly.installStreaming()")}} {{bug(1347644)}}.</li>
</ul>

<h2 id="Removals_from_the_web_platform">Removals from the web platform</h2>

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

<ul>
 <li>You can no longer nest an {{htmlelement("a")}} element inside a {{htmlelement("map")}} element to create a hotspot region — an {{htmlelement("area")}} element needs to be used instead ({{bug(1317937)}}).</li>
</ul>

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

<ul>
 <li>The following proprietary Mozilla system metric pseudo-classes are no longer available to web content ({{bug(1396066)}}):
  <ul>
   <li>{{Cssxref(":-moz-system-metric(images-in-menus)")}}</li>
   <li>{{Cssxref(":-moz-system-metric(mac-graphite-theme)")}}</li>
   <li>{{Cssxref(":-moz-system-metric(scrollbar-end-backward)")}}</li>
   <li>{{Cssxref(":-moz-system-metric(scrollbar-end-forward)")}}</li>
   <li>{{Cssxref(":-moz-system-metric(scrollbar-start-backward)")}}</li>
   <li>{{Cssxref(":-moz-system-metric(scrollbar-start-forward)")}}</li>
   <li>{{Cssxref(":-moz-system-metric(scrollbar-thumb-proportional)")}}</li>
   <li>{{Cssxref(":-moz-system-metric(touch-enabled)")}}</li>
   <li>{{Cssxref(":-moz-system-metric(windows-default-theme)")}}</li>
  </ul>
 </li>
 <li>The following proprietary Mozilla media features are no longer available to web content ({{bug(1396066)}}):
  <ul>
   <li><code>-moz-color-picker-available</code></li>
   <li><code>-moz-is-glyph</code></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-mac-graphite-theme"><code>-moz-mac-graphite-theme</code></a></li>
   <li><code>-moz-mac-yosemite-theme</code></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-os-version"><code>-moz-os-version</code></a></li>
   <li><code>-moz-overlay-scrollbars</code></li>
   <li><code>-moz-physical-home-button</code></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-scrollbar-end-backward"><code>-moz-scrollbar-end-backward</code></a></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-scrollbar-end-forward"><code>-moz-scrollbar-end-forward</code></a></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-scrollbar-start-backward"><code>-moz-scrollbar-start-backward</code></a></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-scrollbar-start-forward"><code>-moz-scrollbar-start-forward</code></a></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-scrollbar-thumb-proportional"><code>-moz-scrollbar-thumb-proportional</code></a></li>
   <li><code>-moz-swipe-animation-enabled</code></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-windows-accent-color-in-titlebar"><code>-moz-windows-accent-color-in-titlebar</code></a></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-windows-classic"><code>-moz-windows-classic</code></a></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-windows-compositor"><code>-moz-windows-compositor</code></a></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-windows-default-theme"><code>-moz-windows-default-theme</code></a></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-windows-glass"><code>-moz-windows-glass</code></a></li>
   <li><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-windows-theme"><code>-moz-windows-theme</code></a></li>
  </ul>
 </li>
 <li>The proprietary Mozilla <code>:-moz-styleeditor-transitioning</code> pseudo-class is no longer available to web content ({{bug(1396099)}}).</li>
</ul>

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

<ul>
 <li>The non-standard {{jsxref("Date.prototype.toLocaleFormat()")}} method has been removed ({{bug(818634)}}). See <a href="/en-US/docs/Web/JavaScript/Reference/Errors/Deprecated_toLocaleFormat">Warning: Date.prototype.toLocaleFormat is deprecated</a> for more information and migration help.</li>
 <li>The non-standard and deprecated {{jsxref("Object.prototype.watch()")}} and {{jsxref("Object.prototype.unwatch", "unwatch()")}} methods have been removed and will no longer work ({{bug(638054)}}). Consider using <a href="/en-US/docs/Web/JavaScript/Guide/Working_with_Objects#Defining_getters_and_setters">setters and getters</a> or <a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy">proxies</a> instead.</li>
 <li>The <a href="/en-US/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features/The_legacy_Iterator_protocol">legacy Iterator protocol</a>, the <code><a href="/en-US/docs/Archive/Web/StopIteration">StopIteration</a></code> object, the <a href="/en-US/docs/Web/JavaScript/Reference/Statements/Legacy_generator_function">legacy generator functions</a> and the non-standard {{jsxref("Function.prototype.isGenerator()")}} method have been removed. Use the ES2015 <a href="/en-US/docs/Web/JavaScript/Reference/Iteration_protocols">iteration protocols</a> and standards-compliant <a href="/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators">iterators and generators</a> instead ({{bug(1083482)}}, {{bug(1413867)}}, {{bug(1119777)}}).</li>
 <li>The non-standard <a href="/en-US/docs/Web/JavaScript/Reference/Operators/Array_comprehensions">Array comprehensions</a> and<a href="/en-US/docs/Web/JavaScript/Reference/Operators/Generator_comprehensions"> Generator comprehensions</a> have been removed ({{bug(1414340)}}).</li>
</ul>

<h3 id="APIs_2">APIs</h3>

<ul>
 <li>The proprietary <code>moz-blob</code> and <code>moz-chunked-text</code> values of the {{domxref("XMLHttpRequest.responseType")}} property were removed completely in Firefox 58 ({{bug(1397145)}}, {{bug(1397151)}}, {{bug(1120171)}}).</li>
 <li>The <code>dom.abortController.enabled</code> and <code>dom.abortController.fetch.enabled</code> prefs that controlled exposure of the <a href="/en-US/docs/Web/API/Fetch_API#Aborting_a_fetch">Abort API functionality</a> have now been removed, since those features are now enabled by default ({{bug(1402317)}}).</li>
 <li>The proprietary <code>mozSrcObject</code> property was removed in Firefox 58 ({{bug(1183495)}}). Use the standard {{domxref("HTMLMediaElement.srcObject")}} property instead.</li>
</ul>

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

<p><em>No changes.</em></p>

<h2 id="Changes_for_add-on_and_Mozilla_developers">Changes for add-on and Mozilla developers</h2>

<h3 id="WebExtensions">WebExtensions</h3>

<p><em>No changes.</em></p>

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

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

<ul>
</ul>

<h2 id="Older_versions">Older versions</h2>

<p>{{Firefox_for_developers(57)}}</p>
</article>