1
0
Fork 0
firefox/netwerk/test/unit/test_cache2-00-service-get.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

15 lines
344 B
JavaScript

"use strict";
function run_test() {
// Just check the contract ID alias works well.
try {
var serviceA = Services.cache2;
Assert.ok(serviceA);
var serviceB = Services.cache2;
Assert.ok(serviceB);
Assert.equal(serviceA, serviceB);
} catch (ex) {
do_throw("Cannot instantiate cache storage service: " + ex);
}
}