Issue metadata
Sign in to add a comment
|
Chrome isn't CORS-blocking a JSON request on the Twitter community meetup page like other browsers
Reported by
wisniews...@gmail.com,
Feb 7 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 Example URL: https://dev.twitter.com/community/meetups Steps to reproduce the problem: Visit the URL in Chrome, and a map is displayed (unlike in other browsers, making this a web compatibility issue). What is the expected behavior? Unclear. What went wrong? The URL tries to load a JSON file from https://ton.twimg.com from a script loaded from https://dev.twitter.com. Chrome does not trigger a CORS check, but other browsers do, and it appears that CORS headers on the servers disallow the access. I suspect that Chrome is in error here, but I cannot say for certain as I'm not an expert on the CORS spec. Did this work before? N/A Chrome version: 55.0.2883.87 Channel: n/a OS Version: Flash Version: Shockwave Flash 24.0 r0 Please see the webcompat.com comment at https://github.com/webcompat/web-bugs/issues/4243#issuecomment-277398170 for more context.
,
Feb 8 2017
,
Feb 8 2017
Hm, it seems like this is in issue with Chrome M56, but is fixed on Dev channel (M58). Adding Blink>Loader where all the CORs experts live, but I'm inclined to WontFix. tyoshino@, can you verify?
,
Feb 9 2017
The original (same-origin) request has "x-request-with" header. It's redirected to another origin. With Chrome 56, the header is dropped from the redirect request somehow. That makes the redirect request simple, and the server returns 200. With ToT Chrome, the header is kept, so a preflight is made but it's rejected from the server.
,
Feb 9 2017
So this is a dup of issue 661782 fixed by https://crrev.com/75318e021b295e4285017b661f7cf9ae41efc85d .
,
Feb 9 2017
Thanks for following up, yhirano :) |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by mitay...@mozilla.com
, Feb 7 2017