Skip to content

Test that the strict output check reports an embedded document it cannot read #774

Open

Description

@JuroOravec

When the strict output check meets an embedded document (an iframe srcdoc or a data: document) that it cannot read, it should report it, not let it through. The code in output_policy.rs appears to do this, but no test proves it.

Proposal: add tests that an unreadable embedded document is reported, and that six ordinary documents (such as <p>hi) still pass. Fix the code if a test shows a gap.

🤖 Generated with Claude Code

Activity

  1. added this to the 1.1.0 milestone on Nov 18, 2026
  2. added
    next-sprint
    on Nov 18, 2026
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

    next-sprint

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions