You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Win32] Simplify cleanup after Edge test execution
When executing tests for Edge, UI events are processed on teardown of
the test (or more precisely on widget disposal) as there may still be
resources related to the OS WebView component being cleaned up. The
current implementation was only supposed to be used for testing purposes
as an attempt to address non-deterministic timeouts in tests. However,
the timeouts still occur and the current implementation is prone to
break as it may never terminate when new events to be process arrive
frequently.
This change simplifies the cleanup functionality to process UI events
only once instead of looping it. This mitigates the risk of a
long-running loop and reduces unnecessary complexity.
Copy file name to clipboardExpand all lines: tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_browser_Browser.java
0 commit comments