[Webkit-unassigned] [Bug 86344] New: [BlackBerry] xhr request to non existent file response is 0 and not 404.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 14 01:58:57 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=86344
Summary: [BlackBerry] xhr request to non existent file response
is 0 and not 404.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: Other
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit BlackBerry
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jason.liu at torchmobile.com.cn
CC: tonikitoo at webkit.org
Get 2 reponses captured instead of 4
We seem to be ignoring the response when an error code comes back. In this case
response should be 404 not 0
I'm seeing this on the cibc site. Possible root cause to the login issue
<script>
var d = (function () {
var xhr = XMLHttpRequest ? new XMLHttpRequest() :
new ActiveXObject("Microsoft.XMLHTTP");
xhr.open("HEAD", 'nothing.txt', true);
xhr.onreadystatechange = function(){
console.log(xhr.responseText);
console.log(xhr, xhr.status);
};
xhr.onerror = function () {
error(xhr, xhr.status);
};
xhr.send();
});
d();
</script>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list