fetch
fetch copied to clipboard
`request.client` may be null is not taken into account
The spec says that request.client
may be null.
A request has an associated client (null or an environment settings object).
However, the spec does not take this into account in some parts of the spec, e.g.
- If request’s window is "client", then set request’s window to request’s client, if request’s client’s global object is a Window object; otherwise "no-window".
- If request’s origin is "client", then set request’s origin to request’s client’s origin.