On 27 marras, 22:01, Aaron Boodman <a...@google.com> wrote:
> Did you addhttp://www.google.com/*to the list of permissions in the manifest?
>
> http://code.google.com/chrome/extensions/manifest.html#permissions
>
> - a

Same problem here. Permissions should be ok, I've tested all kinds of
sites and permissions. It actually communicates with the site somehow
as I monitor the network traffic but responseText is empty and status
= 0 no matter what I try.

Chrome version 4.0.249.11, Windows 7, 32bit.

I'd really appreciate some hint here, been trying to get it working
for 2 days now...

Regards,
Timo



>
> On Thu, Nov 26, 2009 at 11:15 AM, Pablo Fernandez
>
>
>
>
>
> <fernandezpabl...@gmail.com> wrote:
> > Hi,
>
> > I've got this piece of code in thebackgroundpage
>
> > function(request, sender, sendResponse) {
> >                varxhr= new XMLHttpRequest();
> >                xhr.open("GET", "http://www.google.com";, true);
> >                xhr.send();
> >                xhr.onreadystatechange = function() {
> >                  if (xhr.readyState ==xhr.DONE) {
> >                                sendResponse({"response":xhr.responseText})
> >                  }
> >                }
> >        });
>
> > Butxhr.responseText comesempty("")
>
> > Any idea why?
>
> > Thanks a lot
>
> > --
>
> > You received this message because you are subscribed to the Google Groups 
> > "Chromium-extensions" group.
> > To post to this group, send email to chromium-extensi...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > chromium-extensions+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/chromium-extensions?hl=en.

--

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


Reply via email to