They work from background pages for me but not from content scripts. I was under the impression that with the proper permissions they would work from content scripts as well but I guess that is not that case.
Thanks On Sep 10, 10:24 am, Daniel Wagner-Hall <[email protected]> wrote: > They're definitely working for me in 4.0.206.1 on Mac... Where are you > making the call from? Your background page? I don't think you can make > xmlHttpRequests from elsewhere (like content scripts)... If you visit > the host you're sending the XHR to in your browser, what happens? What > code are you using to make the request? What version of Chrome are you > using? > > On Thu, Sep 10, 2009 at 6:16 PM, uprise78 <[email protected]> wrote: > > > As per the docs onhttp://code.google.com/chrome/extensions/xhr.html: > > > "A match pattern of "http://*/" allows HTTP access to all reachable > > domains. Note that here, match patterns are similar to content script > > match patterns, but any path information following the host is > > ignored." > > > I tried both ways and still no luck. > > > On Sep 10, 9:47 am, Daniel Wagner-Hall <[email protected]> wrote: > >> On Thu, Sep 10, 2009 at 5:38 PM, uprise78 <[email protected]> wrote: > > >> > I set my permissions in my manifest file to: > > >> > "permissions": ["http://*/", "https://*/", "tabs", "bookmarks"] > > >> > My XMLHttpRequest's still always return a status 0 unless I am on a > >> > web page on the domain that I am requesting from. Is this not > >> > implemented yet for Macs or should I file a bug report? > > >> Try changing the line to: > > >> "permissions": ["http://*/*", "https://*/*", "tabs", "bookmarks"] > > >> The matcher works for full paths, not just the host --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
