We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017876e commit df4ba2eCopy full SHA for df4ba2e
1 file changed
CefSharp.Test/Javascript/EvaluateScriptAsyncTests.cs
@@ -56,6 +56,10 @@ public async Task ShouldCancelAfterV8ContextChange()
56
// change V8 context
57
await browser.LoadUrlAsync(CefExample.HelloWorldUrl);
58
59
+ // Wait for 100ms so the message from the render process has time to arrive, this
60
+ // wasn't previously nessicary, timing is different starting in M146
61
+ await Task.Delay(100);
62
+
63
await Assert.ThrowsAsync<TaskCanceledException>(() => evaluateCancelAfterV8ContextChangeTask);
64
65
evaluateCancelAfterDisposeTask = browser.EvaluateScriptAsync("new Promise(resolve => setTimeout(resolve, 1000))");
0 commit comments