Hi, Here is a test case of the same. I am attaching the source as well as the extension. I verified that this doesnot work in 4.0.229.0 (30536). To explain the extension, it works on the google home page (http://www.google.com/), and you should see two string at the bottom ("Synchronus worked." and "Aynchronus worked."). Only one string shows up for me, if i change the "true" to "false" in line 20 of the js file, it works...
Let me know if i can be of any help, or if i am doing something wrong (which might be the case). thanks, - Leher On 10/29/09 11:24, Aaron Boodman wrote: > That is odd, I don't know of anything that would have caused it. > > Can you make a simple test case of your extension? We will debug it. > > Thanks, > > - a > > On Thu, Oct 29, 2009 at 7:36 AM, V Leher<[email protected]> wrote: > >> 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 -~----------~----~----~----~------~----~------~--~---
chrometest.crx
Description: Binary data
chromiumtest.js
Description: application/javascript
manifest.json
Description: application/json
