XBL groundwork for 41145. r=ben
git-svn-id: svn://10.0.0.236/trunk@72849 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -6065,6 +6065,14 @@ nsCSSFrameConstructor::ConstructXULFrame(nsIPresShell* aPresShell,
|
||||
rv = NS_NewGrippyFrame(aPresShell, &newFrame);
|
||||
}
|
||||
// End of GRIPPY CONSTRUCTION logic
|
||||
|
||||
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;
|
||||
aTag->ToString(tagName);
|
||||
str.AppendWithConversion(tagName);
|
||||
NS_ERROR(str);
|
||||
}
|
||||
}
|
||||
|
||||
// If we succeeded in creating a frame then initialize it, process its
|
||||
|
||||
Reference in New Issue
Block a user