diff options
Diffstat (limited to 'files/zh-cn/mozilla/firefox/releases/65')
-rw-r--r-- | files/zh-cn/mozilla/firefox/releases/65/index.html | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/files/zh-cn/mozilla/firefox/releases/65/index.html b/files/zh-cn/mozilla/firefox/releases/65/index.html new file mode 100644 index 0000000000..548193494e --- /dev/null +++ b/files/zh-cn/mozilla/firefox/releases/65/index.html @@ -0,0 +1,128 @@ +--- +title: Firefox 65 for developers +slug: Mozilla/Firefox/Releases/65 +tags: + - '65' +translation_of: Mozilla/Firefox/Releases/65 +--- +<div>{{FirefoxSidebar}}{{Draft}}</div> + +<p class="summary">本文提供了有关 Firefox 65 中将影响开发者的更改信息。 Firefox 65 是当前的 <a href="https://www.mozilla.org/en-US/firefox/channel/desktop/#beta" rel="noopener">Nightly 版本</a>, 将于2019年1月29日发布。</p> + +<h2 id="为网页开发者带来的改变">为网页开发者带来的改变</h2> + +<h3 id="开发者工具">开发者工具</h3> + +<h4 id="移除">移除</h4> + +<h3 id="HTML">HTML</h3> + +<p>事件现在可以在禁用状态下的 HTML 元素上进行分发,如设置了 <code>disabled</code> 属性的 {{htmlelement("button")}}, {{htmlelement("fieldset")}}, {{htmlelement("input")}}, {{htmlelement("select")}},和 {{htmlelement("textarea")}} ({{bug(329509)}})。</p> + +<h4 id="移除_2">移除</h4> + +<h3 id="CSS">CSS</h3> + +<ul> + <li>已去除 {{cssxref("image-rendering")}} 属性的 <code>crisp-edges</code> 值的前缀({{bug(1496617)}}) 。</li> + <li>{{cssxref("scrollbar-color")}} 的 <code>auto</code> 值现在现在被解析为 <code>auto</code>,而不是两种颜色 ({{bug(1501418)}})。</li> +</ul> + +<h4 id="移除_3">移除</h4> + +<ul> + <li><code>layout.css.shape-outside.enabled</code> 设置已被移除;{{cssxref("shape-outside")}}, {{cssxref("shape-margin")}},和 {{cssxref("shape-image-threshold")}} 不再支持关闭 ({{bug(1504387)}})。</li> + <li> + <div class="textpanel-target-textblock"><span class="text-dst">Firefox 用户</span>{{cssxref("user-select")}}<span class="text-dst">的几个仅限的属性已被删除-</span></div> + — <code>-moz-all</code>, <code>tri-state</code>, <code>element</code>, <code>elements</code>, 和 <code>toggle</code>. Firefox<span class="text-dst"> 仅限</span> <code>-moz-text</code> <span class="text-dst">属性仍在内部使用,故只是在Web内容中禁用</span> <span class="text-dst">参见</span> {{bug(1492958)}}.</li> +</ul> + +<h3 id="SVG">SVG</h3> + +<p><em>无变化。</em></p> + +<h4 id="移除_4">移除</h4> + +<h3 id="JavaScript">JavaScript</h3> + +<h4 id="移除_5">移除</h4> + +<h3 id="APIs">APIs</h3> + +<p><em>无变化。</em></p> + +<h4 id="新的_APIs">新的 APIs</h4> + +<h4 id="DOM">DOM</h4> + +<ul> + <li>{{domxref("Performance.toJSON()")}} has been exposed to <a href="/en-US/docs/Web/API/Web_Workers_API">Web Workers</a> ({{bug(1504958)}}).</li> + <li>{{domxref("XMLHttpRequest")}} requests will now throw a <code>NetworkError</code> if the requested content type is a <code>Blob</code>, and the request method is not <code>GET</code> ({{bug(1502599)}}).</li> +</ul> + +<h4 id="DOM_events">DOM events</h4> + +<ul> + <li>Going forward, only one {{domxref("Window.open()")}} call is allowed per event ({{bug(675574)}}).</li> +</ul> + +<h4 id="Service_workers">Service workers</h4> + +<ul> + <li>The {{domxref("Response.redirect()")}} method now correctly throws a <code>TypeError</code> if a non-valid URL is specified as the first parameter ({{bug(1503276)}}).</li> + <li>The {{domxref("ServiceWorkerContainer.register()")}} and {{domxref("WorkerGlobalScope.importScripts()")}} (when used by a service worker) methods will now accept any files with a valid <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types">JavaScript MIME type</a> ({{bug(1354577)}}).</li> +</ul> + +<h4 id="Media_Web_Audio_和_WebRTC">Media, Web Audio, 和 WebRTC</h4> + +<ul> + <li>增加了对 <a href="/en-US/docs/Glossary/webp">WebP</a> Google压缩图像文件的支持 (<a class="external external-icon" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1294490" rel="noopener" title="FIXED: Implement WebP image support">bug 1294490</a>) 。</li> +</ul> + +<h4 id="Canvas_和_WebGL">Canvas 和 WebGL</h4> + +<h4 id="移除_6">移除</h4> + +<ul> + <li><a href="/en-US/docs/Web/Guide/Events/Mutation_events">Mutation events</a> 在shadow trees上已经被禁用 ({{bug(1489858)}}).</li> + <li>The non-standard {{domxref("MediaStream")}} property <code>currentTime</code> has been removed ({{bug(1502927)}}).</li> + <li>The obsolete {{domxref("BasicCardRequest.supportedTypes")}} property is no longer supported by the Payment Request API; instead of requiring the web app or site to figure out what type of card is being used, it's now the server's job to deal with it ({{bug(1504032)}}).</li> +</ul> + +<h3 id="安全">安全</h3> + +<p><em>无变化。</em></p> + +<h4 id="移除_7">移除</h4> + +<h3 id="插件">插件</h3> + +<p><em>无变化。</em></p> + +<h4 id="移除_8">移除</h4> + +<h3 id="其他">其他</h3> + +<p><em>无变化。</em></p> + +<h4 id="移除_9">移除</h4> + +<h2 id="为附加组件开发者带来的改变">为附加组件开发者带来的改变</h2> + +<h3 id="API_变化">API 变化</h3> + +<h4 id="移除_10">移除</h4> + +<h3 id="Manifest_变化">Manifest 变化</h3> + +<h4 id="移除_11">移除</h4> + +<h2 id="参阅">参阅</h2> + +<ul> + <li><a href="https://www.fxsitecompat.com/en-CA/versions/65/">Site compatibility for Firefox 65</a></li> +</ul> + +<h2 id="更早期的版本">更早期的版本</h2> + +<p>{{Firefox_for_developers(65)}}</p> |