mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
set initial address to empty string rather than about:blank
This commit is contained in:
@@ -81,9 +81,13 @@ namespace CefSharp
|
||||
CefPostTask(TID_UI, NewCefRunnableMethod(this, &ScriptCore::UIT_Evaluate,
|
||||
frame, script));
|
||||
|
||||
if (WaitForSingleObject(_event, timeout))
|
||||
switch (WaitForSingleObject(_event, timeout))
|
||||
{
|
||||
case WAIT_TIMEOUT:
|
||||
throw gcnew ScriptException("Script timed out");
|
||||
case WAIT_ABANDONED:
|
||||
case WAIT_FAILED:
|
||||
throw gcnew ScriptException("Script error");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user