I can reproduce this pretty easily, comparing 9.01 ( where I get an array as the outer variable ) and Aurora ( where I get an object ) with the same code. Here's a working example we can repro with:
https://builder.addons.mozilla.org/addon/1031572/latest/
As this is a difference in the behaviour of two different versions of Firefox using the same SDK version and addon code, the obvious conclusion is that something changed in the platform between the current release and Beta. I've logged this bug to track the issue:
https://bugzilla.mozilla.org/show_bug.cgi?id=714110
As Firefox 10 is the current beta and we have something like 5 weeks before release, I'm hoping we can resolve the issue before then.
Jeff
> --
> You received this message because you are subscribed to the Google
> Groups "mozilla-labs-jetpack" group.
> To post to this group, send email to
> mozilla-la...@googlegroups.com.
> To unsubscribe from this group, send email to
> mozilla-labs-jet...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mozilla-labs-jetpack?hl=en.
No, thank YOU for the report! This bug is now a blocker on the next Firefox release, with plenty of time to fix it. :D
If you want to follow the process, feel free to cc yourself on the bug itself.
cheers, Jeff