XBL (1, as found in current Mozilla projects) run with the privileges of
the bound document. At one point there was an error with the Firefox
autocomplete because it assumed it could access privileged things, which
was wrong because web pages can't, and it gets embedded into web pages
:) The autocomplete binding, of course, came from a privileged
chrome:// URL (but of course that isn't enough).
I haven't read XBL2 enough yet to know about that one.
I think that should answer your question?
--
Mook