Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't access panel's tab?

4 views
Skip to first unread message

Ashraf Amayreh

unread,
Apr 4, 2016, 11:53:37 PM4/4/16
to dev-developer-tools
Hey All,

I'm facing this odd issue when I close/open devtools. I can't reference
the tab.

So something like this in my panel's onReady

var panel_tab = require('sdk/tabs').activeTab;

panel_tab.attach({
contentScript:'window.alert("12345678");' });

Working fine 1st time I open my panel in devtools, but if I close/open
devtools again, it's just not triggering. Despite getting a tab object.

Ashraf Amayreh

unread,
Apr 5, 2016, 3:36:47 PM4/5/16
to dev-developer-tools
Anyone?
0 new messages