Hello,

we created an application, which we want to install in chrome directory. We
have placed the jar into the directory, added a contents.rdf and hacked
installed-chrome.txt in the following way (according to Mozilla book, page
32, or like the prefbar application from xulplanet.com):

content,install,url,jar:resource:/chrome/iupb.jar!/content/iupb/

Everything works fine (CSS, images, access to JS and so on). But some
actions in XBL JS won't be executed, because of following exception:

Error: uncaught exception: Permission denied to get property
XULDocument.documentElement

As you can see even a simple document.documentElement is not permitted. Can
you say why? This was already permitted in our pure remote version of the
application.

During our tests and comparisons with prefbar application and XFly test from
the book, we found out, that the access to document.documentElement from JS
files is permitted but denied from XBLs.

Regards,

Joerg






Reply via email to