set initial address to empty string rather than about:blank

This commit is contained in:
anthony taranto
2012-03-02 13:23:53 -08:00
parent 94dc03309e
commit 7b4516d83c
3 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -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");
}
}