From 172845b3c012908b34ab99d96d8c08c70ebbf4c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20B=C3=BCchel?= Date: Tue, 22 Mar 2022 09:56:17 +0100 Subject: [PATCH] SEBWIN-525: Forgot to set all display settings of permissive configuration for browser configuration resource. --- .../Operations/ConfigurationOperation.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/SafeExamBrowser.Runtime/Operations/ConfigurationOperation.cs b/SafeExamBrowser.Runtime/Operations/ConfigurationOperation.cs index 156c34ef..f8192e8d 100644 --- a/SafeExamBrowser.Runtime/Operations/ConfigurationOperation.cs +++ b/SafeExamBrowser.Runtime/Operations/ConfigurationOperation.cs @@ -24,9 +24,9 @@ namespace SafeExamBrowser.Runtime.Operations { internal class ConfigurationOperation : ConfigurationBaseOperation { - private IFileSystem fileSystem; - private IHashAlgorithm hashAlgorithm; - private ILogger logger; + private readonly IFileSystem fileSystem; + private readonly IHashAlgorithm hashAlgorithm; + private readonly ILogger logger; public override event ActionRequiredEventHandler ActionRequired; public override event StatusChangedEventHandler StatusChanged; @@ -208,6 +208,8 @@ namespace SafeExamBrowser.Runtime.Operations Context.Next.Settings.Applications.Blacklist.Clear(); Context.Next.Settings.Applications.Whitelist.Clear(); Context.Next.Settings.Display.AllowedDisplays = 10; + Context.Next.Settings.Display.IgnoreError = true; + Context.Next.Settings.Display.InternalDisplayOnly = false; Context.Next.Settings.Browser.DeleteCacheOnShutdown = false; Context.Next.Settings.Browser.DeleteCookiesOnShutdown = false; Context.Next.Settings.Browser.StartUrl = uri.AbsoluteUri;