On Sun, Oct 4, 2009 at 12:11 AM, Yatahonga <[email protected]> wrote:

> Uncaught TypeError: Object [object Object] has no method 'stringify'
> chrome://devtools/chrome/RendererExtensionBindings
>
> ... which seems to point more to JSON stringify than XHR.


True - the problem is not with XHR, but with your use of the postMessage
API. Any object you pass as a message through postMessage is fed through a
JSON parser first, so it needs to have a JSON representation. Passing
complicated objects with functions like an XHR object won't work. See
http://chromeextrasdocs.appspot.com/content_scripts.html#messaging for more
details on what can be sent as a message.

--~--~---------~--~----~------------~-------~--~----~
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