I have a XUL window containing a browser element. This browser element shows a chrome HTML document (url is chrome://fspro/content/foo.html). I apply an XBL binding (itself defined in a chrome URL chrome://fspro/content/foo.xml) onto an element of the document. This XBL defines a method initFoo(). But I cannot call it from the window's chrome JS, it triggers an error saying initFoo is not defined ! From Venkman, I _do_ see it. From the Inspector, I clearly see the binding applied.

Could someone understanding this mess tell me what's going on here please ?

Update: we got it... You cannot add a binding to the root of an HTML document. It sucks 1000%.