diff --git a/embedding/qa/testembed/BrowserImplWebPrgrsLstnr.cpp b/embedding/qa/testembed/BrowserImplWebPrgrsLstnr.cpp index ac08da58462..5516107f930 100644 --- a/embedding/qa/testembed/BrowserImplWebPrgrsLstnr.cpp +++ b/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/embedding/qa/testembed/Tests.cpp b/embedding/qa/testembed/Tests.cpp index 7a2941a8db2..1e991ac1539 100644 --- a/embedding/qa/testembed/Tests.cpp +++ b/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/embedding/qa/testembed/nsIWebNav.cpp b/embedding/qa/testembed/nsIWebNav.cpp index 4ea65e12cf8..93c2d039385 100644 --- a/embedding/qa/testembed/nsIWebNav.cpp +++ b/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} };