Firefox 112 for developers
このページでは、開発者に影響する Firefox 112 の変更点をまとめています。Firefox 112 は、米国時間 2023 年 4 月 11 日にリリースされました。
ウェブ開発者向けの変更点一覧
>HTML
HTMLElementのinertプロパティを全面的に有効にしました。inert属性を持つ HTMLElement の内部にあるコンテンツやインタラクティブ要素を、ブラウザーに無視させることができます。詳しくは Firefox bug 1764263 をご覧ください。
CSS
- 指数関数 をデフォルトで有効にしました。
pow()、sqrt()、hypot()、log()、exp()の関数を使用できます (Firefox bug 1814469)。 overflowのキーワード値overlayを、キーワード値autoの旧来の別名としてサポートしました (Firefox bug 1817189)。offset-pathを定義するために使用するray()関数で、<ray_size>引数が省略可能になりました。<ray_size>引数を与えない場合はclosest-sideが既定値になります (Firefox bug 1820071)。linear()イージング関数 をサポートしました。 これは複数の点の間を直線的に補完するイージング関数を定義するものであり、複雑なアニメーションを近似的に表現することに役立ちます (Firefox bug 1819447、Firefox bug 1764126)。
JavaScript
変更なし。
API
navigator.getAutoplayPolicy()をサポートしました。自動再生が許可されているか、許可されていないか、音声がミュートである場合に限り許可されているかに基づいて、メディア要素やオーディオコンテキストの 自動再生 を開発者が設定できるようにします。 詳しくは Firefox bug 1773551 をご覧ください。CanvasRenderingContext2D.roundRect()、Path2D.roundRect()、OffscreenCanvasRenderingContext2D.roundRect()を使用して、2D キャンバスに丸みを帯びた長方形を描画できるようになりました。 詳しくは Firefox bug 1756175 をご覧ください。- 非推奨かつ非標準の
CanvasRenderingContext2D.mozTextStyle属性をデフォルトで無効にしました (Firefox bug 1818409)。
廃止
IDBMutableFile、IDBFileRequest、IDBFileHandle、IDBDatabase.createMutableFile()のサポートを廃止しました。 これらのインターフェイスはどの仕様書にも存在しておらず、バージョン 102 から設定で無効化していました。また、他の主要なブラウザーエンジンでは数年前に削除されていました。 (Firefox bug 1500343)
WebDriver conformance (WebDriver BiDi, Marionette)
WebDriver BiDi
browsingContext.printコマンドを実装しました。閲覧コンテキストをBase64 でエンコードした文字列で表した PDF 文書を、クライアントに要求できます。詳しくは Firefox bug 1806810 をご覧ください。script.addPreloadScriptおよびscript.removePreloadScriptコマンドを実装しました。後に読み込まれるどのコンテンツスクリプトでも利用できることが保証された機能を、WebDriver が後でコンテキストに挿入するスクリプトより前に、テストクライアントが挿入することを可能にします。詳しくは Firefox bug 1806420 および Firefox bug 1806465 をご覧ください。- ノードキャッシュに保存された
ElementおよびShadowRootの参照が、まったく同じ一意の参照によって Marionette および WebDriver BiDi の両方で使用できるようになりました。詳しくは Firefox bug 1770733 をご覧ください。 isRedirectをネットワークイベントの基本引数から削除しました (Firefox bug 1819875)。
Marionette
- 一部のデータ型で、応答のペイロードが
valueフィールドにラップされていない不具合を修正しました。(Firefox bug 1819029)。 WebDriver:ElementClearが、内容を編集できる要素に余分なchangeイベントを発していた不具合を修正しました (Firefox bug 1744925)。
アドオン開発者向けの変更点一覧
webRequest.SecurityInfoにusedDelegatedCredentials、usedEch、usedOcsp、usedPrivateDnsプロパティを追加しました。これらのプロパティは、ウェブ要求に使用する接続のセキュリティ情報を提供します (Firefox bug 1804460)。"background"マニフェストキー で"type"プロパティをサポートしました。このキーを"module"に設定すると"scripts"で指定したバックグラウンドスクリプトが ES モジュールとして読み込みまれ、ES モジュールを使用するためにバックグラウンドページへ切り替える必要はありません (Firefox bug 1811443)。
過去のバージョン
- Firefox 111 for developers
- Firefox 110 for developers
- Firefox 109 for developers
- Firefox 108 for developers
- Firefox 107 for developers
- Firefox 106 for developers
- Firefox 105 for developers
- Firefox 104 for developers
- Firefox 103 for developers
- Firefox 102 for developers
- Firefox 101 for developers
- Firefox 100 for developers
- Firefox 99 for developers
- Firefox 98 for developers
- Firefox 97 for developers
- Firefox 96 for developers
- Firefox 95 for developers
- Firefox 94 for developers
- Firefox 93 for developers
- Firefox 92 for developers
- Firefox 91 for developers
- Firefox 90 for developers
- Firefox 89 for developers
- Firefox 88 for developers
- Firefox 87 for developers
- Firefox 86 for developers
- Firefox 85 for developers
- Firefox 84 for developers
- Firefox 83 for developers
- Firefox 82 for developers
- Firefox 81 for developers