Skip to content

fix(evidence): omit unsupported frame-ancestors from viewer meta CSP #167

Closed

Description

@ElbertePlinio

The real 0.5.0 candidate acceptance pass in #165 found a Chrome console error when opening a finalized report over HTTP: "The Content Security Policy directive frame-ancestors is ignored when delivered via a meta element." Candidate source6d4b3e2, Chrome152.0.7977.82. The directive cannot enforce anti-framing from a meta element; removing that ineffective meta directive must not broaden any effective resource or script policy.

  • Remove only the unsupported frame-ancestors directive from the generated meta CSP, retaining all effective restrictions and hash-pinned script policy.
  • Add focused regression coverage for the supported meta policy and preserved script/resource restrictions.
  • Run relevant tests, typecheck, lint and complexity, then obtain an independent final review.
  • Merge with green CI and regenerate the candidate artifacts in a nonpublishing release dry run.
  • Repeat the affected browser acceptance using actual tools in the Astra-low session and verify no CSP error while viewer controls and images still work.

Keep artifact evidence private. Do not add an HTTP service, new dependencies or unrelated viewer changes. Release qualification remains under #165; no publication is authorized by this fix.
Source fix delivered in #168 after independent final review and ten green checks. Updated candidate dry run34641866591 passed with Publish skipped. The unchecked real-browser acceptance item continues under #165 and is not claimed complete by this source fix.

Actual updated-candidate HTTP/file report and session-index console receipts no longer contain the frame-ancestors error; referenced reports/images load. Independent visual PASS and remaining qualified limits are recorded in #165.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions