RESOLVED FIXED 14704
REGRESSION: sync XMLHttpRequest.send() raises an exception for failed authentication
https://bugs.webkit.org/show_bug.cgi?id=14704
Summary REGRESSION: sync XMLHttpRequest.send() raises an exception for failed authent...
Alexey Proskuryakov
Reported 2007-07-21 11:50:01 PDT
This is a part of bug 13075 that is a regression from shipping WebKit (and coincidentally is easy to fix). NETWORK_ERR should only be raised for network errors, and 4xx HTTP codes aren't such. This matches other browsers, and the draft spec. Patch forthcoming.
Attachments
proposed fix (10.02 KB, patch)
2007-07-21 12:00 PDT, Alexey Proskuryakov
ap: review+
Alexey Proskuryakov
Comment 1 2007-07-21 12:00:33 PDT
Created attachment 15613 [details] proposed fix
Alexey Proskuryakov
Comment 2 2007-07-21 12:03:51 PDT
Forgot to mention: this problem didn't occur on Windows.
David Kilzer (:ddkilzer)
Comment 3 2007-07-21 16:30:42 PDT
Alexey Proskuryakov
Comment 4 2007-07-30 11:32:45 PDT
Comment on attachment 15613 [details] proposed fix This was reviewed and landed by Anders in r24779 (with some changes in test for Apache 2 compatibility).
Note You need to log in before you can comment on or make changes to this bug.