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 3761c2d08a
commit 88f56acfe2
3 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
<template>&#x000d;#

View File

@ -55,3 +55,4 @@ load 877910.html
load 903106.html
load 916322-1.html
load 916322-2.html
load 1032654.html

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 = {