Firefox 116 for developers
このページでは、開発者に影響する Firefox 116 の変更点をまとめています。Firefox 116 は、2023 年 8 月 1 日にリリースされました。
ウェブ開発者向けの変更点一覧
>HTML
inputおよびtextarea要素でdirname属性をサポートしました。 この属性は、フォームをサーバーに送信するときにテキストの書字方向の情報 (ltrまたはrtl) を渡すことができます (Firefox bug 675943)。
CSS
- 要素がたどる経路を定義するために使用する
offset-pathプロパティの構文を更新しました。新しい構文ではnone、または<offset-path>か<coord-box>のいずれかの値を設定できます。新しい<offset-path>の値は<ray()>、<url>、<basic-shape>を指定できます。<coord-box>の値は旧来の<geometry-box>の値を置き換えるもので、要素のボックスモデルに基づく経路の形状を指定できます。<basic-shape>および<coord-box>の値を使用するには、それぞれlayout.css.motion-path-basic-shapes.enabledおよびlayout.css.motion-path-coord-box.enabledの設定を有効にすることが必要です (Firefox bug 1598156)、(Firefox bug 1837305)。
Accessibility (ARIA)
imageロールをimgの同義語としてサポートしました。 これにより、完全な単語または完全な単語を連結したものである多くのロール名との一貫性が保たれます (Firefox bug 1829269)。
JavaScript
Intl.NumberFormatで新しい コンストラクターのオプション をサポートしました。数値の丸め方を制御するオプション (roundingIncrement、roundingMode、roundingPriority)、整数で末尾のゼロを表示する方法を制御するオプション (trailingZeroDisplay)、千や百万などを示す区切り文字を使用するかを制御するオプション (useGrouping) を使用できます。 また、数値の範囲を整形するformatRange()およびformatRangeToParts()メソッドも新たにサポートしました (Firefox bug 1795756)。Intl.PluralRulesで、(Intl.NumberFormatの一連の変更の一部として)roundingIncrement、roundingMode、roundingPriority、trailingZeroDisplayの コンストラクターのオプション およびselectRange()メソッドをサポートしました (Firefox bug 1795756)。
SVG
- 長さの単位
q(1q = 1cm の 40 分の 1) をサポートしました (Firefox bug 1836995)。
HTTP
- Content-Security-Policy の構成で、ハッシュを使用して外部 JavaScript ファイルをホワイトリストに登録する 指定方法をサポートしました。以前は、インラインスクリプトに限りハッシュを使用してホワイトリストに登録できました (Firefox bug 1409200)。
API
DOM
TextMetrics.fontBoundingBoxAscentおよびTextMetrics.fontBoundingBoxDescentプロパティをサポートしました。 これらのメトリックはそれぞれ、CanvasRenderingContext2D.textBaselineからテキストの描画に使用するすべてのフォントが外接する矩形までの、上側および下側の距離を返します (Firefox bug 1801198)。
Media、WebRTC、Web Audio
- Audio Output Devices API を、Android を除くすべてのプラットフォームでサポートしました。
この API は、ウェブアプリケーションがブラウザーや OS が既定で使用すべきデバイスでなく、許可された Bluetooth ヘッドセット、スピーカーフォン、あるいは他のデバイスへ音声出力をリダイレクトすることを可能にします。
影響を受ける API には
MediaDevices.selectAudioOutput()、MediaDevices.enumerateDevices()、HTMLMediaElement.setSinkId()、HTMLMediaElement.sinkIdおよびPermissions-Policy: speaker-selection許可ポリシーが含まれます (Firefox bug 1498512)。
WebDriver conformance (WebDriver BiDi, Marionette)
WebDriver BiDi
- ユーザーが自動化セッションを終了できる
session.endコマンドをサポートしました。以前、これは WebDriver Classic と WebDriver BiDi の両方を使用するセッションに限り使用できました。現在は WebDriver BiDi だけのセッションでも使用可能になりました (Firefox bug 1829337)。 session.newコマンドで capability matching をサポートしました。ブラウザー名やプラットフォーム名など、対象ブラウザーに関する想定値を定義できます。また、たとえば安全でない証明書を受け入れるかを指定するなど、セッションの設定にも使用できます (Firefox bug 1731730)。- シャドウルートが、戻り値のルートであるときに正しくシリアライズされるようになりまし (Firefox bug 1836514)。
networkイベントの開始時刻の情報の名前をoriginTimeからtimeOriginに変更しました (Firefox bug 1836926)。networkのnetwork.responseCompletedイベントが、リダイレクトを伴うナビゲーション要求でも正しく発生するようになりました (Firefox bug 1838238)。
Marionette
moz:useNonSpecCompliantPointerOrigin機能のサポートを廃止しました。引き続きこの機能が必要なユーザーは、サポートが続く限り Firefox 115 ESR リリースを使用できます。問題を発見した場合は Remote Protocol :: Marionette にバグを報告してください (Firefox bug 1490258)。- 指定されたブラウジングコンテクストで古くなった要素 (ページで以前見たことがある DOM 要素) と未知の要素を見分けることを妨げていたリグレッションを修正しました (Firefox bug 1822466)。
- 新しいセッションを生成する際に、最初のコンテンツが読み込まれることを適切に待つようになりました (Firefox bug 1838381)。
アドオン開発者向けの変更点一覧
runtime.setUninstallURLで提供される、拡張機能がアンインストールされたときに訪れていたページの URL の最大文字数が 255 から 1023 に増加しました (Firefox bug 1835723)。- 拡張機能のブラウザーアクションのユーザー指定設定を提供する、
action.getUserSettingsを追加しました (Firefox bug 1814905)。 tabs.Tab、tabs.onUpdated、tabs.update、tabs.queryでautoDiscardableをサポートしました (Firefox bug 1809094)。
Developer Tools
- カスタムフォーマッター をサポートしました (Firefox bug 1752760)。
- マークアップビューで、
container-typeプロパティがsizeまたはinline-sizeである要素に "container" バッジを追加しました (Firefox bug 1789193)。 - カスタム要素ルートに設定した CSS カスタムプロパティがインスペクターで表示されない不具合を修正しました (Firefox bug 1836755)。
- ネットワークモニターで、要求が DNS over HTTPS で名前解決されたかを表示するようになりました (Firefox bug 1810195)。
- ネットワークモニターで
Proxy-Authorizationヘッダーを削除しました (Firefox bug 1816115)。
過去のバージョン
- 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
- Firefox 86 for developers
- Firefox 85 for developers