||Wed, 23 January 2013 17:10
| Mark Fishman
Registered: March 2011
I have switched my embedded browser component in my SWT application from xulrunner 3.6 to xulrunner 10. However, in doing so, I have run into a problem. When using xulrunner 3.6, I could do a |
Browser browser = new Browser(parent, SWT.Mozilla);
and then do a call like:
var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
I get a "Permission denied for <moz-safe-about:blank> to get property: XPComponents.classes" error message.
This may be more of a xulrunner rather than SWT Browser integration question but I was wondering if anyone else has run into this problem and figured out a way to re-enable this capability.
Powered by FUDForum
. Page generated in 0.01617 seconds