Status: Unconfirmed Owner: ---- Labels: Type-Bug Pri-2 OS-All Area-Misc New issue 10652 by freeman.mc: Cross Subdomain XHR requests not working in User Scripts http://code.google.com/p/chromium/issues/detail?id=10652
Chrome Version : 2.0.174.0 URLs (if applicable) : Other browsers tested: Add OK or FAIL after other browsers where you have tested this issue: Firefox 3.x: OK What steps will reproduce the problem? 1. Create a user script js file that runs in a page (ej, www.google.com/analytics) 2. In the user script create a xmlhttprequest object to post and set the URL to one posts to another subdomain of the same domain(ex. http://docs.google.com/feeds/documents/private/full ) What is the expected result? readyStateChange event to fire followed by a 200 OK response code What happens instead? The XHR object does not send so it stays inactive with a "0" status error. Please provide any additional information below. Attach a screenshot if possible. you can also test this without a user script by just navigating to any page and try to send a XHR from the JavaScript console and have the URL for the XHR be on a different subdomain of the same domain. It gives an "undefined" error. If you try the same code on an another URL but on the same subdomain, it works with the 200 response code. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
