freddy81
2005-03-07 13:24:34 UTC
Hi,
i have read a lot of thing about frames and cross domain security and i
don't know how i can do this in mozilla :
i have an xsl file which transform an xml file into an html. this
result is added to my document body of the iframe. In this body, i want
to access to parent property (ex : parent.document.title) and i have an
"access denied to HTMLDocument.title"
Ok, so i'm tried to change security user pref with
netscape.security.PrivilegeManager.enablePrivilege("UniversalPreferencesRead
UniversalPreferencesWrite");
and I get this error : uncaught exception: Un script de
« about:blank » s'est vu refuser des privilèges
UniversalPreferencesRead UniversalPreferencesWrite.
Another important thing is i must not specify a src for the iframe
because i fill it dynamicaly.
And all of this work in IE6, that's my problem !
I do not have any idea how i can find a solution.
Fred,
Sorry for my english, i'm french ! lol
i have read a lot of thing about frames and cross domain security and i
don't know how i can do this in mozilla :
i have an xsl file which transform an xml file into an html. this
result is added to my document body of the iframe. In this body, i want
to access to parent property (ex : parent.document.title) and i have an
"access denied to HTMLDocument.title"
Ok, so i'm tried to change security user pref with
netscape.security.PrivilegeManager.enablePrivilege("UniversalPreferencesRead
UniversalPreferencesWrite");
and I get this error : uncaught exception: Un script de
« about:blank » s'est vu refuser des privilèges
UniversalPreferencesRead UniversalPreferencesWrite.
Another important thing is i must not specify a src for the iframe
because i fill it dynamicaly.
And all of this work in IE6, that's my problem !
I do not have any idea how i can find a solution.
Fred,
Sorry for my english, i'm french ! lol