Bug 1216697 - follow-up: enable the dom.requestcache.enabled pref in DOM Cache tests. a=test-only FIREFOX_RELEASE_42_BASE
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 23 Oct 2015 16:39:55 -0400
changeset 291296 3f2ff85b2f16c1fd161dc5ba77a5f3f2c52fd127
parent 291295 5c768aafbaa70bbb0785b02fd969f7ac7e21df2b
child 291297 08a822633458c0cae9562a78700530aa3ac8133f
child 291354 49dc5844e53736faebcdc56a2b5545292f90f6c6
push id934
push userraliiev@mozilla.com
push dateMon, 26 Oct 2015 12:58:05 +0000
treeherdermozilla-release@05704e35c1d0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1216697
milestone42.0
Bug 1216697 - follow-up: enable the dom.requestcache.enabled pref in DOM Cache tests. a=test-only
dom/cache/test/mochitest/driver.js
--- a/dom/cache/test/mochitest/driver.js
+++ b/dom/cache/test/mochitest/driver.js
@@ -17,16 +17,17 @@
 // when the returned promise is resolved.
 
 function runTests(testFile, order) {
   function setupPrefs() {
     return new Promise(function(resolve, reject) {
       SpecialPowers.pushPrefEnv({
         "set": [["dom.caches.enabled", true],
                 ["dom.caches.testing.enabled", true],
+                ["dom.requestcache.enabled", true],
                 ["dom.serviceWorkers.enabled", true],
                 ["dom.serviceWorkers.testing.enabled", true],
                 ["dom.serviceWorkers.exemptFromPerDomainMax", true]]
       }, function() {
         resolve();
       });
     });
   }