The browser will not accept any cookies from fetch()
responses made to foreign domains (any cross site scripting). There is no error, or warning. The browser silently ignores all Set-Cookie
headers.
I wasted many hours trying to get a cookie to be accepted by the browser; and this is my conclusion. Please add a note to the MDN docs regarding this.