Firefox 118 for developers
このページでは、開発者に影響する Firefox 118 の変更点をまとめています。Firefox 118 は、米国時間 2023 年 9 月 26 日にリリースされました。
ウェブ開発者向けの変更点一覧
>HTML
<search>要素をサポートしました。<search>要素は、検索やフィルタリング操作に使用するすべての要素を包含する役割を持つグループ要素です (Firefox bug 1824121)。
CSS
font-synthesis-positionプロパティと、font-synthesisショートハンドプロパティの値positionをサポートしました。これらはfont-variant-positionを使用しているときに、上付き文字や下付き文字のグリフを持たないフォントでそれらを無効にすることができます (Firefox bug 1849010)。- 以下の CSS 数学関数 をサポートしました:
abs()、sign()、round()、mod()、rem()、pow()、sqrt()、hypot()、log()、exp()(Firefox bug 1814589)。 - CSS
font-size-adjustプロパティの新しいキーワードfrom-fontで、最初に使用可能なフォントから望まれた<font-metric>を取得できるようになりました (Firefox bug 1708240)。 - CSS の
transform-boxプロパティで、値content-boxおよびstroke-boxをサポートしました。値content-boxは コンテンツボックス を参照ボックスとして使用します。また、値stroke-boxは SVG の図形を包含するストロークのバウンディングボックスを参照ボックスとして使用します (Firefox bug 1819464)。 - CSS
font-size-adjustプロパティで、最初に使用可能なフォントから望まれた<font-metric>を取得できるキーワードfrom-fontをサポートしました (Firefox bug 1708240)。
JavaScript
変更なし。
HTTP
- HTTP
Permissions-Policyヘッダーのpublickey-credentials-getディレクティブをサポートしました。これはクロスオリジンのインラインフレームで、公開鍵証明書を取得するために Web Authentication API インターフェイスを使用可能にします (Firefox bug 1460986)。
MathML
<semantics>および<maction>要素が、デフォルトで最初の子要素のみ表示するようになりました。設定項目mathml.legacy_maction_and_semantics_implementations.disabledを削除しました (Firefox bug 1788223)。mathvariantで、normalを除くすべての値が非推奨になりました。また、この属性を使う要素が<mi>に限定されました (Firefox bug 1845461)。
SVG
変更なし。
セキュリティ
変更なし。
API
- Windows の ⊞ Windows ロゴ キーおよび macOS の Command キーについて、
KeyboardEvent.keyが値"OS"ではなく"Meta"を、KeyboardEvent.codeが値OSLeft/OSRightではなくMetaLeft/MetaRightを返すようになりました (Firefox bug 1232918)。 RTCRtpTransceiver.currentDirectionおよびRTCRtpTransceiver.directionプロパティで、トランシーバーが停止したかを示す値"stopped"をサポートしました。これは、非推奨のRTCRtpTransceiver.stoppedプロパティに代わって使用するべきです (Firefox bug 1568296)。RTCPeerConnection.getTransceivers()が返す配列で、停止したトランシーバーを除外するようになりました。同様にRTCPeerConnection.getReceivers()およびRTCPeerConnection.getSenders()が、停止したトランシーバーに関連づけられたレシーバーおよびセンダーを除外します (Firefox bug 1568296)。TextMetrics.emHeightDescentおよびTextMetrics.emHeightAscentプロパティをサポートしました (Firefox bug 1841692)。
WebDriver conformance (WebDriver BiDi, Marionette)
一般
- WebDriver BiDi および Marionette で、返されたユーザープロンプトの文字列が空になる現象を引き起こす Android の内部競合を修正しました (Firefox bug 1848167)。
- Marionette の
WebDriver:PerformActionsコマンドおよび WebDriver BiDi のbrowsingContext.performActionsコマンドで、高解像度ディスプレイが接続された環境でwheel入力ソースによるスクロールが失敗する問題を修正しました (Firefox bug 1849229)。
WebDriver BiDi
- ユーザーが指定したバックグラウンドのタブをフォアグラウンドに移動できるコマンド
browsingContext.activateを追加しました (Firefox bug 1841004)。 - 表示された
alert、confirmまたはprompt型のユーザープロンプトを受け入れるか拒否できるコマンドbrowsingContext.handleUserPromptを追加しました (Firefox bug 1824197)。 alert、confirmまたはprompt型のユーザープロンプトが開いたときに発生するイベントbrowsingContext.userPromptOpenedを追加しました (Firefox bug 1824224)。eventメッセージまたはコマンドの成功状態を識別するためにクライアントへ返される JSON ペイロードに、typeフィールドを追加しました。これはsuccessまたはerrorのいずれかになります (Firefox bug 1844009)。
Marionette
- すべての Web Authentication 拡張機能コマンド をサポートしました。これは、ユーザーが公開鍵暗号の資格情報で自身を認証できるようにします (Firefox bug 1846574)。
アドオン開発者向けの変更点一覧
>廃止
- Manifest V3 拡張機能向けの、
action、options_ui、page_action、sidebar_actionマニフェストキーにおけるbrowser_styleのサポートを廃止しました (Firefox bug 1830711)。Manifest V3 拡張機能でbrowser_styleから移行するための情報について、詳しくは Browser Styles' Manifest v3 migration をご覧ください。
過去のバージョン
- Firefox 117 for developers
- Firefox 116 for developers
- Firefox 115 for developers
- Firefox 114 for developers
- Firefox 113 for developers
- Firefox 112 for developers
- 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