From dad895d2f7c2a63ad3667dd7625dfbf915084b06 Mon Sep 17 00:00:00 2001 From: "depstein%netscape.com" Date: Thu, 4 Jul 2002 01:37:04 +0000 Subject: [PATCH] cosmetic changes, changed some urls in the url table. a=asa for QA checkins that are not part of the default builds git-svn-id: svn://10.0.0.236/trunk@124662 18797224-902f-48f8-a5cc-f745e15eee43 --- .../embedding/qa/testembed/BrowserImplWebPrgrsLstnr.cpp | 1 - mozilla/embedding/qa/testembed/Tests.cpp | 7 ++----- mozilla/embedding/qa/testembed/nsIWebNav.cpp | 4 ++-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/mozilla/embedding/qa/testembed/BrowserImplWebPrgrsLstnr.cpp b/mozilla/embedding/qa/testembed/BrowserImplWebPrgrsLstnr.cpp index ac08da58462..5516107f930 100644 --- a/mozilla/embedding/qa/testembed/BrowserImplWebPrgrsLstnr.cpp +++ b/mozilla/embedding/qa/testembed/BrowserImplWebPrgrsLstnr.cpp @@ -116,7 +116,6 @@ NS_IMETHODIMP CBrowserImpl::OnStateChange(nsIWebProgress *progress, nsIRequest * { char theDocType[100]; char theStateType[100]; -// char theTotalString[1000]; int displayMode = 1; nsCString stringMsg; nsCString totalMsg; diff --git a/mozilla/embedding/qa/testembed/Tests.cpp b/mozilla/embedding/qa/testembed/Tests.cpp index 7a2941a8db2..1e991ac1539 100644 --- a/mozilla/embedding/qa/testembed/Tests.cpp +++ b/mozilla/embedding/qa/testembed/Tests.cpp @@ -287,13 +287,10 @@ void CTests::OnTestsChangeUrl() { QAOutput("Begin Change URL test.", 1); rv = qaWebNav->LoadURI(NS_ConvertASCIItoUCS2(myDialog.m_urlfield).get(), - myDialog.m_flagvalue, - nsnull, - nsnull, - nsnull); + myDialog.m_flagvalue, nsnull,nsnull, nsnull); RvTestResult(rv, "rv LoadURI() test", 1); FormatAndPrintOutput("The url = ", myDialog.m_urlfield, 2); - FormatAndPrintOutput("The flag = ", myDialog.m_flagvalue, 2); + FormatAndPrintOutput("The flag = ", myDialog.m_flagvalue, 1); QAOutput("End Change URL test.", 1); } else diff --git a/mozilla/embedding/qa/testembed/nsIWebNav.cpp b/mozilla/embedding/qa/testembed/nsIWebNav.cpp index 4ea65e12cf8..93c2d039385 100644 --- a/mozilla/embedding/qa/testembed/nsIWebNav.cpp +++ b/mozilla/embedding/qa/testembed/nsIWebNav.cpp @@ -82,10 +82,10 @@ NavElement UrlTable[] = { {"http://www.sun.com/", nsIWebNavigation::LOAD_FLAGS_IS_REFRESH}, {"ftp://ftp.netscape.com", nsIWebNavigation::LOAD_FLAGS_BYPASS_HISTORY}, {"ftp://ftp.mozilla.org/", nsIWebNavigation::LOAD_FLAGS_REPLACE_HISTORY}, - {"https://www.worldcom.com/", nsIWebNavigation::LOAD_FLAGS_BYPASS_CACHE}, + {"https://www.motorola.com/", nsIWebNavigation::LOAD_FLAGS_BYPASS_CACHE}, {"https://www.amazon.com", nsIWebNavigation::LOAD_FLAGS_BYPASS_PROXY}, {"about:plugins", nsIWebNavigation::LOAD_FLAGS_CHARSET_CHANGE}, - {"javascript: alert('Test!')", nsIWebNavigation::LOAD_FLAGS_NONE}, + {"javascript: document.write('Test!')", nsIWebNavigation::LOAD_FLAGS_NONE}, {"file://C|/Program Files", nsIWebNavigation::LOAD_FLAGS_NONE} };