Closed Bug 888762 Opened 11 years ago Closed 11 years ago

Throw an error message for disallowed cross-site XHRs

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 713980

People

(Reporter: sebo, Unassigned)

References

()

Details

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
Closed: 11 years ago
Flags: needinfo?(jonas)
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.