Bug 943418.  Check for active documents, not current inners, in History APIs.  r=bholley