зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1650066 preparation - Add errListUnclosedStartTags for HTML tree builder error reporting. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D122597
This commit is contained in:
Родитель
54015a7af2
Коммит
de1b71fe15
|
@ -129,3 +129,4 @@ errNoCheckUnclosedElementsOnStack=Unclosed elements on stack.
|
|||
errEndTagDidNotMatchCurrentOpenElement=End tag “%1$S” did not match the name of the current open element (“%2$S”).
|
||||
errEndTagViolatesNestingRules=End tag “%1$S” violates nesting rules.
|
||||
errEndWithUnclosedElements=End tag for “%1$S” seen, but there were unclosed elements.
|
||||
errListUnclosedStartTags=Unclosed element or elements.
|
||||
|
|
|
@ -1745,3 +1745,9 @@ void nsHtml5TreeBuilder::errEndWithUnclosedElements(nsAtom* aName) {
|
|||
mViewSource->AddErrorToCurrentRun("errEndWithUnclosedElements", aName);
|
||||
}
|
||||
}
|
||||
|
||||
void nsHtml5TreeBuilder::errListUnclosedStartTags(int32_t aIgnored) {
|
||||
if (MOZ_UNLIKELY(mViewSource)) {
|
||||
mViewSource->AddErrorToCurrentRun("errListUnclosedStartTags");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -233,6 +233,8 @@ void errEndTagViolatesNestingRules(nsAtom* aName);
|
|||
|
||||
void errEndWithUnclosedElements(nsAtom* aName);
|
||||
|
||||
void errListUnclosedStartTags(int32_t aIgnored);
|
||||
|
||||
void MarkAsBroken(nsresult aRv);
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче