[Webkit-unassigned] [Bug 76760] New: Chrome 18 fails html5test.com XHR Blob response test
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 20 17:56:26 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=76760
Summary: Chrome 18 fails html5test.com XHR Blob response test
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
CC: abarth at webkit.org, michaeln at google.com,
ericu at chromium.org
Blocks: 40829
Chrome 18 fails html5test.com XHR Blob response test
This is the test:
testResponseTypeBlob: function(item) {
if (!window.XMLHttpRequest || !window.Blob) return;
var xhr = new window.XMLHttpRequest();
if (typeof xhr.responseType == 'undefined') return;
var done = false;
xhr.onreadystatechange = function() {
if (this.readyState == 4 && !done) {
done = true;
passed = false;
try {
passed = !!(this.response && this.response instanceof Blob);
} catch(e) {
}
item.stopBackground();
item.update({
'passed': passed
});
}
}
try {
item.startBackground();
xhr.open("GET", "detect.html");
xhr.responseType = "blob";
xhr.send();
} catch (e) {
item.stopBackground();
}
},
i've run the test manually in the inspector (while inspecting the main page on html5test.com)
And found that we get xhr.response == null when fetching detect.html.
Unclear why. It's also possible the test is wrong.
--
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