Re: Undesired XMLHttpRequest 401 behaviour

2008-08-29 Thread Boris Zbarsky
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

Undesired XMLHttpRequest 401 behaviour

2008-08-29 Thread Paul Cohen
Hi, I am trying to implement a web login solution using HTTP authentication with: 1. A custom XHTML/CSS/Javascript login form and XMLHttpRequest. 2. Apache 2.2 configuration but no other server side code. 3. No displaying of the browser (Firefox 3.0.1) login dialog. Eventually I want my solution

Re: Bypassing or disabling firefox security to allow 'alwaysLowered' window

2008-08-29 Thread rael
On Aug 28, 2:05 pm, rael <[EMAIL PROTECTED]> wrote: > On Aug 28, 1:11 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > > rael wrote: > > > And at the top of my script, I have the following: > > > netscape.security.PrivilegeManager.enablePrivilege("UniversalPreferencesRead"); > > > netscape.security.P