Paul Cohen wrote:
> THE PROBLEM: When I login with invalid username or password the login
> dialog is displayed. I don't want that. I want my call to
> XMLHttpRequest to return with status 401 so I can display my own
> custom "Invalid credentials" feedback to the user.

See https://bugzilla.mozilla.org/show_bug.cgi?id=282547

If you're writing privileged client-side code you can probably shim in 
your own nsIAuthPrompt.  Otherwise, that bug needs to be fixed to do 
what you want to do.

-Boris
_______________________________________________
dev-security mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-security

Reply via email to