Skip to content

Add preload and prerender contexts #36

Closed

Description

@igrigorik

Current list of contexts contains prefetch but omits prerender and preload, which need to be added to the list. I'm thinking...

/cc @yoavweiss @mikewest

Activity

  1. annevk commented on Apr 4, 2015

    @annevk
    Member

    It seems they should be governed by CSP somehow, otherwise you can "escape the page" without performing navigation. (Unless these are same-origin restricted?)

  2. annevk commented on Apr 4, 2015

    @annevk
    Member

    Also, to be clear, that big table is informative and not normative about what CSP will do. CSP will be rewritten in terms of Fetch in due course and then this should be a lot clearer.

  3. annevk commented on May 5, 2015

    @annevk
    Member

    Closing this. CSP alignment will come when @mikewest fixes CSP to use Fetch.

  4. igrigorik commented on May 5, 2015

    @igrigorik
    MemberAuthor

    @annevk sorry missed the earlier commit. Thanks for adding preload/prerender!

    One gotcha that I was reminded after opening this bug: connect-src is not the right policy for preload. See: w3c/preload#17 (comment)... We should probably leave it as empty for now, at least until we resolve our "as" exploration.

  5. annevk commented on May 5, 2015

    @annevk
    Member

    Done.

  6. igrigorik commented on May 5, 2015

    @igrigorik
    MemberAuthor

    thanks!

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