test_cache2-00-service-get.js (344B)
1 "use strict"; 2 3 function run_test() { 4 // Just check the contract ID alias works well. 5 try { 6 var serviceA = Services.cache2; 7 Assert.ok(serviceA); 8 var serviceB = Services.cache2; 9 Assert.ok(serviceB); 10 11 Assert.equal(serviceA, serviceB); 12 } catch (ex) { 13 do_throw("Cannot instantiate cache storage service: " + ex); 14 } 15 }