NavigationManager::AddTransientItem() is only expected to be called when there is an active pending non-app-specific URL. This assumption seems broken by the captive portal use case in IOSSSLErrorHandler.
This causes crashes in the navigation manager. See crbug.com/854756 for WKBasedNavigationManager and crbug.com/822908 for LegacyNavigationManager.
Should navigation manager support this use case and allow transient items to be added without a pending item?
Or should captive portal use case be implemented differently?
Comment 1 by danyao@chromium.org
, Jul 19