Skip to content

Commit

Permalink
Rewrite Fetch integration, especially around redirects
Browse files Browse the repository at this point in the history
This cleans up the Fetch integration in the following ways:

- Integrate the handling of Referrer-Policy headers on redirects with
  the HTTP-redirect fetch algorithm. This (I think) removes the need for
  responses to have associated referrer policies, and is also more
  precise/clean.

- Insert a TODO to define an HTML integration for the referrerpolicy
  content attributes. This removes the need for handwavy handling of the
  attribute when determining the Referer for a request.

- Use the request's referrer policy when determining the Referer for a
  request (no need to consult the environment's policy because that is
  now accounted for in Fetch as of
  whatwg/fetch#280). Issue 26
  • Loading branch information
estark37 committed Apr 28, 2016
1 parent c83d3c0 commit 4d227ee
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 192 deletions.
Loading

0 comments on commit 4d227ee

Please sign in to comment.