Bug 1216697 follow-up: enable the dom.requestcache.enabled pref in DOM Cache tests
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 23 Oct 2015 16:39:55 -0400
changeset 304528 95f191207f8d3ea3e9b32145ae197216fd197762
parent 304527 cc0945ec65c682d140c9a6945fe623358817c935
child 304529 53b63a378f8155047b5844ff44ac3d1b73073f53
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1216697
milestone44.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 1216697 follow-up: enable the dom.requestcache.enabled pref in DOM Cache tests
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();
       });
     });
   }