[Resource Consumption] minimized iframes consume resources and are unbounded

Open
#610 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
typescript

Research direction

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.

Written by the indexing model from the issue text.

Description

enhancement

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.

Dominant language
TypeScript
Stars
5
Forks
1
Avg merge
18h 26m
Merged PRs (30d)
229

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from diffplug/dormouse

All issues in diffplug/dormouse

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.