UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
Steps to reproduce the problem:
1. fetch('https://www.google.com/mail', {mode: 'no-cors', redirect: 'manual'})
What is the expected behavior?
on Chrome/67.0.3396.99, this worked as I'd expect it to: returning an opaqueredirect:
fetch('https://www.google.com/mail', {mode: 'no-cors', redirect: 'manual'})
Promise {<pending>}
__proto__
:
Promise
[[PromiseStatus]]
:
"resolved"
[[PromiseValue]]
:
Response
body
:
(...)
bodyUsed
:
false
headers
:
Headers {}
ok
:
false
redirected
:
false
status
:
0
statusText
:
""
type
:
"opaqueredirect"
url
:
"https://www.google.com/mail"
__proto__
:
Response
What went wrong?
on Chrome/69 I get this instead:
VM1219:1 Fetch API cannot load https://google.com/mail. Request mode is "no-cors" but the redirect mode is not "follow".
(anonymous) @ VM1219:1
PromiseĀ {<rejected>: TypeError: Failed to fetch
at <anonymous>:1:1}__proto__: Promise[[PromiseStatus]]: "rejected"[[PromiseValue]]: TypeError: Failed to fetch
at <anonymous>:1:1
which seems like a regression, unless it is intentional?
Did this work before? Yes 67.0.3396.99
Does this work in other browsers? N/A
Chrome version: 69.0.3472.3 Channel: stable
OS Version:
Flash Version:
Comment 1 by landry@google.com
, Jun 28 2018