Firefox 119 for developers
このページでは、開発者に影響する Firefox 119 の変更点をまとめています。Firefox 119 は、2023 年 10 月 24 日にリリースされました。
ウェブ開発者向けの変更点一覧
>HTML
廃止
<input>要素で、非標準のmozactionhint属性のサポートを廃止しました。代わりにenterkeyhintを使用してください (詳しくは Firefox bug 1735980 をご覧ください)。
CSS
attr()CSS 関数の代替値をサポートしました。これは グローバル属性 が見つからない場合に、代替値の設定を使用することができます (Firefox bug 1448248)。
JavaScript
- 反復可能な要素をグループ化するための
Object.groupBy()およびMap.groupBy()静的メソッドをサポートしました (詳しくは Firefox bug 1792650 をご覧ください)。 - 文字列が適格な Unicode 文字を含んでいる (すなわち、孤立サロゲート がない) ことを確認できる
String.prototype.isWellFormed()メソッドと、不適格な文字列を適格な Unicode 文字に修正できるString.prototype.toWellFormed()メソッドをサポートしました (詳しくは Firefox bug 1850755 をご覧ください)。
SVG
HTTP
Cross-Origin-Embedder-PolicyHTTP レスポンスヘッダーのcredentiallessをデスクトッププラットフォーム (および Android を除くモバイルプラットフォーム) でサポートしました。Cookie やほかの資格情報がない場合でも、明示的に許可していない外部オリジンのサーバーへリソースのno-cors要求を行えます (Firefox bug 1851467)。
API
WebTransport.createBidirectionalStream()およびWebTransport.createUnidirectionalStream()に渡す options 引数にsendOrderプロパティを含めることで、送信ストリームの相対的な優先度を指定できるようになりました (Firefox bug 1816925)。AuthenticatorAttestationResponseインターフェイスのgetAuthenticatorData()、getPublicKeyAlgorithm()、getPublicKey()メソッドをサポートしました (Firefox bug 1816519、Firefox bug 1816520)。- Web Authentication API の Credential Properties Extension (
credProps) をサポートしました。資格情報を生成または登録した後に検出可能かを、ユーザーが確認できます (Firefox bug 1844437)。 SubtleCrypto.deriveKey()メソッドで、引数derivedKeyAlgorithmのオプションとして HKDF アルゴリズムをサポートしました (Firefox bug 1851928)。PublicKeyCredentialインターフェイスのparseCreationOptionsFromJSON()、parseRequestOptionsFromJSON()、toJSON()メソッドをサポートしました。 これらは資格情報の生成や共有に使用するオブジェクトを、シリアライズやデシリアライズやサーバーとの共有に使用できる JSON 表現に変換するのに便利なメソッドです (Firefox bug 1823782)。
DOM
- ほかの要素を参照しない属性に対して、ARIA reflection をデフォルトでサポートしました。IDREF 型でない属性だけが反映されます。
setAttributeやgetAttributeを使用せずに、JavaScript API を通して DOM 要素の ARIA 属性を直接設定および取得できるようになりました。たとえば、buttonElement.setAttribute("aria-pressed", "true");に加えてbuttonElement.ariaPressed = "true";もサポートしました (Firefox bug 1785412)。
WebDriver conformance (WebDriver BiDi, Marionette)
一般
-
中央または右のマウスボタンを押して
pointerDownアクションを実行するとき、関連する HTML 要素から発生するmousedownイベントのbuttonsプロパティの値が入れ替わっていた不具合を修正しました (Firefox bug 1850086)。 -
pointerを基準に設定して入力タイプがwheelのscrollアクションを実行すると、不適切なinvalid argumentエラーが発生していた不具合を修正しました。現在の WebDriver 仕様ではこの組み合わせがサポートされていません (Firefox bug 1850166)。
WebDriver BiDi
-
指定した閲覧コンテキストで現在表示されているページまたはフレームを再読み込みできるコマンド
browsingContext.reloadを追加しました (Firefox bug 1830859)。 -
alert、confirm、prompt型のユーザープロンプトが閉じられたときに発生するイベントbrowsingContext.userPromptClosedを追加しました (Firefox bug 1824221)。 -
Firefox によって新しいナビゲーションが開始されたときに発生するイベント
browsingContext.navigationStartedを追加しました (Firefox bug 1756595)。 -
指定した閲覧コンテキストで JavaScript Realm のライフタイムを監視できるイベント
script.realmCreatedおよびscript.realmDestroyedを追加しました。Realm は基本的に、独自のグローバルオブジェクト (window) を持つ分離された実行環境 (sandbox) です (Firefox bug 1788657、Firefox bug 1788659)。 -
HTTP 認証のダイアログボックスが表示されたときに、
browsingContext.userPromptOpenedイベントが誤って発生していた不具合を修正しました (Firefox bug 1853302)。 -
contextフィールドがnullに設定された不必要なイベントが発生しないようになりました。基礎となる閲覧コンテキストが閉じられたため、このようなイベントは有効ではありません (Firefox bug 1847563)。
Marionette
Addon:Installコマンドを使用して WebExtension のインスストールを試みたときに発生する可能性があるエラーコードのリストを、最新の Firefox のエラーコードに合うように更新しました (Firefox bug 1852537)。
過去のバージョン
- Firefox 118 for developers
- 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