Bug 732343 - Defend HTML document loading against extensions causing bogus use of the old HTML parser. r=smaug.

This commit is contained in:
Henri Sivonen
2012-03-31 17:10:34 +03:00
parent 2c70c83a6a
commit 207a09efee
6 changed files with 119 additions and 137 deletions

View File

@@ -49,7 +49,6 @@ class nsHtml5Module
static already_AddRefed<nsIParser> NewHtml5Parser();
static nsresult Initialize(nsIParser* aParser, nsIDocument* aDoc, nsIURI* aURI, nsISupports* aContainer, nsIChannel* aChannel);
static nsIThread* GetStreamParserThread();
static bool sEnabled;
static bool sOffMainThread;
private:
#ifdef DEBUG