hey,
i already posted this in the xul mailing list, until i realized this
might be the better place:
I try to dynamically create XUL that will be shown in a browser tab -
just as providing a chrome-url to a xul-file, but created on the fly
rather than loaded from file.
My current attempt was creating the XUL in a new ("desktop based")
protocol handler,
just like described here:
http://kb.mozillazine.org/Dev_:_Extending_the_Chrome_Protocol
in the given approach they use the data-protocol, but before i tried
what was described there, i wrote my own protocol handler that simply
uses streams.
Both versions work for creating and showing the XUL, but it does not
give me the
permissions for accessing anything outside the browser-element ( =
chrome privileges) - be it
the javascript of my extension or my JS Modules and probably also not
the XUL of the application outside of the browser-element.
How can I give my dynamically created XUL (and Javascript) the same
permissions as the rest of the application? i understand the security
aspect behind this, but there should be a way in which dynamically
created (non remote / purely local) XUL in a browser element can
interact with the rest of the application.
Any ideas?
Thanks a lot! :)
cheers!
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network