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 3f2ff85b2f16
parent 291295 5c768aafbaa7
child 291297 08a822633458
child 291354 49dc5844e537
push id934
push userraliiev@mozilla.com
push date2015-10-26 12:58 +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();
       });
     });
   }