[whatwg/fetch] Add 'target browsing context' to requests. (#466)

Currently, requests have a 'destination' property, which provides some
clarity about the type of request that's being made. For navigation
requests, however, we need a little more granularity in order to support
suggestions like #464 and #465. In particular, we need to distinguish
between navigation requests that target a new top-level browsing
context, and those that target nested browsing contexts (as the latter
are treated as subresource requests in the context of some policy
decisions).

This patch adds a new 'target browsing context' property to requests
which will be populated from HTML's navigation algorithm in order to
support these kinds of policies.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/466

-- Commit Summary --

  * Add 'target browsing context' to requests.

-- File Changes --

    M fetch.bs (9)

-- Patch Links --

https://github.com/whatwg/fetch/pull/466.patch
https://github.com/whatwg/fetch/pull/466.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/466

Received on Wednesday, 25 January 2017 10:23:20 UTC