Yes, the port object has a tab property which contains this information:

http://code.google.com/chrome/extensions/extension.html#type-Port

- a

On Tue, Oct 27, 2009 at 6:38 PM, donaddon <[email protected]> wrote:
>
> I'm not sure I understand ports correctly, but if a content script
> opens one, isn't it bound to only that one content script executing in
> that one tab?  If so, is it possible for the background page to
> determine that tab id from the port?
>
> What I'm looking for is a way to associate multiple content scripts
> running in iframes in the same document (potentially different
> domains) so they can coordinate actions.
>
> >
>

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