Skip to content

Commit

Permalink
Change preference defaults to match to Android port
Browse files Browse the repository at this point in the history
- layout.imagevisibility.enabled set to true so that we don't
  unnecessarely decode offscreen images
- memory.free_dirty_pages set to true now that jemalloc works
  • Loading branch information
Raine Makelainen committed May 27, 2014
1 parent 618dd3c commit cffc00a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions embedding/embedlite/embedding.js
Expand Up @@ -277,9 +277,9 @@ pref("dom.event.touch.coalescing.enabled", false);

// On memory pressure, release dirty but unused pages held by jemalloc
// back to the system.
pref("memory.free_dirty_pages", false);
pref("memory.free_dirty_pages", true);

pref("layout.imagevisibility.enabled", false);
pref("layout.imagevisibility.enabled", true);

// Enable Web Audio for Firefox for Android in Nightly and Aurora
pref("media.webaudio.enabled", true);
Expand Down

0 comments on commit cffc00a

Please sign in to comment.