aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/mozilla/firefox/releases/50/index.html
blob: fc558d4eef930a447f6f0d2e86742bd4151eae11 (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
---
title: Firefox 50 for developers
slug: Mozilla/Firefox/Releases/50
translation_of: Mozilla/Firefox/Releases/50
---
<div>{{FirefoxSidebar}}</div>

<p>O Firefox 50 foi lançado em 15 de novembro de 2016. Este artigo lista as principais alterações que são úteis não só para os desenvolvedores Web, mas também para os desenvolvedores do Firefox e Gecko, assim como os desenvolvedores do Add-on.</p>

<h2 id="Mudanças_para_desenvolvedores_web">Mudanças para desenvolvedores web</h2>

<h3 id="Developer_Tools">Developer Tools</h3>

<p><span class="short_text" id="result_box" lang="pt"><span>Nenhuma mudança</span><span>.</span></span></p>

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

<ul><br>
 <li>For compatibility purposes, the non-standard {{HTMLattrxref("webkitdirectory", "input")}} attribute of the {{HTMLElement("input")}} element, as well as the property {{domxref("HTMLInputElement.webkitDirectory")}} property, have been implemented ({{bug(1258489)}}).</li>
 <li>The default style of {{HTMLElement("bdo")}} now has a {{cssxref("unicode-bidi")}} with the <code>isolate-override</code> value ({{bug(1249497)}}).</li>
</ul>

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

<ul>
 <li>Border-radiused corner with dashed and dotted style is now rendered with specified style instead of solid style ({{bug(382721)}}).</li>
 <li>The non-standard {{cssxref(":-moz-full-screen-ancestor")}} pseudo-class selector has been removed ({{bug(1199529)}}).</li>
 <li>The {{cssxref("box-sizing")}}<code>: padding-box</code> has been removed, since it’s no longer a part of the spec and Firefox was the only major browser to implement it ({{bug(1166728)}}).</li>
 <li>Our experimental implementation of {{cssxref('mask-position')}} now supports animation of this property ({{bug(1273804)}}). It is still available only on Nightly.</li>
 <li>The three values <code>isolate</code>, <code>isolate-override</code>, and <code>plaintext</code> of the {{cssxref("unicode-bidi")}} have been unprefixed ({{bug(1141895)}}).</li>
 <li>In quirk mode, the bullet of a list now inherit the size of the list, like in standard mode ({{bug(648331)}}).</li>
 <li>Changed behavior of the {{cssxref(":in-range")}} and {{cssxref(":out-of-range")}} pseudo-classes to not match disabled or read-only inputs ({{bug(1264157)}}).</li>
 <li>Unprefixed {{cssxref(":any-link")}} pseudo-class {{bug(843579)}}.</li>
 <li>Implemented <code>space</code> value of {{cssxref("border-image-repeat")}} ({{bug(720531)}}).</li>
</ul>

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

<ul>
 <li>The ES2015 {{jsxref("Symbol.hasInstance")}} property has been implemented ({{bug(1054906)}}).</li>
 <li>The ES2017 {{jsxref("Object.getOwnPropertyDescriptors()")}} method has been implemented ({{bug(1245024)}}).</li>
 <li>The behavior of \W in {{jsxref("RegExp")}} with unicode and ignoreCase flags is changed to match recent draft spec. Now it doesn't match to K, S, k, s, and KELVIN SIGN (U+212A), and LATIN SMALL LETTER LONG S (U+017F) ({{bug(1281739)}}).</li>
</ul>

<h3 id="InterfacesAPIsDOM">Interfaces/APIs/DOM</h3>

<h4 id="DOM_HTML_DOM">DOM &amp; HTML DOM</h4>

<ul>
 <li>The {{domxref("HTMLInputElement.webkitdirectory")}} property is now supported ({{bug(1258489)}}).</li>
 <li>Support <code>once</code> option for {{domxref("EventTarget.addEventListener()")}} ({{bug(1287706)}}).</li>
</ul>

<h4 id="Canvas">Canvas</h4>

<p><em>No change.</em></p>

<h4 id="WebGL">WebGL</h4>

<ul>
 <li>The {{domxref("EXT_shader_texture_lod")}} WebGL extension has been implemented ({{bug(1111689)}}).</li>
</ul>

<h4 id="IndexedDB">IndexedDB</h4>

<p><em>No change.</em></p>

<h4 id="Service_Workers">Service Workers</h4>

<ul>
 <li>The {{domxref("WindowClient.navigate()")}} method has been implemented. This method lets you open a specified URL into a client window which is being controlled by the service worker ({{bug(1218148)}}).</li>
</ul>

<h4 id="WebRTC">WebRTC</h4>

<ul>
 <li>The {{domxref("RTCDataChannel.stream")}} property has been removed. This was replaced with {{domxref("RTCDataChannel.id")}} in <a href="/en-US/docs/Mozilla/Firefox/Releases/24">Firefox 24</a>, but was supported for backward compatibility. Please be sure to update your code to use the <code>id</code> property if you haven't done so yet.</li>
</ul>

<h4 id="New_APIs">New APIs</h4>

<p><em>No change.</em></p>

<h4 id="Others">Others</h4>

<ul>
 <li>{{domxref("XMLHttpRequest.getResponseHeader()")}} and {{domxref("XMLHttpRequest.getAllResponseHeaders()")}} now also return empty headers by default. This can be controlled via the preference <code>network.http.keep_empty_response_headers_as_empty_string</code> ({{bug(918721)}}).</li>
</ul>

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

<p><em>No change.</em></p>

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

<p><em>No change.</em></p>

<h3 id="AudioVideo">Audio/Video</h3>

<p><em>No change.</em></p>

<h2 id="HTTP">HTTP</h2>

<ul>
 <li>The experimental (and deprecated) <a href="https://en.wikipedia.org/wiki/SPDY">SPDY</a> 3.1 is now disable by default {{bug(1287132)}}.</li>
 <li>Support for {{HTTPHeader("X-Content-Type-Options")}} has been added ({{bug(471020)}}).</li>
</ul>

<h2 id="Networking">Networking</h2>

<ul>
 <li>The {{htmlattrxref("ping", "a")}} attribute of {{htmlelement("a")}} element is now abiding by the <code><a href="https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives#connect-src">connect-src</a></code> <a href="https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives">CSP 1.1 policy directive</a> ({{bug(1100181)}}).</li>
 <li>Support of the <code><a href="https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives#sandbox">sandbox</a></code> <a href="/en-US/docs/Web/Security/CSP">CSP</a> directive has been added ({{bug(671389)}}).</li>
</ul>

<h2 id="Segurança"><span class="short_text" id="result_box" lang="pt"><span>Segurança</span></span></h2>

<p><span class="short_text" id="result_box" lang="pt"><span>Nenhuma mudança</span><span>.</span></span></p>

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

<h3 id="Interfaces">Interfaces</h3>

<p><em>No change.</em></p>

<h3 id="XUL">XUL</h3>

<p><em>No change.</em></p>

<h3 id="JavaScript_code_modules">JavaScript code modules</h3>

<p><em>No change.</em></p>

<h3 id="XPCOM">XPCOM</h3>

<p><em>No change.</em></p>

<h3 id="Outroas">Outroas</h3>

<p><em>No change.</em></p>

<h2 id="Veja_também"><span class="short_text" id="result_box" lang="pt"><span>Veja também</span></span></h2>

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

<h2 id="Versões_mais_antigas"><span class="short_text" id="result_box" lang="pt"><span>Versões mais antigas</span></span></h2>

<p>{{Firefox_for_developers(49)}}</p>