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
Copy file name to clipboardExpand all lines: CefSharp.Core.Runtime/Internals/JavascriptCallbackProxy.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ namespace CefSharp
27
27
auto browser = GetBrowser();
28
28
if (browser == nullptr)
29
29
{
30
-
return Task::FromException<JavascriptResponse^>(gcnew InvalidOperationException("Browser instance is null. Check CanExecute before calling this method."));
30
+
throwgcnew InvalidOperationException("Browser instance is null. Check CanExecute before calling this method.");
31
31
}
32
32
33
33
auto browserWrapper = static_cast<CefBrowserWrapper^>(browser);
Assert.StartsWith("Unable to find JavascriptCallback with Id "+callbackExecuteCancelAfterV8ContextCallback.Id,callbackExecuteCancelAfterV8ContextResult.Message);
64
68
65
69
varcallbackExecuteCancelAfterDisposeResponse=awaitbrowser.EvaluateScriptAsync("(function() { return new Promise(resolve => setTimeout(resolve, 1000)); })");
0 commit comments