Bug 1570644 - Part 4: Disable LSNG in 69; r=asuth, a=pascalc
authorJan Varga <jan.varga@gmail.com>
Tue, 06 Aug 2019 12:44:38 +0200
changeset 545181 62db9e3b8d6fd773c8b801638ed652dafe4a3ec5
parent 545180 ee83ffabc1095818f78aea985172fb660e0197f8
child 545182 5566b1724de945b950c71b32b64c75b78b58a6b6
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersasuth, pascalc
bugs1570644
milestone69.0
Bug 1570644 - Part 4: Disable LSNG in 69; r=asuth, a=pascalc Differential Revision: https://phabricator.services.mozilla.com/D40797
dom/localstorage/test/unit/test_uri_encoding_edge_cases.js
modules/libpref/init/all.js
--- a/dom/localstorage/test/unit/test_uri_encoding_edge_cases.js
+++ b/dom/localstorage/test/unit/test_uri_encoding_edge_cases.js
@@ -23,16 +23,20 @@ async function testSteps() {
       path: "storage/default/file++++test'.html",
     },
     {
       uri: "file:///test>.html",
       path: "storage/default/file++++test%3E.html",
     },
   ];
 
+  info("Setting prefs");
+
+  Services.prefs.setBoolPref("dom.storage.next_gen", true);
+
   for (let origin of origins) {
     const principal = getPrincipal(origin.uri);
 
     let originDir = getRelativeFile(origin.path);
 
     info("Checking the origin directory existence");
 
     ok(
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1127,17 +1127,18 @@ pref("dom.popup_allowed_events", "change
 pref("dom.disable_open_click_delay", 1000);
 pref("dom.serviceWorkers.disable_open_click_delay", 1000);
 
 pref("dom.storage.enabled", true);
 // Whether or not LSNG (Next Generation Local Storage) is enabled.
 // See bug 1517090 for enabling this on Nightly.
 // See bug 1534736 for changing it to EARLY_BETA_OR_EARLIER.
 // See bug 1539835 for enabling this unconditionally.
-pref("dom.storage.next_gen", true);
+// See bug 1570644 for disabling this in 69.
+pref("dom.storage.next_gen", false);
 pref("dom.storage.default_quota",      5120);
 pref("dom.storage.shadow_writes", true);
 pref("dom.storage.snapshot_prefill", 16384);
 pref("dom.storage.snapshot_gradual_prefill", 4096);
 pref("dom.storage.snapshot_reusing", true);
 pref("dom.storage.client_validation", true);
 
 pref("dom.send_after_paint_to_content", false);