Hi,
I have integrated xulrunner in my application and am able to load
webpages to it. My main requirement is to invoke native application
function through webpage. Through webpage i want to indicate
application to close/terminate browser and if possible pass some
message to it.
I proceeded by implementing xpcom. I am able to invoke functions
through xpcshell.exe but when i try to invoke from webbrowser a dialog
box is poped up seeking permission from user. I want to bypass this
dialog.
While calling xpcom object i have asked for the following permission.
netscape.security.PrivilegeManager.enablePrivilege
("UniversalXPConnect");
Also in preference file i have added the following line
pref("signed.applets.codebase_principal_support", true);
Please tell me how to bypass security privilege dialog.
Also if there is any alternative way to pass message to native
application apart from xpcom route (like events etc) then please let
me know.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding