URLLoadInfo* info = (URLLoadInfo*)context; if (info) { info->mConnectTime = PR_Now() - info->mConnectTime; }
printf("\n+++ OpenObserver::OnStartRequest +++. Context = %p\n", context);
InputTestConsumer::OnStartRequest(nsIChannel* channel, nsISupports* context){  URLLoadInfo* info = (URLLoadInfo*)context;  if (info) {    info->mConnectTime = PR_Now() - info->mConnectTime;  }  if (gVerbose) {    printf("\nStarted loading: %s\n", info ? info->Name() : "UNKNOWN URL");  }/*  nsCOMPtr<nsIURI> pURI(do_QueryInterface(context));  char* location = nsnull;  if (pURI) {    pURI->GetSpec(&location);  }  printf("\nStarted loading: %s\n", location ? location : "UNKNOWN URL");  if (location) {    nsCRT::free(location);  }*/  return NS_OK;}