Throw an error message for disallowed cross-site XHRs

RESOLVED DUPLICATE of bug 713980

Status

()

Core
DOM
--
enhancement
RESOLVED DUPLICATE of bug 713980
5 years ago
5 years ago

People

(Reporter: sebo, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

5 years ago
When there's a cross-site AJAX request an error should be shown inside the Error Console.

Google Chrome already does this. The message there looks like this:

XMLHttpRequest cannot load https://getfirebug.com/. Origin http://fiddle.jshell.net is not allowed by Access-Control-Allow-Origin.

Sebastian
Jonas, do you have time to do this?  If not, who does?
Flags: needinfo?(jonas)
There's already early patches for this. Though progress appears to have been stalled.

I'm not going to have time to work on this no.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 5 years ago
Flags: needinfo?(jonas)
Resolution: --- → DUPLICATE
Duplicate of bug: 713980
You need to log in before you can comment on or make changes to this bug.