Skip to content

Hosted player: open a trace from a URL, and deep-link into it #500

Closed

Description

@vishnuv688

Part of #494.

Proposal

Let the hosted player open a trace from a URL (?trace=<url>, which needs the host to send CORS headers), and link to a specific action or tab within it, so CI jobs and bug reports can link straight to the failing step.

Trade-off

The hosted player's CSP allows network calls only to its own origin, which is what guarantees an opened trace is never sent anywhere. Loading from a URL means allowing connect-src https:. Playwright's and Vibium's hosted players both load from URLs and send no CSP, so this is the same trade they made; it should be decided explicitly.

Activity

  1. self-assigned this
    on Oct 29, 2026
  2. vishnuv688 commented on Oct 30, 2026

    @vishnuv688
    MemberAuthor

    Decision: allow it. The hosted player's connect-src gains https: so ?trace=<url> can fetch a zip from a host that sends CORS headers. An opened trace still never leaves the tab.

  3. vishnuv688 commented on Nov 4, 2026

    @vishnuv688
    MemberAuthor

    Implemented in #534. It closes this issue when merged.

  4. added a commit that references this issue on Nov 10, 2026
    d0f8f2a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions