cosmetic changes, changed some urls in the url table.

a=asa for QA checkins that are not part of the default builds
This commit is contained in:
depstein%netscape.com 2002-07-04 01:37:04 +00:00
Родитель 877a36dfd9
Коммит 83cd74cba5
3 изменённых файлов: 4 добавлений и 8 удалений

Просмотреть файл

@ -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;

Просмотреть файл

@ -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

Просмотреть файл

@ -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}
};