Closed UweKeim closed 2 years ago
I think this only happens if the manifest URL needs cookies/HTTP basic auth/etc. to be successfully fetched, right? At least, that’s what MDN suggests:
The
use-credentials
value must be used when fetching a manifest that requires credentials, even if the file is from the same origin.
More background at https://github.com/w3c/manifest/issues/535
Not sure. In my case I did not need cookies and still the attribute was necessary. Adding it ever since with no negative effects.
According to this blog entry, the generated webmanifest link that currently looks like this:
Should look like this:
I.e. the
crossorigin="use-credentials"
attribute should be added.I'm doing this successfully since quite a long time and it seems to work just pretty good.
My suggestion
Please also include the
crossorigin="use-credentials"
attribute when generating the HTML fragment to insert into my HTML page.