Skip to content

Commit

Permalink
WebBrowser doesn't like multiple UI threads
Browse files Browse the repository at this point in the history
  • Loading branch information
weltkante committed Jun 19, 2020
1 parent a4f4541 commit 57f7558
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

namespace System.Windows.Forms.Tests
{
[Collection("Sequential")] // workaround for WebBrowser control corrupting memory when run on multiple UI threads (instantiated via GUID)
public class AxHostPropertyDescriptorTests : IClassFixture<ThreadExceptionFixture>
{
private const string EmptyClsidString = "00000000-0000-0000-0000-000000000000";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

namespace System.Windows.Forms.Tests
{
[Collection("Sequential")] // workaround for WebBrowser control corrupting memory when run on multiple UI threads (instantiated via GUID)
public class ControlControlCollectionTests : IClassFixture<ThreadExceptionFixture>
{
[WinFormsFact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ namespace System.Windows.Forms.Tests
{
using Size = System.Drawing.Size;

[Collection("Sequential")] // workaround for WebBrowser control corrupting memory when run on multiple UI threads (instantiated via GUID)
public class WebBrowserBaseTests
{
public static IEnumerable<object[]> Bounds_Set_TestData()
Expand Down

0 comments on commit 57f7558

Please sign in to comment.