Skip to content

Chromium plugin: iframe support #18

Description

@asklar

Summary

Walk DOM across iframes (separate DOM per frame); today only the top frame is walked (docs/chromium-plugin.md → Future work).

Scope

  • Enumerate frames via CDP (Page.getFrameTree) and walk each frame's DOM.
  • Graft each child frame's DOM under its owning <iframe> element.
  • Handle cross-origin/out-of-process iframes (OOPIFs) that have separate CDP targets.
  • Update docs/chromium-plugin.md.

Acceptance criteria

  • A page with same-origin and cross-origin iframes produces a complete, nested DOM.
  • Tests covering frame enumeration/grafting.

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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