mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 697833 - Stop honoring html5.parser.enable. r=Olli.Pettay.
This commit is contained in:
parent
b6321600f2
commit
50699d76e4
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user