cookie of link element to link to a manifest
Reported by
yoshiaki...@connecty.co.jp,
Nov 8
|
||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Example URL: Steps to reproduce the problem: 1. Go to the site that returns cookies. 2. Use the link element to access the page containing the manifest. What is the expected behavior? What went wrong? For example. The link element in index.html. <link href="manifest" href="/manifest.json"> When checking the network of the developer tool, the cookie header does not exist in the request header. Is this correct? Did this work before? N/A Chrome version: 70.0.3538.77 Channel: stable OS Version: OS X 10.13.6 Flash Version:
,
Nov 8
I'm sorry. I mistook the link element. The correct element is as follows. <link rel="manifest" href="/manifest.json">
,
Nov 8
reporter@ - Thanks for filing the issue...!! Could you please provide a sample test extension file/url to test the issue from TE-end. This will help us in triaging the issue further. Thanks...!!
,
Nov 8
I will attach a sample file. 1. After deployment, place it on the web server. 2. Access cookie.html and click the "Add Cookie" link. 3. Display the Network tab of Developer Tools and reload the page. 4. Click manifest.json and check the request header.
,
Nov 8
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 8
The manifest is definitely requested with the no cookies flags: DO_NOT_SAVE_COOKIES | DO_NOT_SEND_AUTH_DATA | DO_NOT_SEND_COOKIES I defer to the relevant blink folks over whether this is expected.
,
Nov 9
https://cs.chromium.org/chromium/src/content/renderer/fetchers/manifest_fetcher.cc Our code intentionally does it, but it's unclear if this is correct in terms of the spec. Existing code does: 1. if crossOrigin attribute's value is 'use-credentials', then set request's credentials to 'include'. 2. otherwise, set it to 'omit' (and set fetch request mode to 'cors' too) 1. is what spec requires in the 7.1 step 7; https://w3c.github.io/manifest/#obtaining But, it's still unclear to me on 2. Probably, making 'no-cors' request is desirable if crossOrigin is not set? cc: yhirano@
,
Nov 9
,
Nov 12
Thank you for your answer. If crossOrigin is not set, I'm worried about "no-cors" or "omit". I think that there is no problem with "omit".
,
Nov 27
The cors behavior should be clarified by the spec & feature owners.
,
Dec 6
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by vamshi.kommuri@chromium.org
, Nov 8