private void EmitNavigateFinishedWhenDone()
{
// Geckofx OnNavigated occurs before document actually loaded.
// work around this by idly checking if document has loaded.
m_loadEventHandled = false;
m_browser.Load += (s, e) => m_loadEventHandled = true;
Application.Idle += HandleApplicationIdle;
}