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

This commit is contained in:
Damian Büchel 2021-02-09 14:46:57 +01:00
parent 3b7410b83d
commit ac91b09f7b

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;