[Webkit-unassigned] [Bug 8291] New: XHR needs to be extended before it can provide an alternative interface to the browser's dialog for HTTP auth

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Apr 10 01:47:27 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8291

           Summary: XHR needs to be extended before it can provide an
                    alternative interface to the browser's dialog for HTTP
                    auth
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: XML DOM
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: adam at prema.co.nz


A limitation of XHR is that it's not possible to control whether the browser's
HTTP auth dialog is shown when invalid credentials are sent with the XHR
request. This limits its usefulness in providing an alternative interface to
the browser's dialog for HTTP auth.

This issue has been discussed in the Mozilla community and alternatives
suggested but so far not implemented, see:

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

A simple solution would be for the open() method to accept a callback for
handling an authentication failure.  If open() was called without a reference
to a callback function, or the callback function returned FALSE the HTTP auth
dialog could be displayed.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list