RESOLVED INVALID 29281
XMLHttpRequest fails to make synchronous requests
https://bugs.webkit.org/show_bug.cgi?id=29281
Summary XMLHttpRequest fails to make synchronous requests
jasneet
Reported 2009-09-15 15:16:58 PDT
I Steps: Go to http://www.r-n-d.org/gt.html http://www.r-n-d.org/loader.js OR 1. Create an XML file that is to be read by the XMLHttpRequest instance 2. Create an HTML document with the following snippet to read the XML file: var xmlObj = new XMLHttpRequest(); // synchronous XMLHttpRequest call xmlObj.open("GET", <name of file>, false); xmlObj.send(""); xmlDoc = xmlObj.responseXML; 3. Place both the HTML document and the XML file on a remote server (preferably not on a high-bandwidth server) 4. Check if xmlDoc is null. II Issue: XMLHttpRequest.responseXML should return an actual XML document object, but XMLHttpRequest.responseXML is null. (on Mac - Safari) III Other Browsers: IE7: ok FF3: ok Bug in Chromium : http://code.google.com/p/chromium/issues/detail?id=1413
Attachments
Alexey Proskuryakov
Comment 1 2009-09-16 15:21:23 PDT
This bug makes no sense to me. > Go to http://www.r-n-d.org/gt.html Opening this page results in lots of messages about Google Gears not being installed. 1. Create an XML file that is to be read by the XMLHttpRequest instance 2. Create an HTML document with the following snippet to read the XML file: I cannot reproduce this in Safari 4.0.3 on Mac. We certainly have XMLHttpRequest.responseXML implemented and working. Please provide a clean test case that reproduces a problem you're seeing.
Note You need to log in before you can comment on or make changes to this bug.