Closed Bug 802161 Opened 14 years ago Closed 14 years ago

`tabs` are not working of Fennec

Categories

(Add-on SDK Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: zer0, Unassigned)

Details

I'm trying a simple add-on: require("tabs").open({ url: "data:text/plain;charset=utf-8,Hello" }); If I run it on fennec, `cfx` told to me that the add-on raised an exception (without given any other details, maybe we could improve that); luckily if I'm using adb logcat I can spot what happens: I/stdout (16011): File "resource://jid1-adi7c9btodqhwq-at-jetpack/addon-sdk/lib/sdk/tabs/tab-fennec.js", line 24, in initialize I/stdout (16011): let tabInternals = tabNS(this); I/stdout (16011): TypeError: tabNS is not a function It seems for some reason that `tabNS` is undefined. I guess is a regression given by the new SDK layout.
My local branch wasn't updated meanwhile my master was, this issue was already fixed by this commit: https://github.com/mozilla/addon-sdk/commit/365d0e50add41342a6a47d674d5bbfab127e38c2
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.