SEBWIN-458: Ensured browser navigation keeps working when blocking a request.

This commit is contained in:
Damian Büchel 2021-02-09 14:42:18 +01:00
parent c5c832d6c3
commit d48c333b6e

View file

@ -86,6 +86,11 @@ namespace SafeExamBrowser.Browser.Handlers
if (request.ResourceType == ResourceType.MainFrame)
{
RequestBlocked?.Invoke(request.Url);
if (browser.HasDocument)
{
browser.Reload();
}
}
return true;