internal void PopInputDocument()
{
Debug.Assert(_input != null);
Debug.Assert(_input.Atoms == _atoms);
NavigatorInput lastInput = _input;
_input = lastInput.Next;
lastInput.Next = null;
if (_input != null)
{
_atoms = _input.Atoms;
_scopeManager = _input.InputScopeManager;
}
else
{
_atoms = null;
_scopeManager = null;
}
RemoveDocumentURI(lastInput.Href);
lastInput.Close();
}