[whatwg/xhr] Allow developers to opt-out of sync XHR with feature policy (#178)

Per #20, we may not be able to remove sync xhr completely from the platform, but maybe we can still do better than console warnings :)

I've written up a spec change (#177) to integrate XHR with feature policy, so that developers who have managed to avoid synchronous requests, and would like to ensure that their site stays sync-free (including all subresources and third-party frames), can opt in to a policy which disables it completely.

Under this policy, calling send() on a request with the synchronous flag set will appear to the script as a NetworkError.

-- 
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/xhr/issues/178

Received on Friday, 15 December 2017 20:04:52 UTC