[whatwg/fetch] Consider supporting Fetch Metadata. (#885)

https://mikewest.github.io/sec-metadata/ is starting to look pretty reasonable. I plan to put up some PRs to sketch out what the integration would look like, based on the thoughts in https://mikewest.github.io/sec-metadata/#fetch-integration. I think we'd need ~2 changes, but who knows? :)

1.  Add a boolean `user activation` flag to `request` objects, defaulting to `false`. We'd set it in HTML's navigation algorithm, based on whether the navigation was triggered by user activation.

2.  Call [set the Fetch Metadata headers for a request](https://mikewest.github.io/sec-metadata/#abstract-opdef-set-the-fetch-metadata-headers-for-a-request). Probably from "HTTP fetch"?

WDYT?

-- 
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/885

Received on Sunday, 24 March 2019 07:30:11 UTC