Don't unblock onload on the document if we no longer have a parser. Bug

375051, r=mbkap, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@225123 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2007-04-27 04:05:08 +00:00
parent 3f6c05c342
commit b230f09954
3 changed files with 7 additions and 0 deletions

View File

@@ -1872,6 +1872,7 @@ HTMLContentSink::DidBuildModel(void)
NS_IMETHODIMP
HTMLContentSink::SetParser(nsIParser* aParser)
{
NS_PRECONDITION(aParser, "Should have a parser here!");
mParser = aParser;
return NS_OK;
}