diffplug / diffplug/dormouse

[Resource Consumption] minimized iframes consume resources and are unbounded

Aperta
#610 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
5
Fork
0
Merge medio
14h 13m
PR unite (30g)
199

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by tracing the minimized iframe lifecycle and how retained documents consume resources. The issue does not name files, tests, thresholds, or a concrete implementation; clarify the warning behavior and its completion criteria before starting work.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
frontend, performance
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Attiva
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.