Firefox 53 開發者版發行說明

Firefox 53 於 2017 年 4 月 19 日釋出。本文列出了對 Web 開發者、Firefox 和 Gecko 開發者以及附加元件開發者都有用的主要更改。

面向網路開發者的變更

開發者工具

CSS

新功能

其他更改

  • 在 SVG 元素上啟用 mask longhands(Firefox bug 1319667)。
  • [css-grid] 修復:align-self/justify-self:stretch/normal<table> 網格項上不起作用(Firefox bug 1316051)。
  • 修復:clip-path: circle() 在大參考框和百分比半徑下渲染不正確(Firefox bug 1324713)。
  • 當對希臘文字應用 text-transform 值為 uppercase 時,離析 eta (ή) 上的重音不再被移除(參見 Firefox bug 1322989)。
  • displaycontents 值的可用性曾透過 layout.css.display-contents.enabled 首選項控制。在 Firefox 53 中,此首選項已完全移除,因此該值將始終可用且無法再停用(Firefox bug 1295788)。

JavaScript

事件

DOM

Worker 和 Service Worker

WebGL

音訊、影片和媒體

通用

  • Firefox 53 for Android 開始,媒體解碼將在程序外處理,以提高多核系統上的效能(Firefox bug 1333323)。

媒體元素

Web Audio API

WebRTC

HTTP/網路

  • Gecko 現在在 about:config 中提供一個首選項,允許使用者設定其預設 Referrer-Policynetwork.http.referer.userControlPolicyFirefox bug 1304623)。可能的值為

    • 0 — no-referrer
    • 1 — same-origin
    • 2 — strict-origin-when-cross-origin
    • 3 — no-referrer-when-downgrade(預設值)
  • 為了支援 應用層協議協商 (ALPN),已移除對下一協議協商 (NPN) 的支援 — 參見 Firefox bug 1248198

  • Large-Allocation HTTP 標頭現在預設可用,不再隱藏在首選項後面(Firefox bug 1331083)。

SVG

Web 平臺移除的內容

HTML/XML

  • dom.details_element.enabled 首選項 — 用於控制在 Firefox 中啟用/停用 <details><summary> 元素支援 — 已從 about:config 中移除。這些元素(最初在 Firefox 49 中預設啟用)無法再停用。參見 Firefox bug 1271549
  • <iframe> 元素/HTMLIFrameElement 介面的 mozapp 屬性已移除 — 此屬性曾用於在以 mozilla 為字首的瀏覽器 API <iframe> 中嵌入 Firefox OS 應用(Firefox bug 1310845)。
  • 已移除 HTMLIFrameElement.setInputMethodActive() 方法和 InputMethod 介面(用於在 Firefox OS 應用上設定和管理 IME)(Firefox bug 1313169)。

CSS

JavaScript

API

其他

面向附加元件和 Mozilla 開發者的變更

WebExtensions

新 API

增強型 API

JavaScript 程式碼模組