Add-on SDK 1.14 now available on Add-on Builder

As you probably know, Add-on SDK 1.14 was released on Tuesday. I’m pleased to also announce that Add-on Builder has been updated to support SDK 1.14. As well, the AMO Add-on Validator has also been updated to support SDK 1.14.

The one caveat with using Add-on Builder with SDK 1.14 is that the behaviour of console.log changed. If you rely on the Error Console window to view messages from console.log, you have two options:

Change all calls to console.log to console.error, which will print out scary looking red messages in the Error Console’s ‘Errors’ tab

Follow the instructions detailed in my blog post from yesterday to ensure that any calls in your add-on code to appear as they previously did in the ‘Messages’ tab of the Error Console window.

We’ve logged a bug to improve this experience via an update to the Add-on Builder Helper add-on so this will not be an issue in the future.

3 responses

I try to start use add-on builder, but…
NO WAY to log some message to console – Button “error console” in menu is absolutely useless (on click no action taken whatever I do), console.log(), console.error() don’t work even I set devtools.errorconsole.enabled = true, all logLevels to ‘all’ etc…