[Webkit-unassigned] [Bug 25076] New: _Safari_ dosn't show a login-promt with a synchron XMLHttpRequest

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 7 06:51:35 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25076

           Summary: _Safari_ dosn't show a login-promt with a synchron
                    XMLHttpRequest
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://paroga.com/webkit/auth.html
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P4
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: paroga at paroga.com


Safari doesn't show a login-promt when a synchron request returns http-code 401
With an asynchronous request it works fine.

It also works with Firefox, Opera, IE, Chrome and the Qt demo browser.
It's a safari and not a webkit bug!

PHP-Code:
<?php
header('HTTP/1.0 401 Unauthorized');
header('WWW-Authenticate: Basic realm="REALM"');
?>

JavaScript-Code:
function test(async) {
  var xmlHttp = new XMLHttpRequest();
  xmlHttp.open("POST", "401.php", async);
  xmlHttp.send(null);
}


-- 
Configure bugmail: https://bugs.webkit.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