Hi,

I have a extension which was making a asynchronous XMLHttpRequest 
request, which was working till about 3 days back when it suddenly 
stopped working in the latest build. After some poking around i found 
that it works if a synchronous call is made, but not a asynchronous 
request. Anybody else seen this ?

This is the snippet that works.......

var xhr = new XMLHttpRequest();
xhr.open("GET", searchUrl, false);

xhr.onreadystatechange = function () {
     //alert (xhr.readyState);
}
xhr.send(null);

And this doesnot work,..... the onreadystatechange method never gets 
called....even though i see "XHR finished loading" messages in the 
console...

var xhr = new XMLHttpRequest();
xhr.open("GET", searchUrl, true);

xhr.onreadystatechange = function () {
     //alert (xhr.readyState);
}
xhr.send(null);

Any help or comments is appreciated

thanks,
- Leher

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to