On Sep 8, 9:10 am, Aaron Boodman <[email protected]> wrote: > On Tue, Sep 8, 2009 at 3:37 AM, Guest<[email protected]> wrote: > > About the example in this page under Execution environment section. > >http://chromeextensionsdocs.appspot.com/content_scripts.html > > > I tried the example but only the 'hola!' greeting show up, not both. > > Is the execution environment changed ? > > The environment hasn't changed. That particular example is tricky from > the browser's perspective, so it could be that it doesn't work yet. > However, that is how it *should* work. > > I will do some investigation and file the right bugs. > > - a
Might be a port problem -- I noticed that example passes the optional connectInfo param (the object with the "name" key) in the call to connect. I was struggling to get port communications working today, and I found that my ports do not work in either direction (to extension or to content scripts) if I pass the optional connectInfo param in the connect call. If I leave it out, then it works. This was with my build from source as of late afternoon Aug 25, 2009. Rebuilding today's tree to check if it works now. regards Michael --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
