Skip to content

prototype: notes on a real-stack prototype (feedback picker slice S7) - part 2 of 4 #17749

Description

@melodic-automation-lanes

Part 2 of 4 of #16411, split at intake (owner Q93). The done-when below is copied from #16411 as written.

Done when

  • At start the dev origin is canonicalized with new URL(input).origin, and a test shows an input that differs from its canonical origin refused, such as one that spells the default port.
  • The dev-route frame carries no sandbox attribute, or one that includes both allow-scripts and allow-same-origin, and the real-stack host page's CSP adds frame-src <dev origin> while keeping frame-ancestors 'none'.

Activity

  1. added
    needs-triage
    on Nov 21, 2026
  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: the real-stack prototype's start-up origin handling, the dev-route frame, and the host page's CSP. Prototype developers are the only ones who run it.
    Reversible: yes; revert the change.
    Open questions: none

    I read this as part 2 of 4 of #16411, split at intake. It has two bounded checks:

    1. Canonicalize the dev origin at start with new URL(input).origin. A test must show that an input differing from its canonical origin, such as one that spells the default port, is refused.
    2. The dev-route frame has no sandbox attribute, or one with both allow-scripts and allow-same-origin. The host page's CSP adds frame-src <dev origin> and keeps frame-ancestors 'none'.

    Both done-when items are exact, so nothing is missing. The siblings #17748, #17750 and #17751 are the other parts of the same split, not duplicates. No merged pull request that already fixes this was found.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 21, 2026
  4. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    ContributorAuthor

    {"v":1,"actor_id":337595936,"title_sha256":"5970b5c59e78c0796a7f9d83b3bcb1670f7b6bd7a6cd5fbfabc3e490fb7cb22c","body_sha256":"3a60eb89fcdac5ebe375f360dd2d9c41ab701a8149aa2e67c96ccc45ffcfc869"}

  5. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor
    No description provided.
  6. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor
    No description provided.
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

    Fields

    Work status

    needs-triage

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions