public void HandleNewPageLoaded(string message) { // We are unable to trace requests for local pages (like about:*, file:// urls, etc.). So simulate a first initial request when missing. if (m_InitialPage == null) { string[] parts = message.Split(new char[] { ',' }, 2); HandleNewPageRequest(parts[1]); } m_LoadedPage = m_InitialPage; m_InitialPage = null; // Not really necessary, but might help with finding bugs m_LoadedPage.StartSectionSafe(m_InMarkedSection); }