概要
- Servoが9月中に取り込んだ527コミットを含むServo 0.7.0を公開
:checked、user-select、<progress>、CSS typed arithmetic、alpha()、font-widthなどのWeb Platform機能を追加- Canvasの
roundRect()、WebCryptoのMLKEM768-X25519、各種DOM APIを実装 - SpiderMonkey v153.3とmozangle v0.7へ更新し、上流で報告されたセキュリティバグ修正を取り込み
- egui.rs demoとCandy Crushの動作改善、パフォーマンス・メモリ使用量・安定性の改善を実施
Web Platformと互換性
- DevTools ConsoleでJS入力を即時評価し、フィードバックを高速化
CSSRule/CSSStyleDeclarationのparentRule、SelectionのgetComposedRanges()・direction、CSSStyleSheetのbaseURLなどのDOM APIに対応CanvasRenderingContext2DおよびOffscreenCanvasRenderingContext2DでgetContextAttributes()、CanvasでroundRect()を実装--pref dom._webegpu_enabled指定時にegui.rs demoが期待どおり動作し、Candy Crushもプレイ可能- CSS imageが
loadイベントを遅延するよう変更し、視覚レンダリングを行うエンジン利用者向けの挙動を一貫化
進行中の機能
--pref accessibility_enabledのアクセシビリティツリーでinline要素のgeometry boundsを報告し、DOM変更時の処理を削減--pref dom_webgl2_enabledのWebGL2実装で多数のconformance改善--pref dom_exec_command_enabled指定時にキーボード入力を接続し、contenteditable依存のWYSIWYG editorを多数利用可能化--pref dom_indexeddb_enabledでIDBIndexのopenCursor()/openKeyCursor()、IDBCursorの移動APIを実装- Videoのtext trackでイベント、cue追加、URL取得、active cue計算、WebVTTエラー回復などを改善
Embeddingと開発環境
- アクセシビリティツール由来のイベント用に
Servo::forward_accessibility_actionAPIを追加 WebView::clear_session_historyを追加し、WebView::set_throttledを削除して非表示WebViewのthrottlingを自動化- system focusの取得・喪失時はembedderが
WebView::set_focusedを呼ぶ方式へ変更 - 新しいCargo feature
multprocessでmultiprocess modeをビルド時に有効化し、default featuresを無効化すれば約2MBのバイナリ削減が可能 - AndroidのJVM compatibility targetを11へ引き上げ、Windows hostからOpenHarmony buildをcross-compile可能化
性能・安定性
- 不要なallocation、GCとの相互作用、single process modeでのIPCを減らし、vector構築時の事前確保も拡大
- buffer再利用・共有、データ構造の圧縮、ページ固有データの解放により一般的なケースのメモリ使用量を削減
<audio>/<video>に関するメモリリークを修正し、Linuxではthread affinity boostingを有効化- WebRTC、
execCommand()、<video>、<iframe>、SharedWorkerなどのpanicを修正 - multiprocess modeのshutdown、IntersectionObserver使用ページ、SharedWorker終了時などで発生していたhangを修正
Servoにはぜひ成功してほしい。