[Webkit-unassigned] [Bug 8342] New: XmlHttpRequest changes authentication behaviour based on whether it's sync or async

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Apr 12 13:26:17 PDT 2006


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

           Summary: XmlHttpRequest changes authentication behaviour based on
                    whether it's sync or async
           Product: WebKit
           Version: 417.x
          Platform: Macintosh
               URL: http://www.mnot.net/javascript/xmlhttprequest/
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: mnot at pobox.com


Using XmlHttpRequest, if you access a HTTP authenticated resource (e.g., with
Basic auth), and the credentials aren't already in the browser, WebKit will pop
up an authentication dialog *if* the XmlHttpRequest is made asynchronously.
However, it will not pop up a dialog if the XmlHttpRequest send is made
synchronously; instead, it will return a -1012 status code.

This is inconsistent with other browsers, as well as being plain weird.

See http://www.mnot.net/javascript/xmlhttprequest/ ("Does unhandled
authentication pop up a dialog?") for test code.


-- 
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