Issue with tabs functions on FF 50

Hi,

Since FF version 50 we’re having issues with API for tabs management.

browser.tabs.create({‘active’: false}) throws an exception though the tab is created but the promise events are not launching.
Same problem with browser.tabs.getCurrent() etc…
I’ve tracked down the exception and it’s located into FF webexts classes.

The exception states that “this.cloneScope is null” and is being thrown by the following test :

if (promise instanceof this.cloneScope.Promise) {
runSafe = this.runSafeWithoutClone.bind(this);
}

I can post a capture image of the debugger if needed or anything else.
Is this a known issue ? It used to work properly until recently.

Thank you.

Regards

Have you tested this in other versions of Firefox? Also, can you point to an XPI that can be used for testing this?

I’ve got the same problem
My WebExtension work fine until Firefox version 48 … bug on 49 & 50…
And Finally … surprise … it work on 51 (beta)

About 49 & 50 :
This is really strange i meet the probleme when i’m coming directly on my WebExtension Page … but when i’m opening the “console” + “refresh the tab”, that’s working

My WebExtension Working fine on Google Chrome …

Like Jconnan, i’ve got the mistake from native Mozilla code