bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst

git-svn-id: svn://10.0.0.236/trunk@188251 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mrbkap%gmail.com
2006-01-26 19:07:41 +00:00
parent f35c210acb
commit 8b6ba84a47
18 changed files with 38 additions and 465 deletions

View File

@@ -99,9 +99,6 @@ nsresult GenerateBaselineFile(const char* aSourceFilename,const char* aBaselineF
sink->SetOutputStream(outputfile);
// Parse the document, having the sink write the data to fp
nsIDTD* dtd = nsnull;
NS_NewNavHTMLDTD(&dtd);
parser->RegisterDTD(dtd);
parser->SetContentSink(sink);
rv = parser->Parse(inputURI, 0, PR_FALSE, 0, eDTDMode_unknown);