Damien Ciabrini wrote:
Hello all,

I've got troubles trying to load a RDF file from a http server with mozilla-1.6 or mozilla-firebird.
here is my XUL file which does the job:


<?xml version="1.0"?>
<window
  xmlns = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";>
<script type="application/x-javascript">
function foo() {
//url = "file:///home/braun/myfile.rdf";
url = "http://localhost/~braun/myfile.rdf";;
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");

UniversalXPConnect priviliges are not available for http content, unless that content is in a signed JAR file (or is sent via https). The call to enablePrivilege is failing, but that doesn't throw an exception (I don't know why not, seems rather strange to me).


--BDS
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to