Hi,
when iam trying to execute the html file with java script. message "A
script from "file://" was denied UniversalXPConnect privileges" is popped.
In order to enable this previlege i added two lines in user.js (in the same
folder of prefs.js)
user_pref("capability.principal.MyComponent.id", "file:///root/index.html");
user_pref("capability.principal.MyComponent.granted", "UniversalXPConnect");
even I tried with
user_pref("capability.principal.p0.id", "file:///root/index.html");
user_pref("capability.principal.p0.granted", "UniversalXPConnect");
once i restart firefox those two lines are generated in prefs.js but iam not
getting expected result.
privilege of UnviversalXPConnect is denied.
i need a help to solve this issue.
thanks
--
View this message in context:
http://www.nabble.com/How-to-grant-the-previlege-of-UniversalXPConnect-in-%22file%3A--%22--tf4163770.html#a11847012
Sent from the Mozilla - Networking Library mailing list archive at Nabble.com.
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network