Disable Java in the web view too

Plug-ins have already been disabled but I'm not sure if that encompasses Java or not.
May as well be explicit in either case and disable it.
This commit is contained in:
Zorg committed 2016-02-16 23:21:28 -05:00
1 parent b64cee8055
commit 4eb2e9af00
1 file changed
+1
+1
View File
@@ -122,6 +122,7 @@
self.releaseNotesView.preferencesIdentifier = SUBundleIdentifier;
WebPreferences *prefs = [self.releaseNotesView preferences];
prefs.plugInsEnabled = NO;
prefs.javaEnabled = NO;
prefs.javaScriptEnabled = [self.host boolForInfoDictionaryKey:SUEnableJavaScriptKey];
self.releaseNotesView.frameLoadDelegate = self;
self.releaseNotesView.policyDelegate = self;