WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 8342
Bug 25076
Safari doesn't show a login-promt with a synchron XMLHttpRequest
https://bugs.webkit.org/show_bug.cgi?id=25076
Summary
Safari doesn't show a login-promt with a synchron XMLHttpRequest
Patrick R. Gansterer
Reported
2009-04-07 06:51:35 PDT
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); }
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2009-04-07 11:42:24 PDT
Safari bug reports should be directed at Apple via <
http://bugreport.apple.com/
>. However, in this case I don't think anything that you've said indicates that this is a Safari problem rather than a problem specific to the Mac-specific portions of WebKit.
Alexey Proskuryakov
Comment 2
2009-04-09 10:28:22 PDT
*** This bug has been marked as a duplicate of
8342
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug