Bug 551344 part 6 - Address more review comments from sicking in the Java parts of the HTML5 parser. r=jonas.

This commit is contained in:
Henri Sivonen
2010-04-19 16:25:13 +03:00
parent 4d410f2cc6
commit 38f1270287
27 changed files with 3558 additions and 3617 deletions

View File

@@ -904,9 +904,7 @@ nsHtml5StreamParser::ContinueAfterScripts(nsHtml5Tokenizer* aTokenizer,
{
mozilla::MutexAutoLock speculationAutoLock(mSpeculationMutex);
if (mSpeculations.IsEmpty()) {
// Not quite sure how exactly this happens...
// Maybe an artifact of defer scripts?
NS_WARNING("ContinueAfterScripts called without speculations.");
NS_NOTREACHED("ContinueAfterScripts called without speculations.");
return;
}
nsHtml5Speculation* speculation = mSpeculations.ElementAt(0);