Bug 697833 - Stop honoring html5.parser.enable. r=Olli.Pettay.

This commit is contained in:
Henri Sivonen 2011-10-29 13:51:52 +03:00
parent b6321600f2
commit 50699d76e4
2 changed files with 1 additions and 4 deletions

View File

@ -3329,8 +3329,6 @@ pref("geo.enabled", true);
// Enable/Disable the orientation API for content
pref("device.motion.enabled", true);
// Enable/Disable HTML5 parser
pref("html5.parser.enable", true);
// Toggle which thread the HTML5 parser uses for stream parsing
pref("html5.offmainthread", true);
// Time in milliseconds between the time a network buffer is seen and the

View File

@ -53,7 +53,7 @@
using namespace mozilla;
// static
bool nsHtml5Module::sEnabled = false;
bool nsHtml5Module::sEnabled = true;
bool nsHtml5Module::sOffMainThread = true;
nsIThread* nsHtml5Module::sStreamParserThread = nsnull;
nsIThread* nsHtml5Module::sMainThread = nsnull;
@ -62,7 +62,6 @@ nsIThread* nsHtml5Module::sMainThread = nsnull;
void
nsHtml5Module::InitializeStatics()
{
Preferences::AddBoolVarCache(&sEnabled, "html5.parser.enable");
Preferences::AddBoolVarCache(&sOffMainThread, "html5.offmainthread");
nsHtml5Atoms::AddRefAtoms();
nsHtml5AttributeName::initializeStatics();