if (!mDocumentTable) mDocumentTable = new nsSupportsHashtable();
NS_PRECONDITION(aDocumentInfo, "Must have a non-null documentinfo!");  NS_ENSURE_TRUE(mDocumentTable.IsInitialized() || mDocumentTable.Init(16), 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;}