org.symbian.tools.wrttools.previewer/src/org/symbian/tools/wrttools/previewer/preview/MozillaPreviewPage.java
equal
deleted
inserted
replaced
90 private void bypassSameOriginPolicy() { |
90 private void bypassSameOriginPolicy() { |
91 WebAppInterface.getInstance(); |
91 WebAppInterface.getInstance(); |
92 try{ |
92 try{ |
93 nsIServiceManager servMgr = null; |
93 nsIServiceManager servMgr = null; |
94 try { |
94 try { |
95 Mozilla.getInstance().initialize(null); |
|
96 servMgr = Mozilla.getInstance().getServiceManager(); |
95 servMgr = Mozilla.getInstance().getServiceManager(); |
97 if (servMgr == null) return; |
96 if (servMgr == null) return; |
98 } catch (Exception x) { |
97 } catch (Exception x) { |
99 PreviewerPlugin.log(x); |
98 PreviewerPlugin.log(x); |
100 // known to throw NullPointException on Mac OS when you're not using |
99 // known to throw NullPointException on Mac OS when you're not using |