Skip to content

Chromium plugin: lazy loading for large DOM trees #19

Description

@asklar

Summary

Very large DOM trees are slow/expensive to serialize fully. Add lazy/bounded loading (docs/chromium-plugin.md → Future work).

Scope

  • Respect --depth and add bounded/on-demand expansion (expand a specific subtree by element id — ties into --element and the proposed --query).
  • Consider streaming or capped node counts with a clear ""truncated"" marker.
  • Update docs/chromium-plugin.md.

Acceptance criteria

  • Large pages return quickly with a bounded tree and an explicit truncation/expansion mechanism.
  • Tests for depth/count limiting.

Filed as part of turning README/docs "Future work" into tracked issues. See docs/architecture.md and CONTRIBUTING.md (""Adding a new provider"") for conventions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions