nsIContent* aSource, nsIPresContext* aPresContext)
nsIContent* aSource, nsIPresContext* aPresContext, nsIDocShell** aDocShell, nsIRequest** aRequest)
nsFormSubmission::SubmitTo(nsIURI* aActionURL, const nsAString& aTarget,                           nsIContent* aSource, nsIPresContext* aPresContext){  nsresult rv;  //  // Finish encoding (get post data stream and URL)  //  nsCOMPtr<nsIInputStream> postDataStream;  rv = GetEncodedSubmission(aActionURL, getter_AddRefs(postDataStream));  NS_ENSURE_SUCCESS(rv, rv);  //  // Actually submit the data  //  nsCOMPtr<nsILinkHandler> handler;  aPresContext->GetLinkHandler(getter_AddRefs(handler));  if (handler) {    nsCAutoString actionURLSpec;    aActionURL->GetSpec(actionURLSpec);    handler->OnLinkClick(aSource, eLinkVerb_Replace,                         NS_ConvertUTF8toUCS2(actionURLSpec).get(),                         PromiseFlatString(aTarget).get(), postDataStream);  }  return rv;}