[whatwg/fetch] Is is possible to invoke schemeFetch through the API? (#1284)

The only place where schemeFetch is invoked is at 11. https://fetch.spec.whatwg.org/#main-fetch


> request’s mode is "navigate" or "websocket"
> 1. Set request’s response tainting to "basic".
> 2. Return the result of running scheme fetch given fetchParams.

However it doesn't seem to be possible to create a request with mode set to "navigate" given https://fetch.spec.whatwg.org/#request-create


> 17. If mode is "navigate", then throw a TypeError.



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

Received on Tuesday, 10 August 2021 05:47:38 UTC