diffplug / diffplug/dormouse

[Resource Consumption] minimized iframes consume resources and are unbounded

オープン
#610 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
TypeScript
スター
5
フォーク
0
平均マージ
18時間 32分
マージ済み PR(30日)
216

説明

Minimized iframe surfaces retain their live documents without a count limit so minimizing another browser never discards unsaved page state or turns reattachment into a reload.

Hidden iframes can still consume memory and run JavaScript, timers, sockets, and media. Retaining arbitrarily many minimized iframes therefore allows resource consumption to grow without a Dormouse-imposed bound.

Priority: low. This is an accepted tradeoff for preserving content state. A future improvement could warn users when retained iframe resource use is high. Do not silently evict or reload minimized documents to enforce a cap.

The current eight-surface parking cap is being removed as part of the minimize/reattach lifecycle fix. This issue tracks the resource-consumption follow-up, not reintroducing that cap.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、最小化された iframe のライフサイクルと、保持されたドキュメントがリソースを消費する仕組みを追跡します。Issue ではファイル、テスト、しきい値、具体的な実装が指定されていないため、作業を開始する前に警告の動作と完了条件を明確にしてください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
frontend, performance
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
活発
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。