Remove error-checking for bad XUL.

This commit is contained in:
hyatt%netscape.com 2000-06-22 19:34:29 +00:00
Родитель f77b2e7389
Коммит 5348356763
2 изменённых файлов: 4 добавлений и 2 удалений

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

@ -6065,7 +6065,7 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
rv = NS_NewGrippyFrame(aPresShell, &newFrame);
}
// End of GRIPPY CONSTRUCTION logic
#if 0
else if (aTag != nsHTMLAtoms::html) {
nsCAutoString str("Invalid XUL tag encountered in file. Perhaps you used the wrong namespace?\n\nThe tag name is ");
nsAutoString tagName;
@ -6073,6 +6073,7 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
str.AppendWithConversion(tagName);
NS_ERROR(str);
}
#endif
}
// If we succeeded in creating a frame then initialize it, process its

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

@ -6065,7 +6065,7 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
rv = NS_NewGrippyFrame(aPresShell, &newFrame);
}
// End of GRIPPY CONSTRUCTION logic
#if 0
else if (aTag != nsHTMLAtoms::html) {
nsCAutoString str("Invalid XUL tag encountered in file. Perhaps you used the wrong namespace?\n\nThe tag name is ");
nsAutoString tagName;
@ -6073,6 +6073,7 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
str.AppendWithConversion(tagName);
NS_ERROR(str);
}
#endif
}
// If we succeeded in creating a frame then initialize it, process its