Skip to content

How should javascript: navigations interact with CSP? #2589

Open
@bzbarsky

Description

@bzbarsky

Given a navigation to a javascript: URL that returns a string, what should the CSP of the result be, if anything? Per spec right now it has no CSP, but it would make a lot more sense to me to pick up the CSP of ... well, I'm not sure. The content is coming from some combination of the "source browsing context" and the "active document" at the point when we did the evaluation (script comes from source, evaluates against active document's global), the URL comes from the active document, the origin comes from the active document.

@mikewest

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions