I have experienced the same thing. Kind of makes sense since it's not efficient to use messaging within a page (it's better to use a regular function call).
Bruno On Nov 13, 7:24 pm, Rich <[email protected]> wrote: > I'm working on porting Forecastfox over to chrome. We've run across a > bug within the last couple of weeks. It was working before that. > > We are not receiving connect events on the background page if the > connect method is called in the same page. > > chrome.extension.onConnect.addListener(function (port) { console.log > (port.portId_); }); > chrome.extension.connect({"name": "test"}); > > We are doing this during page load so I'm not sure if this might > behttp://code.google.com/p/chromium/issues/detail?id=19287 > > Anyone know if this is the case? -- 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=.
