Firefox 113 for developers 發行說明

本文件提供了關於 Firefox 113 中影響開發者的更改的資訊。Firefox 113 已於 2023 年 5 月 9 日釋出。

Web 開發人員的變更

HTML

無顯著變化。

CSS

JavaScript

無顯著變化。

API

媒體、WebRTC 和 Web Audio

移除

  • 已永久移除已棄用且非標準的 CanvasRenderingContext2D.mozTextStyle 屬性。該屬性之前被隱藏在首選項後面。(Firefox bug 1294362)。
  • 已永久移除已棄用且非標準的屬性 mozRTCPeerConnectionmozRTCIceCandidatemozRTCSessionDescriptionFirefox bug 1531812)。

WebDriver 一致性 (WebDriver BiDi, Marionette)

WebDriver BiDi

  • 添加了對序列化 Shadow DOM 中的 Node 物件以及 Node 物件上的 shadowRoot 屬性的支援(Firefox bug 1802137)。
  • network.responseStartednetwork.responseCompleted 事件添加了對快取響應的支援(Firefox bug 1806802Firefox bug 1806794)。
  • 修復了在使用 document.open()document.close() 進行導航時,browsingContext.domContentLoadedbrowsingContext.load 事件缺失的問題(Firefox bug 1822772)。
  • 修復了一個問題:當作為引數傳遞了未知的物件時,script.callFunction 命令會丟擲 invalid argument 錯誤,而不是預期的 no such handle 錯誤(Firefox bug 1821039)。

Marionette

  • moz:useNonSpecCompliantPointerOrigin 功能現已棄用,並將在 Firefox 116 中完全移除(Firefox bug 1824911)。
  • 實現了 WebDriver:FindElementFromShadowRootWebDriver:FindElementsFromShadowRoot 命令(Firefox bug 1700095)。
  • 實現了 WebDriver:GetComputedLabelWebDriver:GetComputedRole 命令(Firefox bug 1585622)。
  • WebDriver:Print 命令添加了對 background 引數的支援(Firefox bug 1783086)。
  • WebDriver:Print 命令添加了對 orientation 引數的支援(Firefox bug 1791819)。
  • 修復了 DOMTokenList 例項的問題,現在它們作為集合返回,而不是任意物件(Firefox bug 1823464)。

附加元件開發人員的變更

其他

  • 支援動畫 AVIF(AV1 影像格式檔案)影像。以前,它們會顯示為靜態影像,網頁無法檢測到這一點並回退到其他格式。(Firefox bug 1825580)。