Console shows CORS error when server just won't answer
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: t.chaumeny, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0
Steps to reproduce:
- Open https://twitter.com/home with Firefox
- Cut your internet connection
- Open Firefox Console.
- Click on links to generate API requests (e.g. "Messages")
Actual results:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.twitter.com/...
Expected results:
Console should show a net::ERR_CONNECTION_REFUSED (or equivalent)
The fact that the preflight request didn't get an answer doesn't mean that there is a CORS issue. It's actually very misleading for debug purpose.
Reporter | ||
Comment 1•6 years ago
|
||
Sorry for the garbage, I hadn't noticed the specific console tracker, I created a report there https://bugzilla.mozilla.org/show_bug.cgi?id=1589036
Comment 2•6 years ago
|
||
Please don't intentionally file duplicates. Someone can move your report to the appropriate component if you're unable to do so.
Resolution: Moved is for reports that are handled on a different issue tracker, like GitHub. The link to the other report must be placed in the See Also field here.
Description
•