Bug 1032654 - Remove invalid assertion from HTML parser. r=smaug

This commit is contained in:
William Chen
2014-07-07 18:09:39 -07:00
parent 48163c123b
commit 672980a40c
3 changed files with 2 additions and 1 deletions

View File

@@ -124,7 +124,6 @@ nsHtml5TreeOperation::AppendTextToTextNode(const char16_t* aBuffer,
{
NS_PRECONDITION(aTextNode, "Got null text node.");
MOZ_ASSERT(aBuilder);
MOZ_ASSERT(aBuilder->GetDocument() == aTextNode->OwnerDoc());
MOZ_ASSERT(aBuilder->IsInDocUpdate());
uint32_t oldLength = aTextNode->TextLength();
CharacterDataChangeInfo info = {