Skip to content

Commit

Permalink
EmbedLite does not provide good info about network yet, let's disable…
Browse files Browse the repository at this point in the history
… it for now.
  • Loading branch information
tmeshkova committed Jun 27, 2014
1 parent 7a55d94 commit f647134
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -43,6 +43,7 @@ EmbedLiteAppThreadParent::RecvInitialized()
PR_SetEnv("MOZ_LAYERS_PREFER_OFFSCREEN=1");
mApp->Initialized();
bool accel = mApp->IsAccelerated();
mApp->SetBoolPref("dom.netinfo.enabled", false);
mApp->SetBoolPref("layers.acceleration.disabled", !accel);
mApp->SetBoolPref("layers.acceleration.force-enabled", accel);
mApp->SetBoolPref("layers.async-video.enabled", accel);
Expand Down

0 comments on commit f647134

Please sign in to comment.