Firefox で空のオブジェクトを返す appAPI.tabs.getActive
appAPI.ready(function()
{
// retrieves the information for the active tab
appAPI.tabs.getActive(function(tabInfo) {
console.log(
'tabId: ' + tabInfo.tabId +
' tabUrl: ' + tabInfo.tabUrl
);
});
});
上記の関数/コード appAPI.tabs.getActive を拡張機能で試してみましたが、Chrome では正常に動作しますが、Firefox では動作せず、空のオブジェクト {} が返されます。誰かが問題が何であるかを知っている場合は、これにできるだけ早く返信してください、事前に感謝します