Re: [whatwg/fetch] Consider splitting `document` into `document` and `nested-document`. (#755)

I am not totally clear about the intent of this change.
Is it to allow a simpler definition/implementation of Sec-Metadata?
Is it to allow service worker to start acting as some sort of security proxy that could decide to stop loads based on a better knowledge of the client triggering the fetch?

FWIW, WebKit has this is-top-level-navigation concept, although at a slightly lower level. The proposed change seems ok from that prospective.
The same information could be made available elsewhere in a backward compatible way: fetch event or service worker client for instance.

-- 
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/issues/755#issuecomment-394747448

Received on Tuesday, 5 June 2018 15:13:21 UTC