if (!mLoadingDocTable) mLoadingDocTable = new nsSupportsHashtable();  nsCStringKey key(aURL); mLoadingDocTable->Put(&key, aListener);
NS_PRECONDITION(aListener, "Must have a non-null listener!");  NS_ENSURE_TRUE(mLoadingDocTable.IsInitialized() || mLoadingDocTable.Init(16), NS_ERROR_OUT_OF_MEMORY);  NS_ENSURE_TRUE(mLoadingDocTable.Put(aURL, aListener), NS_ERROR_OUT_OF_MEMORY);
nsBindingManager::PutLoadingDocListener(const nsCString& aURL, nsIStreamListener* aListener){  if (!mLoadingDocTable)    mLoadingDocTable = new nsSupportsHashtable();  nsCStringKey key(aURL);  mLoadingDocTable->Put(&key, aListener);  return NS_OK;}