Bug 1216697 - follow-up: enable the dom.requestcache.enabled pref in DOM Cache tests. a=test-only
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 23 Oct 2015 16:39:55 -0400
changeset 296573 326f764f414802512a784d92495702d4fd7407e4
parent 296572 78f1c3caa41494821a560ee02ee938b3183b67c2
child 296574 d67b3103558a21645d4a21593fa0e74f7fd71cbd
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1216697
milestone43.0a2
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();
       });
     });
   }