зеркало из https://github.com/mozilla/gecko-dev.git
Bug 981924 - Update ReportToConsole calls in layout code to use the right category. r=dbaron
This commit is contained in:
Родитель
a6741673cf
Коммит
3be514e0be
|
@ -9734,7 +9734,7 @@ nsCSSFrameConstructor::ProcessChildren(nsFrameConstructorState& aState,
|
|||
(display->mDisplay == NS_STYLE_DISPLAY_INLINE_BOX)
|
||||
? "NeededToWrapXULInlineBox" : "NeededToWrapXUL";
|
||||
nsContentUtils::ReportToConsole(nsIScriptError::warningFlag,
|
||||
NS_LITERAL_CSTRING("FrameConstructor"),
|
||||
NS_LITERAL_CSTRING("Layout: FrameConstructor"),
|
||||
mDocument,
|
||||
nsContentUtils::eXUL_PROPERTIES,
|
||||
message,
|
||||
|
|
|
@ -82,7 +82,7 @@ static void logMessage(nsIContent* aContent,
|
|||
nsIDocument* doc = aContent->OwnerDoc();
|
||||
|
||||
nsContentUtils::ReportToConsole(
|
||||
aFlags, NS_LITERAL_CSTRING("ImageMap"), doc,
|
||||
aFlags, NS_LITERAL_CSTRING("Layout: ImageMap"), doc,
|
||||
nsContentUtils::eLAYOUT_PROPERTIES,
|
||||
aMessageName,
|
||||
nullptr, /* params */
|
||||
|
|
|
@ -1542,7 +1542,7 @@ nsMathMLContainerFrame::ReportErrorToConsole(const char* errorMsgId,
|
|||
uint32_t aParamCount)
|
||||
{
|
||||
return nsContentUtils::ReportToConsole(nsIScriptError::errorFlag,
|
||||
NS_LITERAL_CSTRING("MathML"), mContent->OwnerDoc(),
|
||||
NS_LITERAL_CSTRING("Layout: MathML"), mContent->OwnerDoc(),
|
||||
nsContentUtils::eMATHML_PROPERTIES,
|
||||
errorMsgId, aParams, aParamCount);
|
||||
}
|
||||
|
|
|
@ -119,7 +119,7 @@ static nsresult ReportParseError(nsIFrame* aFrame, const char16_t* aAttribute,
|
|||
{ aValue, aAttribute, content->Tag()->GetUTF16String() };
|
||||
|
||||
return nsContentUtils::ReportToConsole(nsIScriptError::errorFlag,
|
||||
NS_LITERAL_CSTRING("MathML"),
|
||||
NS_LITERAL_CSTRING("Layout: MathML"),
|
||||
content->OwnerDoc(),
|
||||
nsContentUtils::eMATHML_PROPERTIES,
|
||||
"AttributeParsingError", params, 3);
|
||||
|
|
Загрузка…
Ссылка в новой задаче