webNav->LoadURI(urlWString.get(), nsIWebNavigation::LOAD_FLAGS_NONE);
webNav->LoadURI(urlWString.get(), nsIWebNavigation::LOAD_FLAGS_NONE, nsnull, nsnull, nsnull);
void LoadURLInXULWindow(nsIXULWindow* inWindow, const char* urlString){  nsCOMPtr<nsIDocShellTreeItem> contentShell;  inWindow->GetPrimaryContentShell(getter_AddRefs(contentShell));  ThrowErrIfNil(contentShell, paramErr);  nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface(contentShell));  ThrowErrIfNil(webNav, paramErr);  nsAutoString urlWString; urlWString.AssignWithConversion(urlString);	  webNav->LoadURI(urlWString.get(), nsIWebNavigation::LOAD_FLAGS_NONE);}