nsCOMPtr<nsIDocument> doc; aDocumentInfo->GetDocument(getter_AddRefs(doc));
NS_ENSURE_TRUE(mDocumentTable.Put(aDocumentInfo->DocumentURI(), aDocumentInfo), NS_ERROR_OUT_OF_MEMORY);
nsBindingManager::PutXBLDocumentInfo(nsIXBLDocumentInfo* aDocumentInfo){  if (!mDocumentTable)    mDocumentTable = new nsSupportsHashtable();  nsCOMPtr<nsIDocument> doc;  aDocumentInfo->GetDocument(getter_AddRefs(doc));  nsCOMPtr<nsIURI> uri(getter_AddRefs(doc->GetDocumentURL()));  nsXPIDLCString str;  uri->GetSpec(getter_Copies(str));    nsCStringKey key((const char*)str);  mDocumentTable->Put(&key, aDocumentInfo);  return NS_OK;}