Workaround (as comment) for runtime workbench browser HTTP url

This commit is contained in:
BoykoAlex
2021-08-25 13:59:38 -04:00
parent 51842c8708
commit 21258425f5

View File

@@ -53,6 +53,15 @@ public class XtermPlugin extends AbstractUIPlugin {
@Override
public void start(BundleContext bundle) throws Exception {
plugin = this;
// TODO: Workaround for SWT browser not able to open HTTP URL while in runtime workbench
// if (Platform.OS_MACOSX.equals(Platform.getOS())) {
// NSDictionary allowNonHttps = NSDictionary.dictionaryWithObject(
// NSNumber.numberWithBool(true),
// NSString.stringWith("NSAllowsArbitraryLoads"));
// NSBundle.mainBundle().infoDictionary().setValue(
// allowNonHttps, NSString.stringWith("NSAppTransportSecurity"));
// }
}
@Override