Bug 1030420 - Enable compartment-per-addon on Nightly. r=bholley
authorBill McCloskey <wmccloskey@mozilla.com>
Wed, 24 Sep 2014 09:17:34 +0200
changeset 206886 35dcddea2c7a6e8548c2ba34191ec653348f4111
parent 206885 b419fc2a66bc15c994fdfd120b70e06affc4bcc4
child 206887 532ad1c88cfa5ce3f3428c976d0820c9f2185a4b
push id49538
push userbobbyholley@gmail.com
push dateWed, 24 Sep 2014 07:17:45 +0000
treeherdermozilla-inbound@35dcddea2c7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbholley
bugs1030420
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1030420 - Enable compartment-per-addon on Nightly. r=bholley
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -160,17 +160,21 @@ pref("dom.webcrypto.enabled", true);
 #endif
 
 // Whether the UndoManager API is enabled
 pref("dom.undo_manager.enabled", false);
 
 // Whether to run add-on code in different compartments from browser code. This
 // causes a separate compartment for each (addon, global) combination, which may
 // significantly increase the number of compartments in the system.
+#ifdef NIGHTLY_BUILD
+pref("dom.compartment_per_addon", true);
+#else
 pref("dom.compartment_per_addon", false);
+#endif
 
 // Fastback caching - if this pref is negative, then we calculate the number
 // of content viewers to cache based on the amount of available memory.
 pref("browser.sessionhistory.max_total_viewers", -1);
 
 pref("ui.use_native_colors", true);
 pref("ui.click_hold_context_menus", false);
 pref("browser.display.use_document_fonts",  1);  // 0 = never, 1 = quick, 2 = always