On 10/19/12 1:32 AM, Ben Campbell wrote:
> So: given an addon-sdk Tab object, I need to do something like:
> 1) get the underlying browser element for this tab
> 2) get the underlying tabbrowser window the tab is on
> 3) call tabbrowser.getNotificationBox(browser)
> then I can append a notification.
So, this is something I really want to have in SDK for Firefox, because
we already have it for Fennec: the capability to get the XUL Tab from
the SDK Tab. It useful in a lot of context as soon as you're starting to
do something more complex in SDK with tabs.
> It works, but it's a bit nasty, and I don't want to have to rely on a
> hacked version of the SDK.
I filled a bug:
<
https://bugzilla.mozilla.org/show_bug.cgi?id=803375>
I don't expect to have big issues here for implement it, but tabs are
always tricky, so let's see.
> Anyway, hope this is all useful to someone,
> Ben.
Thanks for your report!