I'm trying to implement CORS ajax request.

The server implements basic auth. The server responds with http 401 unathorized.

When I add the username and password to the request, I get this error message on the firebug console.

It doesn't appear the request was sent to the server, this message comes from the browser.