Closed Bug 1602093 Opened 4 years ago Closed 4 years ago

Make CORS errors errors, not warnings, in the console

Categories

(Core :: DOM: Security, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

They're basically fatal errors for something the page is trying to do, so we should make them more prominent. This is not a "you might be doing something wrong, we think"; this is a "you tried to do something and it totally failed".

I looked into why they are warnings now, but that's just what they were in the initial commit in bug 713980.

Blocks: 1601371

These typically indicate a fatal problem for whatever the page is trying to do;
we should give them the appropriate visibility.

Assignee: nobody → bzbarsky
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b6aa2fa7f967
Make CORS error messages be errors, not warnings.  r=ckerschb
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73

I believe we've always documented these as errors and not as warnings. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors for some material. I've mentioned this change on https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/73, though.
If there is any further docs update needed anywhere, let me know.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: