--
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.
Question, why is the 1.05b rc1 release outputs messages like this to console every 5 seconds?(elapsed time: 20 seconds)(elapsed time: 25 seconds)(elapsed time: 30 seconds)
While I can guess at the reasoning for the change, I'm unconvinced by
the name of the new global 'self'. 'self' is already an add-on side
module*, so having a different object on the contentScript side with
the same name will be confusing to people coming to this fresh.
Additionally, this new 'global' isn't mentioned int the 'Globals'
section of the docs.
David
* Hidden away in the 'internals' section of the API and docs, but is
critical to most uses of content scripts...
At this stage of the game, `self` is pretty set in stone, so the trick
is to document it well.
> Then about the miss of `self` in `globals` documentation: we do not
> talk about it as this part of the document is for commonjs modules
> globals. Content scripts are not such modules. Now, in 1.0b5, they
> only have this `self` and `console` additional global.
It sounds like we should talk about content script globals in our
`globals` documentation.
-myk